@astryx-vue/core 0.7.25 → 0.7.27

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 (380) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog--9IcMdY3.js → AlertDialog-DZpJzvOC.js} +30 -15
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +1 -1
  5. package/dist/{AppShell--izaf9Fx.js → AppShell-D7ik41g-.js} +3 -3
  6. package/dist/Avatar/index.js +1 -1
  7. package/dist/{Avatar-CqPpL59Q.js → Avatar-D_C9RBJb.js} +6 -5
  8. package/dist/AvatarGroup/index.d.ts +1 -1
  9. package/dist/AvatarGroup/index.js +1 -1
  10. package/dist/{AvatarGroup-lmO-a3Eq.js → AvatarGroup-CFvNDgU-.js} +3 -3
  11. package/dist/Badge/index.js +1 -1
  12. package/dist/{Badge-DByZSDmu.js → Badge-BbPS_49c.js} +7 -3
  13. package/dist/Banner/index.d.ts +1 -1
  14. package/dist/Banner/index.js +1 -1
  15. package/dist/{Banner-BpiQjQvG.js → Banner-C1B7DsHS.js} +3 -3
  16. package/dist/BottomSheet/index.js +2 -2
  17. package/dist/{BottomSheet-BKeyoL9N.js → BottomSheet-BECeWtEy.js} +2 -2
  18. package/dist/{BottomSheet-CMukh1iI.js → BottomSheet-CgOzQHaA.js} +4 -2
  19. package/dist/Breadcrumbs/index.js +2 -2
  20. package/dist/{Breadcrumbs-CH-rcc_-.js → Breadcrumbs-BgiZY7un.js} +8 -7
  21. package/dist/Button/index.d.ts +1 -1
  22. package/dist/Button/index.js +1 -1
  23. package/dist/{Button-7W3G5gok.js → Button-DsjdehLZ.js} +179 -17
  24. package/dist/ButtonGroup/index.d.ts +1 -1
  25. package/dist/ButtonGroup/index.js +1 -1
  26. package/dist/{ButtonGroup-UgiGP61q.js → ButtonGroup-CSW7a9vq.js} +14 -2
  27. package/dist/Calendar/index.d.ts +1 -1
  28. package/dist/Calendar/index.js +1 -1
  29. package/dist/{Calendar-DjhwshS8.js → Calendar-Bzgi-XyF.js} +12 -3
  30. package/dist/Card/index.d.ts +1 -1
  31. package/dist/Card/index.js +1 -1
  32. package/dist/{Card-H4571ZKi.js → Card-BbKFHWuD.js} +2 -0
  33. package/dist/Carousel/index.js +1 -1
  34. package/dist/{Carousel-RN3BV6qj.js → Carousel--VycM-Sa.js} +3 -3
  35. package/dist/Chat/index.d.ts +1 -1
  36. package/dist/Chat/index.js +1 -1
  37. package/dist/{Chat-D5cXLYlh.js → Chat-C1DlnlCQ.js} +30 -28
  38. package/dist/CheckboxInput/index.d.ts +1 -1
  39. package/dist/CheckboxInput/index.js +1 -1
  40. package/dist/{CheckboxInput-GFjf15n3.js → CheckboxInput-uk8nuCEf.js} +4 -4
  41. package/dist/CheckboxList/index.d.ts +1 -1
  42. package/dist/CheckboxList/index.js +1 -1
  43. package/dist/{CheckboxList-CJzRo5vd.js → CheckboxList-Dr4kQ-BC.js} +6 -6
  44. package/dist/Citation/index.js +1 -1
  45. package/dist/{Citation-C_XMPOpv.js → Citation-BAFsn6N1.js} +2 -2
  46. package/dist/ClickableCard/index.d.ts +1 -1
  47. package/dist/ClickableCard/index.js +1 -1
  48. package/dist/{ClickableCard-qeVRS9dw.js → ClickableCard-CvxSKkXh.js} +3 -2
  49. package/dist/Code/index.d.ts +1 -1
  50. package/dist/Code/index.js +1 -1
  51. package/dist/{CodeBlock-9NMYGL48.js → CodeBlock-PSnUWX57.js} +5 -3
  52. package/dist/Collapsible/index.d.ts +1 -1
  53. package/dist/Collapsible/index.js +1 -1
  54. package/dist/{Collapsible-CifnTLlc.js → Collapsible-C_tl5-L0.js} +2 -2
  55. package/dist/CommandPalette/index.js +1 -1
  56. package/dist/{CommandPalette-BbGFrwAI.js → CommandPalette-lewtyQrO.js} +7 -7
  57. package/dist/ComplexSelector/index.d.ts +1 -1
  58. package/dist/ComplexSelector/index.js +1 -1
  59. package/dist/{ComplexSelector-DMnzBMY1.js → ComplexSelector-BUnqjeW5.js} +14 -6
  60. package/dist/{ComponentIcon-hPmWTSXE.js → ComponentIcon-BRXBBKeG.js} +1 -1
  61. package/dist/ContextMenu/index.d.ts +1 -1
  62. package/dist/ContextMenu/index.js +2 -2
  63. package/dist/{ContextMenu-BD3pObnQ.js → ContextMenu-IDkvorRp.js} +10 -9
  64. package/dist/DateInput/index.d.ts +1 -1
  65. package/dist/DateInput/index.js +1 -1
  66. package/dist/{DateInput-CYFPGd__.js → DateInput-DTxxFz9-.js} +10 -10
  67. package/dist/DateRangeInput/index.d.ts +1 -1
  68. package/dist/DateRangeInput/index.js +1 -1
  69. package/dist/{DateRangeInput-BOdKqQUw.js → DateRangeInput-D4Us58KW.js} +8 -8
  70. package/dist/DateTimeInput/index.d.ts +1 -1
  71. package/dist/DateTimeInput/index.js +1 -1
  72. package/dist/{DateTimeInput-Bs4T8KWb.js → DateTimeInput-CliLnI7P.js} +9 -9
  73. package/dist/Dialog/index.d.ts +1 -1
  74. package/dist/Dialog/index.js +3 -3
  75. package/dist/{Dialog-vPGLWE3o.js → Dialog-B_s-w66_.js} +1 -1
  76. package/dist/{Dialog-D4V2ZnuS.js → Dialog-BtPktuiy.js} +3 -1
  77. package/dist/{DialogHeader-Dii5B7vE.js → DialogHeader-Hk419KW1.js} +4 -4
  78. package/dist/Drawer/index.d.ts +1 -1
  79. package/dist/Drawer/index.js +1 -1
  80. package/dist/{Drawer-CtuxdSAd.js → Drawer-DoQ9hjKz.js} +2 -2
  81. package/dist/DropdownMenu/index.js +3 -3
  82. package/dist/{DropdownMenu-CXyECszu.js → DropdownMenu-B2iga1fe.js} +18 -13
  83. package/dist/{DropdownMenu-BmAeVIu5.js → DropdownMenu-BF2Z5T4h.js} +9 -9
  84. package/dist/EmptyState/index.js +1 -1
  85. package/dist/{EmptyState-DaVNSbYi.js → EmptyState-v1cvHKav.js} +2 -2
  86. package/dist/Field/index.js +3 -3
  87. package/dist/{Field-CdrGdY7U.js → Field-if5a58LO.js} +2 -2
  88. package/dist/{FieldIcon-BB08VXf7.js → FieldIcon-DMtfe1Ne.js} +1 -1
  89. package/dist/{FieldInfoTip-CPhFmGaY.js → FieldInfoTip-BJAaKJjM.js} +2 -2
  90. package/dist/{FieldLabel-lJ1exgvq.js → FieldLabel-C-IaUcP4.js} +3 -3
  91. package/dist/FieldStatus/index.js +1 -1
  92. package/dist/{FieldStatus-CR-cK1rW.js → FieldStatus-DSUCli4W.js} +1 -1
  93. package/dist/FileInput/index.d.ts +1 -1
  94. package/dist/FileInput/index.js +1 -1
  95. package/dist/{FileInput-C85funO_.js → FileInput-0zBWfO8h.js} +8 -8
  96. package/dist/Grid/index.d.ts +1 -1
  97. package/dist/Grid/index.js +1 -1
  98. package/dist/{Grid-D1onTzyC.js → Grid-C0mp7fha.js} +1 -1
  99. package/dist/Heading/index.d.ts +1 -1
  100. package/dist/Heading/index.js +1 -1
  101. package/dist/Heading-C10qO8wg.js +114 -0
  102. package/dist/HoverCard/index.js +1 -1
  103. package/dist/{HoverCard-B9uadAzT.js → HoverCard-CLcbBLBN.js} +4 -3
  104. package/dist/Icon/index.js +1 -1
  105. package/dist/{Icon-DAcZMgiJ.js → Icon-BCHo7W0x.js} +1 -1
  106. package/dist/IconButton/index.js +1 -1
  107. package/dist/{IconButton-Cn4re9lo.js → IconButton-Crtfruc0.js} +1 -1
  108. package/dist/Indicator/index.js +1 -1
  109. package/dist/InfoTip/index.d.ts +1 -1
  110. package/dist/InfoTip/index.js +1 -1
  111. package/dist/{InfoTip-CQmrs5nz.js → InfoTip-DNQy7wqB.js} +3 -3
  112. package/dist/{InputClearButton-gGlttFrg.js → InputClearButton-DhvxPkK6.js} +3 -3
  113. package/dist/InputGroup/index.js +1 -1
  114. package/dist/{InputGroup-DQpDwkjF.js → InputGroup-B1kG0rBN.js} +22 -5
  115. package/dist/InternationalizationProvider/index.d.ts +1 -1
  116. package/dist/InternationalizationProvider/index.js +1 -1
  117. package/dist/{InternationalizationProvider-CWJDt7Qb.js → InternationalizationProvider-CUEIHCf4.js} +3 -3
  118. package/dist/{Item-Dbf2g0Ee.js → Item-Cfv4ALls.js} +5 -2
  119. package/dist/Kbd/index.js +1 -1
  120. package/dist/{Kbd-Dn1LTcNY.js → Kbd-DyxKNYtE.js} +41 -30
  121. package/dist/Layout/index.js +2 -2
  122. package/dist/{Layout-mHcy28k7.js → Layout-OHKb6r7D.js} +8 -5
  123. package/dist/{LayoutPanel-DpbBk6rj.js → LayoutPanel-D-rpTtC-.js} +6 -3
  124. package/dist/Lightbox/index.js +1 -1
  125. package/dist/{Lightbox-Duz-OrsN.js → Lightbox-B8uMFPOS.js} +96 -17
  126. package/dist/Link/index.d.ts +1 -1
  127. package/dist/Link/index.js +1 -1
  128. package/dist/{Link-C0NPH_Zy.js → Link-Kc2RQFHc.js} +4 -4
  129. package/dist/List/index.d.ts +1 -1
  130. package/dist/List/index.js +2 -2
  131. package/dist/{ListItem-C8F4r-3e.js → ListItem-2evjQQ7n.js} +1 -1
  132. package/dist/Markdown/index.js +2 -2
  133. package/dist/{Markdown-B0K6WhMg.js → Markdown-NVkHi_tk.js} +6 -6
  134. package/dist/MetadataList/index.js +1 -1
  135. package/dist/{MetadataList-wOngshS5.js → MetadataList-4GnMi6s9.js} +1 -1
  136. package/dist/MobileNav/index.js +1 -1
  137. package/dist/{MobileNavToggle-C8KAzhRl.js → MobileNavToggle-TMDrnXfG.js} +2 -2
  138. package/dist/MoreMenu/index.d.ts +1 -1
  139. package/dist/MoreMenu/index.js +1 -1
  140. package/dist/{MoreMenu-CPp7nRqq.js → MoreMenu-CpGEXWCd.js} +10 -10
  141. package/dist/MultiSelector/index.d.ts +1 -1
  142. package/dist/MultiSelector/index.js +1 -1
  143. package/dist/{MultiSelector-EuMT3jk8.js → MultiSelector-Baca6xNx.js} +12 -12
  144. package/dist/{NavDisclosure-BbRWuyhq.js → NavDisclosure-DG4jls5z.js} +1 -1
  145. package/dist/{NavHeadingSurface-DemUziLF.js → NavHeadingSurface-j2gzMVKt.js} +3 -3
  146. package/dist/NavItem/index.d.ts +1 -1
  147. package/dist/NavItem/index.js +1 -1
  148. package/dist/{NavItem-B_c92jqW.js → NavItem-BZLN0U5a.js} +1 -1
  149. package/dist/NavMenu/index.js +3 -3
  150. package/dist/{NavMenu-mZVfqNxt.js → NavMenu-t7WN2bcq.js} +1 -1
  151. package/dist/{NavMenuItem-Crc0y9_s.js → NavMenuItem-DIMQohIa.js} +2 -2
  152. package/dist/NumberInput/index.d.ts +1 -1
  153. package/dist/NumberInput/index.js +1 -1
  154. package/dist/{NumberInput-nhsOtHSM.js → NumberInput-BBFGZ4Fg.js} +17 -8
  155. package/dist/Outline/index.js +1 -1
  156. package/dist/{Outline-CXQKfopf.js → Outline-BgDOI3ar.js} +3 -3
  157. package/dist/OverflowList/index.d.ts +1 -1
  158. package/dist/OverflowList/index.js +1 -1
  159. package/dist/{OverflowList-BGHiFBEV.js → OverflowList-D4fC5s_q.js} +3 -3
  160. package/dist/Pagination/index.d.ts +1 -1
  161. package/dist/Pagination/index.js +1 -1
  162. package/dist/{Pagination-DtItBecM.js → Pagination-Do_MIlo4.js} +16 -4
  163. package/dist/Popover/index.d.ts +1 -1
  164. package/dist/Popover/index.js +1 -1
  165. package/dist/{Popover-DE_a8vx0.js → Popover-Bd93LlDd.js} +7 -7
  166. package/dist/PowerSearch/index.d.ts +1 -1
  167. package/dist/PowerSearch/index.js +1 -1
  168. package/dist/{PowerSearch-BPqinhNg.js → PowerSearch-DyqItMHo.js} +110 -41
  169. package/dist/ProgressBar/index.d.ts +1 -1
  170. package/dist/ProgressBar/index.js +1 -1
  171. package/dist/{ProgressBar-Dt5AS0GY.js → ProgressBar-gsm2A_cR.js} +1 -1
  172. package/dist/Radio/index.d.ts +1 -1
  173. package/dist/Radio/index.js +1 -1
  174. package/dist/{RadioGroup-DgD_qw8h.js → RadioGroup-Dzp4qSgm.js} +4 -4
  175. package/dist/RadioList/index.d.ts +1 -1
  176. package/dist/RadioList/index.js +1 -1
  177. package/dist/{RadioList-BTfVjABV.js → RadioList-CAIgB1j_.js} +1 -1
  178. package/dist/Resizable/index.d.ts +1 -1
  179. package/dist/Resizable/index.js +1 -1
  180. package/dist/{ResizeHandle-5JnYYMyi.js → ResizeHandle-GAmiHb0-.js} +1 -1
  181. package/dist/ScrollableArea/index.d.ts +1 -1
  182. package/dist/SegmentedControl/index.js +1 -1
  183. package/dist/{SegmentedControl-BOFsp4zL.js → SegmentedControl-Bs74LlvS.js} +3 -2
  184. package/dist/SelectableCard/index.d.ts +1 -1
  185. package/dist/SelectableCard/index.js +1 -1
  186. package/dist/{SelectableCard-DkAtLqr0.js → SelectableCard-BFCwgtWf.js} +3 -2
  187. package/dist/Selector/index.d.ts +1 -1
  188. package/dist/Selector/index.js +1 -1
  189. package/dist/{Selector-Bb0Tw0IX.js → Selector-B9lINQRM.js} +11 -10
  190. package/dist/SideNav/index.d.ts +1 -1
  191. package/dist/SideNav/index.js +1 -1
  192. package/dist/{SideNav-woP0TsbV.js → SideNav-DzZ12DIq.js} +8 -8
  193. package/dist/Slider/index.js +1 -1
  194. package/dist/{Slider-DPNiq0HG.js → Slider-Cuk2ul9w.js} +3 -3
  195. package/dist/Spinner/index.js +1 -1
  196. package/dist/{Spinner-CTWLR75x.js → Spinner-ke63bQPv.js} +1 -1
  197. package/dist/StatusDot/index.js +1 -1
  198. package/dist/{StatusDot-Bu_nCu0I.js → StatusDot-DF5wK42f.js} +1 -1
  199. package/dist/Stepper/index.d.ts +1 -1
  200. package/dist/Stepper/index.js +1 -1
  201. package/dist/{Stepper-Ca1DQGyG.js → Stepper-C68f_iJG.js} +3 -3
  202. package/dist/Switch/index.d.ts +1 -1
  203. package/dist/Switch/index.js +1 -1
  204. package/dist/{Switch-yKKscO-i.js → Switch-bnxiN6Qe.js} +4 -4
  205. package/dist/TabList/index.d.ts +1 -1
  206. package/dist/TabList/index.js +1 -1
  207. package/dist/{TabList-cg8Mrbs_.js → TabList-8dlO0Ws6.js} +12 -7
  208. package/dist/Table/index.d.ts +1 -1
  209. package/dist/Table/index.js +1 -1
  210. package/dist/{Table-rUgNSJgQ.js → Table-j_DCDbcI.js} +93 -44
  211. package/dist/Text/index.d.ts +2 -2
  212. package/dist/Text/index.js +3 -2
  213. package/dist/{Text-BShV9dky.js → Text-WB-fpFne.js} +32 -29
  214. package/dist/TextArea/index.d.ts +1 -1
  215. package/dist/TextArea/index.js +1 -1
  216. package/dist/{TextArea-D8703Iin.js → TextArea-Bzz_KcKT.js} +10 -10
  217. package/dist/TextInput/index.d.ts +1 -1
  218. package/dist/TextInput/index.js +1 -1
  219. package/dist/{TextInput-C3TcHG4h.js → TextInput-givkH9HQ.js} +9 -9
  220. package/dist/Theme/index.js +1 -1
  221. package/dist/{Theme-DkFv7FGK.js → Theme-BQe--DY6.js} +19 -6
  222. package/dist/Thumbnail/index.js +1 -1
  223. package/dist/{Thumbnail-7hvPR8TA.js → Thumbnail-CZOWP5HN.js} +6 -6
  224. package/dist/{TimeField-D2vnhUvT.js → TimeField-ByoS5s_I.js} +8 -8
  225. package/dist/TimeInput/index.d.ts +1 -1
  226. package/dist/TimeInput/index.js +1 -1
  227. package/dist/{TimeInput-D31lgw-s.js → TimeInput-D9kvMQso.js} +2 -2
  228. package/dist/Timer/index.js +1 -1
  229. package/dist/{Timer-D0A9hh4O.js → Timer-BD2gSoQ3.js} +1 -1
  230. package/dist/Timestamp/index.d.ts +1 -1
  231. package/dist/Timestamp/index.js +1 -1
  232. package/dist/{Timestamp-BCYaQaDQ.js → Timestamp-CEdNhKc5.js} +5 -5
  233. package/dist/Toast/index.js +1 -1
  234. package/dist/{Toast-BpumSIBN.js → Toast-CnZrcU-G.js} +4 -4
  235. package/dist/ToggleButton/index.d.ts +1 -1
  236. package/dist/ToggleButton/index.js +1 -1
  237. package/dist/{ToggleButton-DYGsPjtx.js → ToggleButton-BMn4yJXe.js} +27 -8
  238. package/dist/Token/index.d.ts +1 -1
  239. package/dist/Token/index.js +1 -1
  240. package/dist/{Token-DV53YBsy.js → Token-DWCDMawn.js} +96 -28
  241. package/dist/Tokenizer/index.d.ts +1 -1
  242. package/dist/Tokenizer/index.js +1 -1
  243. package/dist/{Tokenizer-DlptPLpP.js → Tokenizer-R0eC1BOk.js} +92 -9
  244. package/dist/Toolbar/index.d.ts +1 -1
  245. package/dist/Toolbar/index.js +1 -1
  246. package/dist/{Toolbar-D5UI1JLe.js → Toolbar-BH_E0F0G.js} +4 -1
  247. package/dist/Tooltip/index.js +2 -2
  248. package/dist/{Tooltip-BfKegFfq.js → Tooltip-CGHpFMnc.js} +1 -1
  249. package/dist/TopNav/index.d.ts +1 -1
  250. package/dist/TopNav/index.js +1 -1
  251. package/dist/{TopNav-ZTKVEADp.js → TopNav-DHunql9h.js} +7 -7
  252. package/dist/TreeList/index.js +1 -1
  253. package/dist/{TreeList-CLWHRRDM.js → TreeList-Dg5gtkOu.js} +6 -4
  254. package/dist/Typeahead/index.d.ts +1 -1
  255. package/dist/Typeahead/index.js +2 -2
  256. package/dist/{Typeahead-Dd8pq0fI.js → Typeahead-BkmCC6DX.js} +47 -24
  257. package/dist/{TypeaheadMenu-Bu9HO-wZ.js → TypeaheadMenu-CFeJCv-6.js} +1 -1
  258. package/dist/composables/index.d.ts +2 -2
  259. package/dist/composables/index.js +12 -9
  260. package/dist/{composables-DamLUqw3.js → composables-DqJzanJ5.js} +5 -24
  261. package/dist/{context-BLSiTojH.js → context-CV6TrhJY.js} +57 -3
  262. package/dist/context-CZP3jfy-.js +125 -0
  263. package/dist/{context-Bv6lAoqu.js → context-CjX2RSDn.js} +14 -2
  264. package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
  265. package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
  266. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  267. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  268. package/dist/{index-EvhMa33P.d.ts → index-BSlzqFzV.d.ts} +10 -5
  269. package/dist/{index-DEQ5cnUV.d.ts → index-BTljzczH.d.ts} +4 -1
  270. package/dist/{index-D4BeRDzX.d.ts → index-Be7N3B5F.d.ts} +3 -3
  271. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  272. package/dist/{index-CFm1rPma.d.ts → index-BjbPK91B.d.ts} +1 -1
  273. package/dist/{index-UFlyBbRd.d.ts → index-C3f1zsJR.d.ts} +2 -2
  274. package/dist/{index-D97pQbua.d.ts → index-C89cIh4E.d.ts} +3 -5
  275. package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
  276. package/dist/{index--uIQXVJ7.d.ts → index-CM8KfpBL.d.ts} +2 -2
  277. package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
  278. package/dist/index-CtYlR9Cu.d.ts +46 -0
  279. package/dist/{index-Uh-ddE5F.d.ts → index-D21zdEgS.d.ts} +1 -1
  280. package/dist/{index-CCYGMtZy.d.ts → index-D4zmrP2a.d.ts} +65 -65
  281. package/dist/{index-DX4HQToB.d.ts → index-D6pP-H_N.d.ts} +1 -1
  282. package/dist/{index-DAs54mND.d.ts → index-DCU6dy7n.d.ts} +12 -2
  283. package/dist/{index-MEix_m1o.d.ts → index-DaXzQxos.d.ts} +2 -2
  284. package/dist/{index-Ds4OafGN.d.ts → index-DkF8wxHr.d.ts} +4 -4
  285. package/dist/{index-BnEhvmdR.d.ts → index-DyALKpjX.d.ts} +6 -4
  286. package/dist/{index-DZKv1WNB.d.ts → index-IfiA8CSr.d.ts} +3 -3
  287. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  288. package/dist/{index-CEHqYyz5.d.ts → index-_VG-Bc2K.d.ts} +4 -4
  289. package/dist/{index-HLkEFNeu.d.ts → index-gw92L7ZG.d.ts} +13 -3
  290. package/dist/{index-GksCg4a4.d.ts → index-rbhycKiu.d.ts} +4 -4
  291. package/dist/{index-Cy1rEWC-.d.ts → index-rszZajcw.d.ts} +1 -1
  292. package/dist/index.d.ts +31 -31
  293. package/dist/index.js +128 -124
  294. package/dist/layerSurfacePress-C3PjPpJP.js +29 -0
  295. package/dist/{loadCatalog-85MyL2bm.js → loadCatalog-Bulk4H7U.js} +2 -2
  296. package/dist/{loadCatalog-DSRSkHnY.d.ts → loadCatalog-D_uf2uX1.d.ts} +36 -0
  297. package/dist/locale/index.d.ts +2 -2
  298. package/dist/locale/index.js +4 -4
  299. package/dist/{locale-C7RSY-JG.js → locale-BA52q_fh.js} +1 -1
  300. package/dist/{usePressFeedback-Dt76SpLj.js → pressFeedback-Bwwpex9q.js} +11 -49
  301. package/dist/{searchResultMessage-U_4q8zX3.js → searchResultMessage-CFmIy2Da.js} +2 -2
  302. package/dist/{sharedResizeObserver-9EFWnSWH.js → sharedResizeObserver-BekhnB3E.js} +5 -1
  303. package/dist/slotContent-CNWOrGOr.js +14 -0
  304. package/dist/{slug-DAK6hdbr.js → slug-D6ln5PTq.js} +3 -1
  305. package/dist/strayClick-CY-_ImKv.js +60 -0
  306. package/dist/textDirection-D4ObTwbB.js +32 -0
  307. package/dist/tooltipTriggerRules-Bg4tG8w2.js +53 -0
  308. package/dist/unicodeRegExp-B7yQnpFC.js +14 -0
  309. package/dist/{upstreamMap-CZUPxbc9.js → upstreamMap-DrkVNtXW.js} +2 -0
  310. package/dist/useActionGroupTracking-BncJjk1A.js +131 -0
  311. package/dist/{useAnchoredListbox-6t5zSSz1.js → useAnchoredListbox-9Gn8asBR.js} +3 -2
  312. package/dist/useCoarsePointer-GItEMrjX.js +21 -0
  313. package/dist/{usePositionedLayer-psKf3ano.js → useDismiss-0-Z-9D0A.js} +52 -52
  314. package/dist/{useFileSelection-BPtaegqK.js → useFileSelection-B44UpbvF.js} +14 -4
  315. package/dist/{useIndicator-DGWEjVpB.js → useIndicator--9mGGlT2.js} +2 -2
  316. package/dist/{useInputContainer-BP3u3hGz.js → useInputContainer-BpLtCA-U.js} +1 -1
  317. package/dist/{useInputStatusIcon-CTF4yF3e.js → useInputStatusIcon-DCnx00BM.js} +2 -2
  318. package/dist/{useLayer-Byjda3dD.js → useLayer-CED-g4Q2.js} +1 -1
  319. package/dist/{useMenuDrillIn-DJ4U_hF7.js → useMenuDrillIn-C5eJCuO1.js} +2 -2
  320. package/dist/{useMenuPress-8foxY8z4.js → useMenuPress-BLPwY_m1.js} +2 -59
  321. package/dist/usePressFeedback-Bcjsw9vv.js +49 -0
  322. package/dist/{useTooltip-BKsCTWdb.js → useTooltip-D8Tq7-yd.js} +36 -22
  323. package/dist/{useTranslator-BDUOzbP_.js → useTranslator-Q85hi4qz.js} +2 -2
  324. package/dist/useTruncation-C4pdlaXa.js +135 -0
  325. package/dist/useTruncationTooltip-BNk2xslw.js +106 -0
  326. package/dist/utils/index.js +1 -1
  327. package/dist/{utils-DsFqXaGf.js → utils-BTkg5Ie9.js} +2 -1
  328. package/locales/en.json +8 -0
  329. package/package.json +1 -1
  330. package/styles/alert-dialog.css +19 -0
  331. package/styles/badge.css +7 -2
  332. package/styles/banner.css +6 -0
  333. package/styles/button-group.css +17 -0
  334. package/styles/button.css +13 -4
  335. package/styles/calendar.css +38 -0
  336. package/styles/chat.css +4 -0
  337. package/styles/checkbox-indicator.css +9 -9
  338. package/styles/checkbox-input.css +4 -1
  339. package/styles/code.css +4 -1
  340. package/styles/context-menu.css +4 -0
  341. package/styles/dialog-header.css +2 -0
  342. package/styles/dropdown-menu.css +2 -0
  343. package/styles/empty-state.css +2 -0
  344. package/styles/field.css +2 -0
  345. package/styles/heading.css +4 -0
  346. package/styles/hover-card.css +2 -0
  347. package/styles/input-group.css +1 -0
  348. package/styles/layer.css +2 -0
  349. package/styles/lightbox.css +78 -0
  350. package/styles/link.css +5 -0
  351. package/styles/list.css +10 -1
  352. package/styles/markdown.css +1 -0
  353. package/styles/metadata-list.css +1 -1
  354. package/styles/more-menu.css +7 -0
  355. package/styles/multi-selector.css +2 -0
  356. package/styles/pagination.css +1 -0
  357. package/styles/power-search.css +2 -0
  358. package/styles/radio-indicator.css +21 -4
  359. package/styles/segmented-control.css +1 -0
  360. package/styles/side-nav.css +1 -0
  361. package/styles/slider.css +3 -0
  362. package/styles/stepper.css +1 -0
  363. package/styles/switch.css +2 -1
  364. package/styles/tab-list.css +3 -0
  365. package/styles/table.css +4 -1
  366. package/styles/text-area.css +1 -0
  367. package/styles/text-input.css +1 -0
  368. package/styles/text.css +8 -0
  369. package/styles/theme.css +5 -1
  370. package/styles/toast.css +2 -0
  371. package/styles/toggle-button.css +17 -0
  372. package/styles/token.css +14 -9
  373. package/styles/tokenizer.css +1 -0
  374. package/styles/toolbar.css +19 -0
  375. package/dist/Heading-D0zL1j5T.js +0 -99
  376. package/dist/context-B6UElI5X.js +0 -5
  377. package/dist/index-LySSG_PR.d.ts +0 -27
  378. package/dist/useTruncation-C02rA1-c.js +0 -102
  379. package/dist/{index-BJ9Wim6J.d.ts → index-BqhgeAT4.d.ts} +1 -1
  380. package/dist/{useRestoreFocus-XEKs5-gp.js → useRestoreFocus-CEG0n2AK.js} +1 -1
@@ -1,2 +1,2 @@
1
- import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-CCYGMtZy.js";
1
+ import { $n as SwitchStatusType, Gn as SwitchChangeEvent, Jn as SwitchLabelSpacing, Kn as SwitchEmits, Qn as SwitchStatus, Un as _default, Wn as SwitchChangeAction, Xn as SwitchSize, Yn as SwitchProps, Zn as SwitchSlots, qn as SwitchLabelPosition } from "../index-D4zmrP2a.js";
2
2
  export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Switch-yKKscO-i.js";
1
+ import { t as _sfc_main } from "../Switch-bnxiN6Qe.js";
2
2
  export { _sfc_main as Switch };
@@ -1,12 +1,12 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
1
+ import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
2
2
  import { t as _sfc_main$1 } from "./VisuallyHidden-cpmsV-0M.js";
3
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
4
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
5
5
  import { t as useAnnounce } from "./announce-B210eJVf.js";
6
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
6
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
7
7
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
8
- import { t as _sfc_main$3 } from "./FieldLabel-lJ1exgvq.js";
9
- import { t as _sfc_main$4 } from "./FieldStatus-CR-cK1rW.js";
8
+ import { t as _sfc_main$3 } from "./FieldLabel-C-IaUcP4.js";
9
+ import { t as _sfc_main$4 } from "./FieldStatus-DSUCli4W.js";
10
10
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
11
11
  import "../styles/switch.css";
12
12
  //#region src/Switch/useSwitchAction.ts
@@ -1,2 +1,2 @@
1
- import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index--uIQXVJ7.js";
1
+ import { a as TabListLayout, c as TabListSize, d as TabMenuProps, f as TabProps, i as TabListEdgeCompensation, l as TabListTab, n as _default$1, o as TabListOverflow, p as TabSlots, r as _default, s as TabListProps, t as _default$2, u as TabMenuOption } from "../index-CM8KfpBL.js";
2
2
  export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-cg8Mrbs_.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-8dlO0Ws6.js";
2
2
  export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
@@ -1,15 +1,16 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dt76SpLj.js";
1
+ import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
2
+ import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
2
3
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
3
- import { t as _sfc_main$3 } from "./Icon-DAcZMgiJ.js";
4
+ import { t as _sfc_main$3 } from "./Icon-BCHo7W0x.js";
4
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
6
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
7
+ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-0-Z-9D0A.js";
6
8
  import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
7
- import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-psKf3ano.js";
8
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
9
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
9
10
  import { t as useListFocus } from "./useListFocus-CbHkLT-X.js";
10
11
  import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
11
12
  import { n as isNavigableHref } from "./link-DuuA2eCL.js";
12
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, watch, withCtx, withModifiers } from "vue";
13
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, watch, withCtx, withModifiers } from "vue";
13
14
  import "../styles/layer.css";
14
15
  import "../styles/visually-hidden-utility.css";
15
16
  import "../styles/tab-list.css";
@@ -62,11 +63,15 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
62
63
  },
63
64
  setup(__props) {
64
65
  const props = __props;
66
+ const slots = useSlots();
65
67
  const context = useTabListContext();
66
68
  const linkComponent = useLinkComponent();
67
69
  const rootRef = ref();
68
70
  const isTabsPattern = computed(() => context.isTabsPattern.value);
69
71
  const isSelected = computed(() => context.value.value === props.value);
72
+ function iconSlot() {
73
+ return isSelected.value && hasSlotContent(slots.selectedIcon) ? "selectedIcon" : "icon";
74
+ }
70
75
  const tabIndex = computed(() => isSelected.value && !props.disabled ? 0 : -1);
71
76
  const { pressableProps } = usePressFeedback({ hasOverlay: false });
72
77
  const isLink = computed(() => !isTabsPattern.value && isNavigableHref(props.href, props.disabled));
@@ -142,9 +147,9 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
142
147
  onKeydown: handleKeydown
143
148
  }), {
144
149
  default: withCtx(() => [
145
- _ctx.$slots.icon || _ctx.$slots.selectedIcon ? (openBlock(), createElementBlock("span", _hoisted_1$1, [isSelected.value && _ctx.$slots.selectedIcon ? renderSlot(_ctx.$slots, "selectedIcon", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1)])) : createCommentVNode("v-if", true),
150
+ unref(hasSlotContent)(_ctx.$slots[iconSlot()]) ? (openBlock(), createElementBlock("span", _hoisted_1$1, [renderSlot(_ctx.$slots, iconSlot())])) : createCommentVNode("v-if", true),
146
151
  createElementVNode("span", { class: normalizeClass(["astryx-tab__label", { "astryx-visually-hidden": __props.isLabelHidden }]) }, [createElementVNode("span", _hoisted_2$1, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])]), !__props.isLabelHidden ? (openBlock(), createElementBlock("span", _hoisted_3$1, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])])) : createCommentVNode("v-if", true)], 2),
147
- _ctx.$slots.endContent ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "endContent")])) : createCommentVNode("v-if", true)
152
+ unref(hasSlotContent)(_ctx.$slots.endContent) ? (openBlock(), createElementBlock("span", _hoisted_4$1, [renderSlot(_ctx.$slots, "endContent")])) : createCommentVNode("v-if", true)
148
153
  ]),
149
154
  _: 3
150
155
  }, 16, [
@@ -1,3 +1,3 @@
1
- import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-CCYGMtZy.js";
1
+ import { $t as TableSemanticRowStatus, An as columnResizeStep, At as _default$4, Bn as resolveColumnFloorWidths, Bt as useTableTreeState, Cn as useTableColumnSettings, Dn as UseTableColumnResizeConfig, Dt as _default$7, En as ColumnResizeSnapshot, Fn as cellText, Ft as TableTreeRowMeta, Gt as useTableStickyColumns, Hn as sortRows, Ht as UseTableStickyColumnsConfig, In as generateColumns, It as UseTableTreeDataConfig, Jt as useTableSortableState, Kt as UseTableSortableConfig, Ln as paginateData, Lt as UseTableTreeStateConfig, Mn as resizeColumnWidths, Mt as _default$2, Nn as useTableColumnResize, Nt as _default$1, On as columnResizeDirectionSign, Ot as _default$6, Pn as capitalize, Pt as _default, Qt as TableRowStatusName, Rn as pixel, Rt as flattenTree, Sn as UseTableColumnSettingsConfig, Tn as ColumnResizePlan, Ut as resolveStickySide, Vn as resolveColumnWidths, Vt as StickySide, Wt as stickyOffsets, Xt as TableRowStatus, Yt as TableCustomRowStatus, Zt as TableRowStatusColor, _n as applyTableFilters, an as useTableRowExpansion, bn as ColumnSettingsOption, cn as useTablePagination, dn as buildGroupedRows, en as UseTableRowStatusConfig, fn as isTableGroupHeader, gn as UseTableFilteringConfig, hn as UseTableFilterStateOptions, in as UseTableRowExpansionConfig, jn as isProportionalColumnWidth, jt as _default$3, kn as columnResizeMinWidth, kt as _default$5, ln as isInteractiveRowClick, mn as TableFilterStateHandle, nn as UseTableRowIndexConfig, on as TablePaginationVariant, pn as useTableGroupedRows, qt as useTableSortable, rn as useTableRowIndex, sn as UseTablePaginationConfig, tn as useTableRowStatus, un as UseTableGroupedRowsConfig, vn as useTableFilterState, wn as useTableColumnSettingsState, xn as TableColumnSettingsState, yn as useTableFiltering, zn as proportional, zt as useTableTreeData } from "../index-D4zmrP2a.js";
2
2
  import { A as TablePanelPatch, B as TableSortDirection, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowPatch, G as TableSelectedKeysSetter, H as TableSortState, I as TableRowProps, J as UseTableSelectionStateConfig, K as TableSelectionState, L as TableSelectionToolbarProps, M as TableProps, N as TableRowListeners, O as TableGroupPatch, P as TableRowMenuItem, R as TableSelectionToolbarSlots, S as TableDividers, T as TableFilterState, U as TableTextOverflow, V as TableSortEntry, W as TableVerticalAlign, X as useTableSelectionState, Y as useTableSelection, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePlugin, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as UseTableSelectionConfig, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign } from "../useResizable-fEGAFziz.js";
3
3
  export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,2 +1,2 @@
1
- import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-rUgNSJgQ.js";
1
+ import { A as useTableColumnSettings, B as generateColumns, C as isInteractiveRowClick, D as applyTableFilters, E as useTableGroupedRows, F as isProportionalColumnWidth, G as resolveColumnWidths, H as pixel, I as resizeColumnWidths, K as sortRows, L as useTableColumnResize, M as columnResizeDirectionSign, N as columnResizeMinWidth, O as useTableFilterState, P as columnResizeStep, R as capitalize, S as useTablePagination, T as isTableGroupHeader, U as proportional, V as paginateData, W as resolveColumnFloorWidths, _ as useTableSelection, a as _sfc_main$3, b as useTableRowIndex, c as _sfc_main, d as useTableTreeState, f as resolveStickySide, g as useTableSortableState, h as useTableSortable, i as _sfc_main$4, j as useTableColumnSettingsState, k as useTableFiltering, l as flattenTree, m as useTableStickyColumns, n as _sfc_main$6, o as _sfc_main$2, p as stickyOffsets, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableTreeData, v as useTableSelectionState, w as buildGroupedRows, x as useTableRowExpansion, y as useTableRowStatus, z as cellText } from "../Table-j_DCDbcI.js";
2
2
  export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableFilterState, useTableFiltering, useTableGroupedRows, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
@@ -1,23 +1,23 @@
1
- import { t as _sfc_main$15 } from "./Icon-DAcZMgiJ.js";
2
- import { t as _sfc_main$16 } from "./VisuallyHidden-cpmsV-0M.js";
3
- import { t as _sfc_main$17 } from "./Button-7W3G5gok.js";
1
+ import { t as _sfc_main$15 } from "./Icon-BCHo7W0x.js";
2
+ import { i as _sfc_main$17, r as useCutTextOnKeyboardFocus, t as _sfc_main$16 } from "./Button-DsjdehLZ.js";
4
3
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
4
+ import { t as _sfc_main$18 } from "./VisuallyHidden-cpmsV-0M.js";
5
5
  import { n as firstCharacter } from "./characters-wTnzjkkR.js";
6
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
7
- import { n as useCollator } from "./locale-C7RSY-JG.js";
6
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
7
+ import { n as useCollator } from "./locale-BA52q_fh.js";
8
8
  import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
9
- import { t as _sfc_main$18 } from "./Tooltip-BfKegFfq.js";
9
+ import { t as _sfc_main$19 } from "./Tooltip-CGHpFMnc.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
11
- import { t as _sfc_main$19 } from "./CheckboxInput-GFjf15n3.js";
12
- import { t as _sfc_main$20 } from "./ComponentIcon-hPmWTSXE.js";
13
- import { t as _sfc_main$21 } from "./Popover-DE_a8vx0.js";
14
- import { t as _sfc_main$22 } from "./DateInput-CYFPGd__.js";
15
- import { t as _sfc_main$23 } from "./MultiSelector-EuMT3jk8.js";
16
- import { t as _sfc_main$24 } from "./NumberInput-nhsOtHSM.js";
17
- import { t as _sfc_main$25 } from "./Pagination-DtItBecM.js";
18
- import { t as _sfc_main$26 } from "./Selector-Bb0Tw0IX.js";
19
- import { t as _sfc_main$27 } from "./TextInput-C3TcHG4h.js";
20
- import { t as _sfc_main$28 } from "./Toolbar-D5UI1JLe.js";
11
+ import { t as _sfc_main$20 } from "./CheckboxInput-uk8nuCEf.js";
12
+ import { t as _sfc_main$21 } from "./ComponentIcon-BRXBBKeG.js";
13
+ import { t as _sfc_main$22 } from "./Popover-Bd93LlDd.js";
14
+ import { t as _sfc_main$23 } from "./DateInput-DTxxFz9-.js";
15
+ import { t as _sfc_main$24 } from "./MultiSelector-Baca6xNx.js";
16
+ import { t as _sfc_main$25 } from "./NumberInput-BBFGZ4Fg.js";
17
+ import { t as _sfc_main$26 } from "./Pagination-Do_MIlo4.js";
18
+ import { t as _sfc_main$27 } from "./Selector-B9lINQRM.js";
19
+ import { t as _sfc_main$28 } from "./TextInput-givkH9HQ.js";
20
+ import { t as _sfc_main$29 } from "./Toolbar-BH_E0F0G.js";
21
21
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useAttrs, watch, withCtx, withModifiers } from "vue";
22
22
  import "../styles/layer.css";
23
23
  import "../styles/table.css";
@@ -679,7 +679,7 @@ function useTablePagination(config) {
679
679
  "class": "astryx-table__pagination",
680
680
  "data-align": current.align ?? "center",
681
681
  "data-place": place
682
- }, [h(_sfc_main$25, {
682
+ }, [h(_sfc_main$26, {
683
683
  "page": current.page,
684
684
  pageSize,
685
685
  "total": current.totalItems ?? 0,
@@ -725,7 +725,7 @@ const _sfc_main$14 = /*@__PURE__*/ defineComponent({
725
725
  "aria-expanded": __props.expanded ? "true" : "false",
726
726
  "aria-label": __props.expanded ? unref(messages).table.collapseRow : unref(messages).table.expandRow,
727
727
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("toggle"), ["stop"]))
728
- }, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon astryx-table__chevron-icon--slot", { "is-expanded": __props.expanded }]) }, [createVNode(_sfc_main$20, {
728
+ }, [createElementVNode("span", { class: normalizeClass(["astryx-table__chevron-icon astryx-table__chevron-icon--slot", { "is-expanded": __props.expanded }]) }, [createVNode(_sfc_main$21, {
729
729
  "icon-slot": "table-row-expand",
730
730
  state: { expanded: __props.expanded },
731
731
  fallback: {
@@ -889,7 +889,7 @@ function useTableRowStatus(config) {
889
889
  const status = toValue(config).getStatus(item);
890
890
  if (status == null) return null;
891
891
  const customColor = status.status == null && status.icon != null && NAMED_ICON_COLOR[status.color] == null ? status.color : void 0;
892
- return h(_sfc_main$18, { content: status.label }, { default: () => h("span", {
892
+ return h(_sfc_main$19, { content: status.label }, { default: () => h("span", {
893
893
  "class": "astryx-table__status",
894
894
  "role": "img",
895
895
  "aria-label": status.label,
@@ -1650,7 +1650,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1650
1650
  return openBlock(), createElementBlock("div", {
1651
1651
  class: "astryx-table__filter",
1652
1652
  "data-variant": __props.filter.variant
1653
- }, [__props.filter.variant === "inline" || __props.filter.variant === "inline-compact" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$27, {
1653
+ }, [__props.filter.variant === "inline" || __props.filter.variant === "inline-compact" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$28, {
1654
1654
  key: 0,
1655
1655
  "model-value": textValue(draft.value),
1656
1656
  label: __props.filter.field.label,
@@ -1662,7 +1662,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1662
1662
  "model-value",
1663
1663
  "label",
1664
1664
  "placeholder"
1665
- ])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$24, {
1665
+ ])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$25, {
1666
1666
  key: 1,
1667
1667
  "model-value": numberValue(draft.value),
1668
1668
  label: __props.filter.field.label,
@@ -1683,7 +1683,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1683
1683
  "max",
1684
1684
  "step",
1685
1685
  "is-integer-only"
1686
- ])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$22, {
1686
+ ])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$23, {
1687
1687
  key: 2,
1688
1688
  "model-value": dateValue(draft.value),
1689
1689
  label: __props.filter.field.label,
@@ -1696,7 +1696,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1696
1696
  "model-value",
1697
1697
  "label",
1698
1698
  "placeholder"
1699
- ])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$23, {
1699
+ ])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$24, {
1700
1700
  key: 3,
1701
1701
  "model-value": listValue(draft.value),
1702
1702
  label: __props.filter.field.label,
@@ -1714,7 +1714,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1714
1714
  "options",
1715
1715
  "placeholder",
1716
1716
  "searchable"
1717
- ])) : (openBlock(), createBlock(_sfc_main$26, {
1717
+ ])) : (openBlock(), createBlock(_sfc_main$27, {
1718
1718
  key: 4,
1719
1719
  "model-value": textValue(draft.value) || null,
1720
1720
  label: __props.filter.field.label,
@@ -1728,13 +1728,13 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1728
1728
  "label",
1729
1729
  "placeholder",
1730
1730
  "options"
1731
- ]))], 64)) : (openBlock(), createBlock(_sfc_main$21, {
1731
+ ]))], 64)) : (openBlock(), createBlock(_sfc_main$22, {
1732
1732
  key: 1,
1733
1733
  label: triggerLabel.value,
1734
1734
  "has-close-button": false,
1735
1735
  width: 240
1736
1736
  }, {
1737
- content: withCtx(() => [createElementVNode("div", _hoisted_3$2, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$27, {
1737
+ content: withCtx(() => [createElementVNode("div", _hoisted_3$2, [__props.filter.field.type === "string" ? (openBlock(), createBlock(_sfc_main$28, {
1738
1738
  key: 0,
1739
1739
  "model-value": textValue(draft.value),
1740
1740
  label: __props.filter.field.label,
@@ -1746,7 +1746,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1746
1746
  "model-value",
1747
1747
  "label",
1748
1748
  "placeholder"
1749
- ])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$24, {
1749
+ ])) : __props.filter.field.type === "number" ? (openBlock(), createBlock(_sfc_main$25, {
1750
1750
  key: 1,
1751
1751
  "model-value": numberValue(draft.value),
1752
1752
  label: __props.filter.field.label,
@@ -1766,7 +1766,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1766
1766
  "max",
1767
1767
  "step",
1768
1768
  "is-integer-only"
1769
- ])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$22, {
1769
+ ])) : __props.filter.field.type === "date" ? (openBlock(), createBlock(_sfc_main$23, {
1770
1770
  key: 2,
1771
1771
  "model-value": dateValue(draft.value),
1772
1772
  label: __props.filter.field.label,
@@ -1778,7 +1778,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1778
1778
  "model-value",
1779
1779
  "label",
1780
1780
  "placeholder"
1781
- ])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$23, {
1781
+ ])) : __props.filter.field.type === "multi-select" ? (openBlock(), createBlock(_sfc_main$24, {
1782
1782
  key: 3,
1783
1783
  "model-value": listValue(draft.value),
1784
1784
  label: __props.filter.field.label,
@@ -1793,7 +1793,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1793
1793
  "label",
1794
1794
  "options",
1795
1795
  "placeholder"
1796
- ])) : (openBlock(), createBlock(_sfc_main$26, {
1796
+ ])) : (openBlock(), createBlock(_sfc_main$27, {
1797
1797
  key: 4,
1798
1798
  "model-value": textValue(draft.value) || null,
1799
1799
  label: __props.filter.field.label,
@@ -1807,7 +1807,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1807
1807
  "label",
1808
1808
  "placeholder",
1809
1809
  "options"
1810
- ])), createElementVNode("div", _hoisted_4$2, [createVNode(_sfc_main$17, {
1810
+ ])), createElementVNode("div", _hoisted_4$2, [createVNode(_sfc_main$16, {
1811
1811
  variant: "ghost",
1812
1812
  size: "sm",
1813
1813
  label: unref(messages).table.reset,
@@ -1818,7 +1818,7 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
1818
1818
  }, {
1819
1819
  default: withCtx(() => [createTextVNode(toDisplayString(unref(messages).table.reset), 1)]),
1820
1820
  _: 1
1821
- }, 8, ["label"]), createVNode(_sfc_main$17, {
1821
+ }, 8, ["label"]), createVNode(_sfc_main$16, {
1822
1822
  variant: "primary",
1823
1823
  size: "sm",
1824
1824
  label: unref(messages).table.apply,
@@ -2028,6 +2028,36 @@ const _sfc_main$9 = /*@__PURE__*/ defineComponent({
2028
2028
  }
2029
2029
  });
2030
2030
  //#endregion
2031
+ //#region src/Table/useHeaderCutText.ts
2032
+ /**
2033
+ * 表头标题被列宽截短时,键盘焦点到达单元格里的东西(可排序表头的排序按钮)
2034
+ * 就在提示里显示完整标题。鼠标悬停不显示。只在表格里的表头单元格上生效。
2035
+ * 监听挂在表头行或单元格上都行:焦点从哪个 `<th>` 里来,就量哪个。
2036
+ */
2037
+ function useHeaderCutText() {
2038
+ const cell = shallowRef(null);
2039
+ const cut = useCutTextOnKeyboardFocus({
2040
+ anchor: () => cell.value,
2041
+ isEnabled: () => cell.value?.closest(".astryx-table") != null
2042
+ });
2043
+ return {
2044
+ cell,
2045
+ cutText: cut.cutText,
2046
+ onFocusin(event) {
2047
+ const target = event.target;
2048
+ const next = target instanceof Element ? target.closest("th") : null;
2049
+ if (next !== cell.value) cut.hide();
2050
+ cell.value = next;
2051
+ cut.onFocusin(event);
2052
+ },
2053
+ onFocusout: cut.onFocusout,
2054
+ onPointerdown: cut.hide,
2055
+ onKeydown(event) {
2056
+ if (event.key === "Escape") cut.hide();
2057
+ }
2058
+ };
2059
+ }
2060
+ //#endregion
2031
2061
  //#region src/Table/useTableColumnResizeSession.ts
2032
2062
  /**
2033
2063
  * 表头列宽把手的指针拖动和键盘步进。
@@ -2253,6 +2283,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2253
2283
  },
2254
2284
  setup(__props) {
2255
2285
  const props = __props;
2286
+ const headerCutText = useHeaderCutText();
2256
2287
  const attrs = useAttrs();
2257
2288
  const messages = useAstryxMessages();
2258
2289
  const scrollRoot = ref(null);
@@ -2480,11 +2511,16 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2480
2511
  "data-row-highlight": selection.value?.hasRowHighlight === false ? "off" : void 0,
2481
2512
  "aria-rowcount": ariaRowCount.value,
2482
2513
  style: normalizeStyle(tableStyle.value)
2483
- }, [createElementVNode("thead", null, [createElementVNode("tr", null, [selection.value ? (openBlock(), createElementBlock("th", mergeProps({
2514
+ }, [createElementVNode("thead", {
2515
+ onFocusin: _cache[1] || (_cache[1] = (...args) => unref(headerCutText).onFocusin && unref(headerCutText).onFocusin(...args)),
2516
+ onFocusout: _cache[2] || (_cache[2] = (...args) => unref(headerCutText).onFocusout && unref(headerCutText).onFocusout(...args)),
2517
+ onPointerdown: _cache[3] || (_cache[3] = (...args) => unref(headerCutText).onPointerdown && unref(headerCutText).onPointerdown(...args)),
2518
+ onKeydown: _cache[4] || (_cache[4] = (...args) => unref(headerCutText).onKeydown && unref(headerCutText).onKeydown(...args))
2519
+ }, [createElementVNode("tr", null, [selection.value ? (openBlock(), createElementBlock("th", mergeProps({
2484
2520
  key: 0,
2485
2521
  class: ["astryx-table__select", selectCellPatch("header", null).class],
2486
2522
  scope: "col"
2487
- }, selectCellPatch("header", null).attrs, { style: selectCellPatch("header", null).style }), [createVNode(_sfc_main$19, {
2523
+ }, selectCellPatch("header", null).attrs, { style: selectCellPatch("header", null).style }), [createVNode(_sfc_main$20, {
2488
2524
  "model-value": selection.value.isIndeterminate() ? "indeterminate" : selection.value.isAllSelected(),
2489
2525
  label: unref(messages).table.selectAllRows,
2490
2526
  "is-label-hidden": "",
@@ -2514,7 +2550,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2514
2550
  "aria-label": sortFor(column)?.label,
2515
2551
  onClick: ($event) => sortFor(column)?.onClick($event)
2516
2552
  }, [
2517
- column.headerHidden ? (openBlock(), createBlock(_sfc_main$16, { key: 0 }, {
2553
+ column.headerHidden ? (openBlock(), createBlock(_sfc_main$18, { key: 0 }, {
2518
2554
  default: withCtx(() => [createTextVNode(toDisplayString(headerText(column)), 1)]),
2519
2555
  _: 2
2520
2556
  }, 1024)) : (openBlock(), createBlock(HeaderContent, {
@@ -2524,7 +2560,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2524
2560
  createElementVNode("span", {
2525
2561
  class: "astryx-table__sort-icon",
2526
2562
  "data-active": sortFor(column)?.direction != null || void 0
2527
- }, [createVNode(_sfc_main$20, {
2563
+ }, [createVNode(_sfc_main$21, {
2528
2564
  "icon-slot": "table-sort-indicator",
2529
2565
  state: { direction: sortFor(column)?.direction ?? "none" },
2530
2566
  fallback: {
@@ -2533,7 +2569,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2533
2569
  }
2534
2570
  }, null, 8, ["state", "fallback"])], 8, _hoisted_6),
2535
2571
  sortFor(column)?.rank ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(sortFor(column)?.rank), 1)) : createCommentVNode("v-if", true)
2536
- ], 8, _hoisted_5)) : column.headerHidden ? (openBlock(), createBlock(_sfc_main$16, { key: 1 }, {
2572
+ ], 8, _hoisted_5)) : column.headerHidden ? (openBlock(), createBlock(_sfc_main$18, { key: 1 }, {
2537
2573
  default: withCtx(() => [createTextVNode(toDisplayString(headerText(column)), 1)]),
2538
2574
  _: 2
2539
2575
  }, 1024)) : (openBlock(), createBlock(HeaderContent, {
@@ -2563,7 +2599,11 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2563
2599
  onKeydown: ($event) => unref(onResizeKeydown)($event, column)
2564
2600
  }, null, 40, _hoisted_8)) : createCommentVNode("v-if", true)
2565
2601
  ], 16, _hoisted_2);
2566
- }), 128))])]), createElementVNode("tbody", null, [__props.rows.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_9, [createElementVNode("td", {
2602
+ }), 128))]), unref(headerCutText).cutText.value != null ? (openBlock(), createBlock(_sfc_main$17, {
2603
+ key: 0,
2604
+ anchor: unref(headerCutText).cell.value,
2605
+ text: unref(headerCutText).cutText.value
2606
+ }, null, 8, ["anchor", "text"])) : createCommentVNode("v-if", true)], 32), createElementVNode("tbody", null, [__props.rows.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_9, [createElementVNode("td", {
2567
2607
  class: "astryx-table__empty",
2568
2608
  colspan: columnCount.value
2569
2609
  }, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(unref(messages).table.noData), 1)])], 8, _hoisted_10)])) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(entries.value, (entry) => {
@@ -2605,7 +2645,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2605
2645
  ])], 8, _hoisted_12)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [selection.value && !entry.patch.suppressSelection ? (openBlock(), createElementBlock("td", mergeProps({
2606
2646
  key: 0,
2607
2647
  class: ["astryx-table__select", selectCellPatch("body", entry.row).class]
2608
- }, { ref_for: true }, selectCellPatch("body", entry.row).attrs, { style: selectCellPatch("body", entry.row).style }), [selection.value.isSelectable?.(entry.row) !== false ? (openBlock(), createBlock(_sfc_main$19, {
2648
+ }, { ref_for: true }, selectCellPatch("body", entry.row).attrs, { style: selectCellPatch("body", entry.row).style }), [selection.value.isSelectable?.(entry.row) !== false ? (openBlock(), createBlock(_sfc_main$20, {
2609
2649
  key: 0,
2610
2650
  "model-value": selection.value.isSelected(entry.row),
2611
2651
  label: selection.value.rowLabel?.(entry.row) ? unref(messages).table.selectRowNamed(selection.value.rowLabel(entry.row)) : unref(messages).table.selectRow,
@@ -2655,7 +2695,7 @@ const _sfc_main$8 = /*@__PURE__*/ defineComponent({
2655
2695
  x: menu.value.x,
2656
2696
  y: menu.value.y,
2657
2697
  items: menu.value.items,
2658
- onClose: _cache[1] || (_cache[1] = ($event) => menu.value = null)
2698
+ onClose: _cache[5] || (_cache[5] = ($event) => menu.value = null)
2659
2699
  }, null, 8, [
2660
2700
  "x",
2661
2701
  "y",
@@ -2855,13 +2895,22 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
2855
2895
  headers: {}
2856
2896
  },
2857
2897
  setup(__props) {
2898
+ const headerCutText = useHeaderCutText();
2858
2899
  return (_ctx, _cache) => {
2859
2900
  return openBlock(), createElementBlock("th", {
2860
2901
  scope: "col",
2861
2902
  "data-align": __props.align,
2862
2903
  colspan: __props.colSpan,
2863
- rowspan: __props.rowSpan
2864
- }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_1$2);
2904
+ rowspan: __props.rowSpan,
2905
+ onFocusin: _cache[0] || (_cache[0] = (...args) => unref(headerCutText).onFocusin && unref(headerCutText).onFocusin(...args)),
2906
+ onFocusout: _cache[1] || (_cache[1] = (...args) => unref(headerCutText).onFocusout && unref(headerCutText).onFocusout(...args)),
2907
+ onPointerdown: _cache[2] || (_cache[2] = (...args) => unref(headerCutText).onPointerdown && unref(headerCutText).onPointerdown(...args)),
2908
+ onKeydown: _cache[3] || (_cache[3] = (...args) => unref(headerCutText).onKeydown && unref(headerCutText).onKeydown(...args))
2909
+ }, [renderSlot(_ctx.$slots, "default"), unref(headerCutText).cutText.value != null ? (openBlock(), createBlock(_sfc_main$17, {
2910
+ key: 0,
2911
+ anchor: unref(headerCutText).cell.value,
2912
+ text: unref(headerCutText).cutText.value
2913
+ }, null, 8, ["anchor", "text"])) : createCommentVNode("v-if", true)], 40, _hoisted_1$2);
2865
2914
  };
2866
2915
  }
2867
2916
  });
@@ -2909,14 +2958,14 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
2909
2958
  emit("clear");
2910
2959
  }
2911
2960
  return (_ctx, _cache) => {
2912
- return isVisible.value ? (openBlock(), createBlock(_sfc_main$28, {
2961
+ return isVisible.value ? (openBlock(), createBlock(_sfc_main$29, {
2913
2962
  key: 0,
2914
2963
  class: "astryx-table-selection-toolbar",
2915
2964
  label: resolvedLabel.value,
2916
2965
  size: __props.size,
2917
2966
  variant: __props.variant
2918
2967
  }, createSlots({
2919
- end: withCtx(() => [createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "label", { count: effectiveCount.value }, () => [createTextVNode(toDisplayString(resolvedCountLabel.value), 1)])]), createVNode(_sfc_main$17, {
2968
+ end: withCtx(() => [createElementVNode("span", _hoisted_1, [renderSlot(_ctx.$slots, "label", { count: effectiveCount.value }, () => [createTextVNode(toDisplayString(resolvedCountLabel.value), 1)])]), createVNode(_sfc_main$16, {
2920
2969
  class: "astryx-table-selection-toolbar__clear",
2921
2970
  label: resolvedClearLabel.value,
2922
2971
  size: __props.size,
@@ -1,3 +1,3 @@
1
1
  import { a as TextProps, c as TextType, d as TextWrap, i as TextJustify, l as TextWeight, n as TextColor, o as TextSize, r as TextDisplay, s as TextTruncateTooltip, t as TextAs, u as TextWordBreak } from "../types-B8suOGP8.js";
2
- import { t as _default } from "../index-LySSG_PR.js";
3
- export { _default as Text, type TextAs, type TextColor, type TextDisplay, type TextJustify, type TextProps, type TextSize, type TextTruncateTooltip, type TextType, type TextWeight, type TextWordBreak, type TextWrap };
2
+ import { n as useTruncation, r as _default, t as Truncation } from "../index-CtYlR9Cu.js";
3
+ export { _default as Text, type TextAs, type TextColor, type TextDisplay, type TextJustify, type TextProps, type TextSize, type TextTruncateTooltip, type TextType, type TextWeight, type TextWordBreak, type TextWrap, type Truncation, useTruncation };
@@ -1,2 +1,3 @@
1
- import { t as _sfc_main } from "../Text-BShV9dky.js";
2
- export { _sfc_main as Text };
1
+ import { n as useTruncation } from "../useTruncation-C4pdlaXa.js";
2
+ import { t as _sfc_main } from "../Text-WB-fpFne.js";
3
+ export { _sfc_main as Text, useTruncation };
@@ -1,8 +1,7 @@
1
1
  import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
2
- import { n as useTruncation, t as truncatePlacement } from "./useTruncation-C02rA1-c.js";
3
- import { t as _sfc_main$1 } from "./Tooltip-BfKegFfq.js";
2
+ import { n as _sfc_main$1, t as useTruncationTooltip } from "./useTruncationTooltip-BNk2xslw.js";
4
3
  import { t as TextClampContext } from "./textClampContext-o3-nLErq.js";
5
- import { computed, createBlock, defineComponent, mergeProps, openBlock, provide, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
4
+ import { computed, createBlock, createCommentVNode, defineComponent, mergeProps, openBlock, provide, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
6
5
  import "../styles/text.css";
7
6
  //#region src/Text/Text.vue
8
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -37,8 +36,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
37
36
  const weight = computed(() => props.weight === "normal" ? "regular" : props.weight);
38
37
  const isBlock = computed(() => props.display === "block" || props.maxLines > 0 || props.hasCapsize);
39
38
  const wordBreak = computed(() => props.wordBreak ?? (props.maxLines === 1 ? "break-all" : props.maxLines > 1 ? "break-word" : void 0));
40
- const placement = computed(() => props.maxLines > 0 ? truncatePlacement(props.hasTruncateTooltip) : null);
41
- const truncation = useTruncation(computed(() => props.maxLines));
39
+ const tooltip = useTruncationTooltip(() => props.maxLines, () => props.hasTruncateTooltip);
40
+ const { interest } = tooltip;
42
41
  const attrs = useAttrs();
43
42
  /** 只有 capsize 会把多行截断取消掉(它把 display 改回 block);单行截断不受影响。 */
44
43
  const isClamped = computed(() => props.maxLines === 1 || props.maxLines > 1 && !props.hasCapsize);
@@ -65,33 +64,37 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
65
64
  return {};
66
65
  });
67
66
  return (_ctx, _cache) => {
68
- return placement.value ? (openBlock(), createBlock(_sfc_main$1, {
69
- key: 0,
70
- "anchors-on-self": "",
71
- "has-hover-indication": false,
72
- content: unref(truncation).fullText.value,
73
- "is-enabled": unref(truncation).isTruncated.value,
74
- placement: placement.value
75
- }, {
76
- default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ ref: unref(truncation).bind }, unref(attrs), {
77
- class: ["astryx-text", classes.value],
78
- style: style.value
79
- }), {
80
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
81
- _: 3
82
- }, 16, ["class", "style"]))]),
83
- _: 3
84
- }, 8, [
85
- "content",
86
- "is-enabled",
87
- "placement"
88
- ])) : (openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ key: 1 }, unref(attrs), {
67
+ return openBlock(), createBlock(resolveDynamicComponent(__props.as), mergeProps({ ref: unref(tooltip).bind }, unref(attrs), {
89
68
  class: ["astryx-text", classes.value],
90
- style: style.value
69
+ style: style.value,
70
+ onPointerenter: unref(interest).onPointerenter,
71
+ onPointerleave: unref(interest).onPointerleave,
72
+ onPointerdown: unref(interest).onPointerdown,
73
+ onFocusin: unref(interest).onFocusin,
74
+ onFocusout: unref(interest).onFocusout
91
75
  }), {
92
- default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
76
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default"), unref(tooltip).isMounted.value ? (openBlock(), createBlock(_sfc_main$1, {
77
+ key: 0,
78
+ anchor: unref(tooltip).element.value,
79
+ content: unref(tooltip).truncation.fullText.value,
80
+ placement: unref(tooltip).placement.value,
81
+ interest: unref(interest).state
82
+ }, null, 8, [
83
+ "anchor",
84
+ "content",
85
+ "placement",
86
+ "interest"
87
+ ])) : createCommentVNode("v-if", true)]),
93
88
  _: 3
94
- }, 16, ["class", "style"]));
89
+ }, 16, [
90
+ "class",
91
+ "style",
92
+ "onPointerenter",
93
+ "onPointerleave",
94
+ "onPointerdown",
95
+ "onFocusin",
96
+ "onFocusout"
97
+ ]);
95
98
  };
96
99
  }
97
100
  });
@@ -1,2 +1,2 @@
1
- import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-CCYGMtZy.js";
1
+ import { Ct as TextAreaSlots, Et as TextAreaWrap, St as TextAreaSize, Tt as TextAreaStatusType, _t as TextAreaChangeAction, bt as TextAreaProps, gt as _default, vt as TextAreaChangeEvent, wt as TextAreaStatus, xt as TextAreaResize, yt as TextAreaEmits } from "../index-D4zmrP2a.js";
2
2
  export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TextArea-D8703Iin.js";
1
+ import { t as _sfc_main } from "../TextArea-Bzz_KcKT.js";
2
2
  export { _sfc_main as TextArea };
@@ -1,18 +1,18 @@
1
- import { t as _sfc_main$1 } from "./Icon-DAcZMgiJ.js";
1
+ import { t as _sfc_main$1 } from "./Icon-BCHo7W0x.js";
2
2
  import { i as useSize } from "./SizeContext-BbaF-SEx.js";
3
- import { t as _sfc_main$2 } from "./VisuallyHidden-cpmsV-0M.js";
4
- import { n as _sfc_main$3 } from "./Button-7W3G5gok.js";
3
+ import { n as _sfc_main$2 } from "./Button-DsjdehLZ.js";
4
+ import { t as _sfc_main$3 } from "./VisuallyHidden-cpmsV-0M.js";
5
5
  import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
6
6
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
7
7
  import { t as characterCount } from "./characters-wTnzjkkR.js";
8
8
  import { t as useAnnounce } from "./announce-B210eJVf.js";
9
- import { t as useInputContainer } from "./useInputContainer-BP3u3hGz.js";
10
- import { t as _sfc_main$5 } from "./FieldInfoTip-CPhFmGaY.js";
11
- import { o as useAstryxLocale, s as useAstryxMessages } from "./context-BLSiTojH.js";
9
+ import { t as useInputContainer } from "./useInputContainer-BpLtCA-U.js";
10
+ import { t as _sfc_main$5 } from "./FieldInfoTip-BJAaKJjM.js";
11
+ import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CV6TrhJY.js";
12
12
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
13
- import { t as _sfc_main$6 } from "./Field-CdrGdY7U.js";
13
+ import { t as _sfc_main$6 } from "./Field-if5a58LO.js";
14
14
  import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
15
- import { t as _sfc_main$7 } from "./InputClearButton-gGlttFrg.js";
15
+ import { t as _sfc_main$7 } from "./InputClearButton-DhvxPkK6.js";
16
16
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
17
17
  import "../styles/text-area.css";
18
18
  //#region src/TextArea/useTextAreaAction.ts
@@ -410,7 +410,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
410
410
  label: resolvedClearLabel.value,
411
411
  onClick: clear
412
412
  }, null, 8, ["label"])) : createCommentVNode("v-if", true),
413
- busy.value ? (openBlock(), createBlock(_sfc_main$3, {
413
+ busy.value ? (openBlock(), createBlock(_sfc_main$2, {
414
414
  key: 4,
415
415
  class: "astryx-text-area-spinner",
416
416
  label: __props.loadingLabel
@@ -444,7 +444,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
444
444
  "class",
445
445
  "style"
446
446
  ]),
447
- showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
447
+ showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$3, {
448
448
  key: 0,
449
449
  id: disabledDescriptionId
450
450
  }, {