@astryx-vue/core 0.7.24 → 0.7.26

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 (433) hide show
  1. package/dist/AlertDialog/index.d.ts +1 -1
  2. package/dist/AlertDialog/index.js +1 -1
  3. package/dist/{AlertDialog-DsPFYRxB.js → AlertDialog-DZpJzvOC.js} +30 -15
  4. package/dist/AppShell/index.d.ts +1 -1
  5. package/dist/AppShell/index.js +1 -1
  6. package/dist/{AppShell--izaf9Fx.js → AppShell-D7ik41g-.js} +3 -3
  7. package/dist/Avatar/index.d.ts +1 -1
  8. package/dist/Avatar/index.js +1 -1
  9. package/dist/{Avatar-cNntRBEo.js → Avatar-D_C9RBJb.js} +27 -21
  10. package/dist/AvatarGroup/index.d.ts +1 -1
  11. package/dist/AvatarGroup/index.js +1 -1
  12. package/dist/{AvatarGroup-CiJia58o.js → AvatarGroup-CFvNDgU-.js} +17 -7
  13. package/dist/Badge/index.js +1 -1
  14. package/dist/Badge-BbPS_49c.js +41 -0
  15. package/dist/Banner/index.d.ts +1 -1
  16. package/dist/Banner/index.js +1 -1
  17. package/dist/{Banner-C8f377q3.js → Banner-C1B7DsHS.js} +3 -3
  18. package/dist/BottomSheet/index.d.ts +1 -1
  19. package/dist/BottomSheet/index.js +2 -2
  20. package/dist/{BottomSheet-BKeyoL9N.js → BottomSheet-BECeWtEy.js} +2 -2
  21. package/dist/{BottomSheet-CMukh1iI.js → BottomSheet-CgOzQHaA.js} +4 -2
  22. package/dist/Breadcrumbs/index.d.ts +2 -2
  23. package/dist/Breadcrumbs/index.js +2 -2
  24. package/dist/{Breadcrumbs-CXJNJ93V.js → Breadcrumbs-BgiZY7un.js} +9 -8
  25. package/dist/Button/index.d.ts +2 -2
  26. package/dist/Button/index.js +1 -1
  27. package/dist/{Button-Dgm5wCch.js → Button-DsjdehLZ.js} +181 -18
  28. package/dist/ButtonGroup/index.d.ts +1 -1
  29. package/dist/ButtonGroup/index.js +1 -1
  30. package/dist/{ButtonGroup-UgiGP61q.js → ButtonGroup-CSW7a9vq.js} +14 -2
  31. package/dist/Calendar/index.d.ts +1 -1
  32. package/dist/Calendar/index.js +1 -1
  33. package/dist/{Calendar-d_uOkvFE.js → Calendar-Bzgi-XyF.js} +12 -3
  34. package/dist/Card/index.d.ts +1 -1
  35. package/dist/Card/index.js +1 -1
  36. package/dist/{Card-H4571ZKi.js → Card-BbKFHWuD.js} +2 -0
  37. package/dist/Carousel/index.js +1 -1
  38. package/dist/{Carousel-BWTArLIP.js → Carousel--VycM-Sa.js} +64 -19
  39. package/dist/Chat/index.d.ts +1 -1
  40. package/dist/Chat/index.js +1 -1
  41. package/dist/{Chat-DKZWVA3Q.js → Chat-C1DlnlCQ.js} +30 -28
  42. package/dist/CheckboxInput/index.d.ts +1 -1
  43. package/dist/CheckboxInput/index.js +1 -1
  44. package/dist/{CheckboxInput-B4pDfjvr.js → CheckboxInput-uk8nuCEf.js} +4 -4
  45. package/dist/CheckboxList/index.d.ts +1 -1
  46. package/dist/CheckboxList/index.js +1 -1
  47. package/dist/{CheckboxList-DtxfdHRI.js → CheckboxList-Dr4kQ-BC.js} +7 -7
  48. package/dist/Citation/index.js +1 -1
  49. package/dist/{Citation-CCu6QWG7.js → Citation-BAFsn6N1.js} +4 -2
  50. package/dist/ClickableCard/index.d.ts +1 -1
  51. package/dist/ClickableCard/index.js +1 -1
  52. package/dist/{ClickableCard-jEBZbzHE.js → ClickableCard-CvxSKkXh.js} +16 -6
  53. package/dist/Code/index.d.ts +1 -1
  54. package/dist/Code/index.js +2 -2
  55. package/dist/{Code-PDhTfE2w.js → Code-6GS0nAkR.js} +1 -1
  56. package/dist/{CodeBlock-BrE72i6C.js → CodeBlock-PSnUWX57.js} +21 -10
  57. package/dist/Collapsible/index.d.ts +1 -1
  58. package/dist/Collapsible/index.js +1 -1
  59. package/dist/{Collapsible-BsPZ8CoN.js → Collapsible-C_tl5-L0.js} +2 -2
  60. package/dist/CommandPalette/index.js +1 -1
  61. package/dist/{CommandPalette-0Kg-dJg3.js → CommandPalette-lewtyQrO.js} +7 -7
  62. package/dist/ComplexSelector/index.d.ts +1 -1
  63. package/dist/ComplexSelector/index.js +1 -1
  64. package/dist/{ComplexSelector-BrGVG8c7.js → ComplexSelector-BUnqjeW5.js} +16 -8
  65. package/dist/ComponentIcon-BRXBBKeG.js +37 -0
  66. package/dist/ContextMenu/index.d.ts +2 -2
  67. package/dist/ContextMenu/index.js +2 -2
  68. package/dist/{ContextMenu-CgSIWUYh.js → ContextMenu-IDkvorRp.js} +10 -9
  69. package/dist/DateInput/index.d.ts +1 -1
  70. package/dist/DateInput/index.js +1 -1
  71. package/dist/{DateInput-vV0tc4a4.js → DateInput-DTxxFz9-.js} +15 -13
  72. package/dist/DateRangeInput/index.d.ts +1 -1
  73. package/dist/DateRangeInput/index.js +1 -1
  74. package/dist/{DateRangeInput-DcM1Zntr.js → DateRangeInput-D4Us58KW.js} +9 -9
  75. package/dist/DateTimeInput/index.d.ts +1 -1
  76. package/dist/DateTimeInput/index.js +1 -1
  77. package/dist/{DateTimeInput-DbbVU3bk.js → DateTimeInput-CliLnI7P.js} +10 -10
  78. package/dist/Dialog/index.d.ts +1 -1
  79. package/dist/Dialog/index.js +3 -3
  80. package/dist/{Dialog-vPGLWE3o.js → Dialog-B_s-w66_.js} +1 -1
  81. package/dist/{Dialog-D4V2ZnuS.js → Dialog-BtPktuiy.js} +3 -1
  82. package/dist/{DialogHeader-D1sgjPC7.js → DialogHeader-Hk419KW1.js} +4 -4
  83. package/dist/Divider/index.d.ts +1 -1
  84. package/dist/Drawer/index.d.ts +1 -1
  85. package/dist/Drawer/index.js +1 -1
  86. package/dist/{Drawer-CaZF_-lH.js → Drawer-DoQ9hjKz.js} +2 -2
  87. package/dist/DropdownMenu/index.d.ts +2 -2
  88. package/dist/DropdownMenu/index.js +3 -3
  89. package/dist/{DropdownMenu-B3R5WLsl.js → DropdownMenu-B2iga1fe.js} +18 -13
  90. package/dist/{DropdownMenu-BjE_cTDM.js → DropdownMenu-BF2Z5T4h.js} +9 -9
  91. package/dist/{DropdownMenuRadioItem.vue-z0XU7pZS.d.ts → DropdownMenuRadioItem.vue-D455cIQQ.d.ts} +1 -1
  92. package/dist/EmptyState/index.js +1 -1
  93. package/dist/{EmptyState-BQrzgh2f.js → EmptyState-v1cvHKav.js} +2 -2
  94. package/dist/Field/index.d.ts +2 -2
  95. package/dist/Field/index.js +3 -3
  96. package/dist/{Field-DLg-trP2.js → Field-if5a58LO.js} +2 -2
  97. package/dist/{FieldIcon-CxTnEb4Y.js → FieldIcon-DMtfe1Ne.js} +1 -1
  98. package/dist/{FieldInfoTip-D5IOQrVA.js → FieldInfoTip-BJAaKJjM.js} +2 -2
  99. package/dist/{FieldLabel-D5_Pap_W.js → FieldLabel-C-IaUcP4.js} +3 -3
  100. package/dist/FieldStatus/index.d.ts +1 -1
  101. package/dist/FieldStatus/index.js +1 -1
  102. package/dist/{FieldStatus-D6Vo_dU5.js → FieldStatus-DSUCli4W.js} +1 -1
  103. package/dist/FileInput/index.d.ts +1 -1
  104. package/dist/FileInput/index.js +1 -1
  105. package/dist/{FileInput-CKYpJtuU.js → FileInput-0zBWfO8h.js} +9 -9
  106. package/dist/Grid/index.d.ts +1 -1
  107. package/dist/Grid/index.js +1 -1
  108. package/dist/{Grid-D1onTzyC.js → Grid-C0mp7fha.js} +1 -1
  109. package/dist/Heading/index.d.ts +1 -1
  110. package/dist/Heading/index.js +1 -1
  111. package/dist/Heading-C10qO8wg.js +114 -0
  112. package/dist/HoverCard/index.d.ts +1 -1
  113. package/dist/HoverCard/index.js +1 -1
  114. package/dist/{HoverCard-B9uadAzT.js → HoverCard-CLcbBLBN.js} +4 -3
  115. package/dist/Icon/index.d.ts +4 -4
  116. package/dist/Icon/index.js +4 -2
  117. package/dist/Icon/plugin.js +1 -1
  118. package/dist/Icon-B2aULLnn.js +15 -0
  119. package/dist/{Icon-CU3412Fe.js → Icon-BCHo7W0x.js} +48 -86
  120. package/dist/IconButton/index.d.ts +1 -1
  121. package/dist/IconButton/index.js +1 -1
  122. package/dist/{IconButton-B6AQLlx9.js → IconButton-Crtfruc0.js} +1 -1
  123. package/dist/Indicator/index.d.ts +2 -2
  124. package/dist/Indicator/index.js +1 -1
  125. package/dist/InfoTip/index.d.ts +1 -1
  126. package/dist/InfoTip/index.js +1 -1
  127. package/dist/{InfoTip-BlOySTNC.js → InfoTip-DNQy7wqB.js} +3 -3
  128. package/dist/{InputClearButton-BbFXoxWi.js → InputClearButton-DhvxPkK6.js} +3 -3
  129. package/dist/InputGroup/index.d.ts +1 -1
  130. package/dist/InputGroup/index.js +2 -2
  131. package/dist/{InputGroup-BleRgc6W.js → InputGroup-B1kG0rBN.js} +42 -18
  132. package/dist/InternationalizationProvider/index.d.ts +1 -1
  133. package/dist/InternationalizationProvider/index.js +1 -1
  134. package/dist/{InternationalizationProvider-CWJDt7Qb.js → InternationalizationProvider-CUEIHCf4.js} +3 -3
  135. package/dist/{Item-X9wgYWoD.js → Item-Cfv4ALls.js} +29 -6
  136. package/dist/Kbd/index.d.ts +1 -1
  137. package/dist/Kbd/index.js +1 -1
  138. package/dist/{Kbd-CV3LO2Ge.js → Kbd-DyxKNYtE.js} +58 -30
  139. package/dist/Layout/index.js +2 -2
  140. package/dist/{Layout-mHcy28k7.js → Layout-OHKb6r7D.js} +8 -5
  141. package/dist/{LayoutPanel-DpbBk6rj.js → LayoutPanel-D-rpTtC-.js} +6 -3
  142. package/dist/Lightbox/index.js +1 -1
  143. package/dist/{Lightbox-DLZzT9un.js → Lightbox-B8uMFPOS.js} +96 -17
  144. package/dist/Link/index.d.ts +2 -2
  145. package/dist/Link/index.js +1 -1
  146. package/dist/{Link-Qhzs2lcO.js → Link-Kc2RQFHc.js} +59 -70
  147. package/dist/List/index.d.ts +1 -1
  148. package/dist/List/index.js +2 -2
  149. package/dist/{ListItem-CertehfW.js → ListItem-2evjQQ7n.js} +2 -2
  150. package/dist/Markdown/index.js +2 -2
  151. package/dist/{Markdown-DGTG02tI.js → Markdown-NVkHi_tk.js} +6 -6
  152. package/dist/{MediaTheme-CnSOALNj.js → MediaTheme-Bt7WBTkq.js} +1 -1
  153. package/dist/MetadataList/index.js +1 -1
  154. package/dist/{MetadataList-wOngshS5.js → MetadataList-4GnMi6s9.js} +1 -1
  155. package/dist/MobileNav/index.js +1 -1
  156. package/dist/{MobileNavToggle-C8KAzhRl.js → MobileNavToggle-TMDrnXfG.js} +2 -2
  157. package/dist/MoreMenu/index.d.ts +1 -1
  158. package/dist/MoreMenu/index.js +1 -1
  159. package/dist/{MoreMenu-B_NLxMJW.js → MoreMenu-CpGEXWCd.js} +10 -10
  160. package/dist/MultiSelector/index.d.ts +1 -1
  161. package/dist/MultiSelector/index.js +1 -1
  162. package/dist/{MultiSelector-B0TQuJ5d.js → MultiSelector-Baca6xNx.js} +17 -16
  163. package/dist/{NavDisclosure-BbRWuyhq.js → NavDisclosure-DG4jls5z.js} +1 -1
  164. package/dist/{NavHeadingSurface-B2HkXx6S.js → NavHeadingSurface-j2gzMVKt.js} +3 -3
  165. package/dist/NavItem/index.d.ts +1 -1
  166. package/dist/NavItem/index.js +1 -1
  167. package/dist/{NavItem-DfHMmSsw.js → NavItem-BZLN0U5a.js} +1 -1
  168. package/dist/NavMenu/index.js +3 -3
  169. package/dist/{NavMenu-mZVfqNxt.js → NavMenu-t7WN2bcq.js} +1 -1
  170. package/dist/{NavMenuItem-DkfXIdxs.js → NavMenuItem-DIMQohIa.js} +2 -2
  171. package/dist/NumberInput/index.d.ts +1 -1
  172. package/dist/NumberInput/index.js +1 -1
  173. package/dist/{NumberInput-DEv4_fDj.js → NumberInput-BBFGZ4Fg.js} +27 -17
  174. package/dist/Outline/index.js +1 -1
  175. package/dist/{Outline-Bbu16_MT.js → Outline-BgDOI3ar.js} +3 -3
  176. package/dist/OverflowList/index.d.ts +1 -1
  177. package/dist/OverflowList/index.js +1 -1
  178. package/dist/{OverflowList-CjIOYKLM.js → OverflowList-D4fC5s_q.js} +3 -3
  179. package/dist/Pagination/index.d.ts +1 -1
  180. package/dist/Pagination/index.js +1 -1
  181. package/dist/{Pagination-Bcq0T9qo.js → Pagination-Do_MIlo4.js} +16 -4
  182. package/dist/Popover/index.d.ts +1 -1
  183. package/dist/Popover/index.js +1 -1
  184. package/dist/{Popover-9Xt2lYdo.js → Popover-Bd93LlDd.js} +7 -7
  185. package/dist/PowerSearch/index.d.ts +1 -1
  186. package/dist/PowerSearch/index.js +1 -1
  187. package/dist/{PowerSearch-DXz85xcx.js → PowerSearch-DyqItMHo.js} +111 -42
  188. package/dist/ProgressBar/index.d.ts +1 -1
  189. package/dist/ProgressBar/index.js +1 -1
  190. package/dist/{ProgressBar-Dt5AS0GY.js → ProgressBar-gsm2A_cR.js} +1 -1
  191. package/dist/Radio/index.d.ts +1 -1
  192. package/dist/Radio/index.js +1 -1
  193. package/dist/{RadioGroup-B2lYTCeV.js → RadioGroup-Dzp4qSgm.js} +5 -5
  194. package/dist/RadioList/index.d.ts +1 -1
  195. package/dist/RadioList/index.js +1 -1
  196. package/dist/{RadioList-CieZtXzY.js → RadioList-CAIgB1j_.js} +1 -1
  197. package/dist/Resizable/index.d.ts +1 -1
  198. package/dist/Resizable/index.js +1 -1
  199. package/dist/{ResizeHandle-uBJj4W1M.js → ResizeHandle-GAmiHb0-.js} +2 -2
  200. package/dist/ScrollableArea/index.d.ts +1 -1
  201. package/dist/SegmentedControl/index.js +1 -1
  202. package/dist/{SegmentedControl-BmDn1avo.js → SegmentedControl-Bs74LlvS.js} +3 -2
  203. package/dist/SelectableCard/index.d.ts +1 -1
  204. package/dist/SelectableCard/index.js +1 -1
  205. package/dist/{SelectableCard-2a2gsxys.js → SelectableCard-BFCwgtWf.js} +12 -7
  206. package/dist/Selector/index.d.ts +1 -1
  207. package/dist/Selector/index.js +1 -1
  208. package/dist/{Selector-CgrXQtte.js → Selector-B9lINQRM.js} +15 -13
  209. package/dist/SideNav/index.d.ts +1 -1
  210. package/dist/SideNav/index.js +1 -1
  211. package/dist/{SideNav-DW4jXGp5.js → SideNav-DzZ12DIq.js} +8 -8
  212. package/dist/Slider/index.d.ts +1 -1
  213. package/dist/Slider/index.js +1 -1
  214. package/dist/{Slider-CEhy-D-R.js → Slider-Cuk2ul9w.js} +4 -4
  215. package/dist/Spinner/index.js +1 -1
  216. package/dist/{Spinner-CTWLR75x.js → Spinner-ke63bQPv.js} +1 -1
  217. package/dist/StatusDot/index.js +1 -1
  218. package/dist/{StatusDot-Bu_nCu0I.js → StatusDot-DF5wK42f.js} +1 -1
  219. package/dist/Stepper/index.js +1 -1
  220. package/dist/{Stepper-DVXisudw.js → Stepper-C68f_iJG.js} +3 -3
  221. package/dist/Switch/index.d.ts +1 -1
  222. package/dist/Switch/index.js +1 -1
  223. package/dist/{Switch-DXShvaDA.js → Switch-bnxiN6Qe.js} +4 -4
  224. package/dist/TabList/index.d.ts +1 -1
  225. package/dist/TabList/index.js +1 -1
  226. package/dist/{TabList-Bo4pjQhj.js → TabList-8dlO0Ws6.js} +13 -8
  227. package/dist/Table/index.d.ts +1 -1
  228. package/dist/Table/index.js +1 -1
  229. package/dist/{Table-Bd8BQ8X_.js → Table-j_DCDbcI.js} +107 -49
  230. package/dist/Text/index.d.ts +2 -2
  231. package/dist/Text/index.js +3 -2
  232. package/dist/{Text-Wk-iDAzh.js → Text-WB-fpFne.js} +38 -29
  233. package/dist/TextArea/index.d.ts +1 -1
  234. package/dist/TextArea/index.js +1 -1
  235. package/dist/{TextArea-8bifudmD.js → TextArea-Bzz_KcKT.js} +11 -11
  236. package/dist/TextInput/index.d.ts +1 -1
  237. package/dist/TextInput/index.js +1 -1
  238. package/dist/{TextInput-Bb25yDd0.js → TextInput-givkH9HQ.js} +22 -20
  239. package/dist/Theme/index.d.ts +2 -2
  240. package/dist/Theme/index.js +2 -2
  241. package/dist/{Theme-D7_fQWgb.js → Theme-BQe--DY6.js} +42 -9
  242. package/dist/Thumbnail/index.js +1 -1
  243. package/dist/{Thumbnail-CYVlnYws.js → Thumbnail-CZOWP5HN.js} +42 -14
  244. package/dist/{TimeField-dDDrUtI4.js → TimeField-ByoS5s_I.js} +8 -8
  245. package/dist/TimeInput/index.d.ts +1 -1
  246. package/dist/TimeInput/index.js +1 -1
  247. package/dist/{TimeInput-BvGVUfWy.js → TimeInput-D9kvMQso.js} +7 -5
  248. package/dist/Timer/index.js +1 -1
  249. package/dist/{Timer-DL_MPa_h.js → Timer-BD2gSoQ3.js} +1 -1
  250. package/dist/Timestamp/index.d.ts +1 -1
  251. package/dist/Timestamp/index.js +1 -1
  252. package/dist/{Timestamp-CJSVY4tS.js → Timestamp-CEdNhKc5.js} +17 -13
  253. package/dist/Toast/index.js +1 -1
  254. package/dist/{Toast-cXs5Cbr4.js → Toast-CnZrcU-G.js} +5 -5
  255. package/dist/ToggleButton/index.d.ts +1 -1
  256. package/dist/ToggleButton/index.js +1 -1
  257. package/dist/{ToggleButton-DFiJDsOV.js → ToggleButton-BMn4yJXe.js} +27 -8
  258. package/dist/Token/index.js +1 -1
  259. package/dist/{Token-BJDLztV6.js → Token-DWCDMawn.js} +101 -28
  260. package/dist/Tokenizer/index.d.ts +1 -1
  261. package/dist/Tokenizer/index.js +1 -1
  262. package/dist/{Tokenizer-yz0873oG.js → Tokenizer-R0eC1BOk.js} +93 -10
  263. package/dist/Toolbar/index.d.ts +1 -1
  264. package/dist/Toolbar/index.js +1 -1
  265. package/dist/{Toolbar-D5UI1JLe.js → Toolbar-BH_E0F0G.js} +4 -1
  266. package/dist/Tooltip/index.d.ts +1 -1
  267. package/dist/Tooltip/index.js +2 -2
  268. package/dist/{Tooltip-BfKegFfq.js → Tooltip-CGHpFMnc.js} +1 -1
  269. package/dist/TopNav/index.d.ts +1 -1
  270. package/dist/TopNav/index.js +1 -1
  271. package/dist/{TopNav-CWksqYD8.js → TopNav-DHunql9h.js} +7 -7
  272. package/dist/TreeList/index.d.ts +1 -1
  273. package/dist/TreeList/index.js +1 -1
  274. package/dist/{TreeList-tcEjVfb0.js → TreeList-Dg5gtkOu.js} +24 -17
  275. package/dist/Typeahead/index.d.ts +1 -1
  276. package/dist/Typeahead/index.js +2 -2
  277. package/dist/{Typeahead-ClidGB0O.js → Typeahead-BkmCC6DX.js} +52 -27
  278. package/dist/{TypeaheadMenu-Bu9HO-wZ.js → TypeaheadMenu-CFeJCv-6.js} +1 -1
  279. package/dist/componentIcons-CFr2L6o3.js +106 -0
  280. package/dist/composables/index.d.ts +2 -2
  281. package/dist/composables/index.js +13 -11
  282. package/dist/{composables-BWDrzi3J.js → composables-DqJzanJ5.js} +5 -24
  283. package/dist/context-Bg7eSJ47.js +17 -0
  284. package/dist/{context-BLSiTojH.js → context-CV6TrhJY.js} +57 -3
  285. package/dist/context-CZP3jfy-.js +125 -0
  286. package/dist/{context-Bv6lAoqu.js → context-CjX2RSDn.js} +14 -2
  287. package/dist/devBuild-G249YcdZ.js +17 -0
  288. package/dist/{fieldParts--SyRZVQG.js → fieldParts-CDOlBdy6.js} +2 -2
  289. package/dist/{index-CM8KfpBL.d.ts → index--uIQXVJ7.d.ts} +2 -2
  290. package/dist/{index-CL8JvxHW.d.ts → index-B3yTdknp.d.ts} +1 -1
  291. package/dist/{index-rszZajcw.d.ts → index-B449gOMC.d.ts} +2 -2
  292. package/dist/{index-B3PTchxx.d.ts → index-B7brdDVR.d.ts} +5 -5
  293. package/dist/{index-BO9TY87G.d.ts → index-BOCb89V9.d.ts} +3 -3
  294. package/dist/{index-Gnewu6-J.d.ts → index-BPyRH3WL.d.ts} +1 -1
  295. package/dist/{index-DEQ5cnUV.d.ts → index-BTljzczH.d.ts} +4 -1
  296. package/dist/{index-f3d9cVtj.d.ts → index-BU78NOP-.d.ts} +1 -1
  297. package/dist/{index-BfQ85cS8.d.ts → index-BZuEYd9y.d.ts} +1 -1
  298. package/dist/{index-D_K1wfRa.d.ts → index-BfSZhAVv.d.ts} +2 -2
  299. package/dist/{index-CFm1rPma.d.ts → index-BjbPK91B.d.ts} +1 -1
  300. package/dist/{index-C3f1zsJR.d.ts → index-BngdKVro.d.ts} +1 -1
  301. package/dist/{index-RW8kvEwf.d.ts → index-BnqDF_AX.d.ts} +11 -6
  302. package/dist/{index-Be7N3B5F.d.ts → index-BqEPgwku.d.ts} +2 -2
  303. package/dist/{index-DxxudRgB.d.ts → index-C16d2Fc4.d.ts} +1 -1
  304. package/dist/{index-D97pQbua.d.ts → index-C89cIh4E.d.ts} +3 -5
  305. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  306. package/dist/{index-IvAfdGCC.d.ts → index-CAoenU4T.d.ts} +1 -1
  307. package/dist/{index-BaxM-pFP.d.ts → index-CM2L3SUw.d.ts} +6 -4
  308. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  309. package/dist/{index-Bo-ofFyg.d.ts → index-CbNLiaWw.d.ts} +2 -2
  310. package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
  311. package/dist/{index-BMCjAlq6.d.ts → index-CfPGC9aW.d.ts} +1 -1
  312. package/dist/index-CtYlR9Cu.d.ts +46 -0
  313. package/dist/{index--tm6L1ot.d.ts → index-Cun6cXGP.d.ts} +1 -1
  314. package/dist/{index-C9gAlDt_.d.ts → index-CvquEEGw.d.ts} +8 -2
  315. package/dist/{index-QWh122EV.d.ts → index-D57GW53K.d.ts} +1 -1
  316. package/dist/{index-DX4HQToB.d.ts → index-D6pP-H_N.d.ts} +1 -1
  317. package/dist/{index-dcT6zeY_.d.ts → index-DCU6dy7n.d.ts} +25 -5
  318. package/dist/{index-DqaYENaT.d.ts → index-DFDadgys.d.ts} +68 -68
  319. package/dist/{index-DEm3kRBO.d.ts → index-DN1RqxjP.d.ts} +1 -1
  320. package/dist/{index-BzZC2Y7c.d.ts → index-DTfA4uE3.d.ts} +1 -1
  321. package/dist/{index-BZchpRgm.d.ts → index-DZKv1WNB.d.ts} +2 -2
  322. package/dist/{index-BUZDSd-n.d.ts → index-Dc52pmSr.d.ts} +4 -2
  323. package/dist/{index-uqEqPcmR.d.ts → index-DhMCql2U.d.ts} +1 -1
  324. package/dist/{index-O9y23OPJ.d.ts → index-DneQgJfI.d.ts} +1 -1
  325. package/dist/{index-Dj1_1t3j.d.ts → index-IFFGXlhq.d.ts} +1 -1
  326. package/dist/{index-DaXzQxos.d.ts → index-MEix_m1o.d.ts} +2 -2
  327. package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
  328. package/dist/{index-D21zdEgS.d.ts → index-Uh-ddE5F.d.ts} +1 -1
  329. package/dist/{index-BtrAhmSP.d.ts → index-fuztfDLA.d.ts} +10 -6
  330. package/dist/{index-BRXgpLcd.d.ts → index-mJ_aqK5M.d.ts} +3 -3
  331. package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
  332. package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
  333. package/dist/{index-Dacg7XTH.d.ts → index-wkeCkhTi.d.ts} +16 -6
  334. package/dist/index.d.ts +53 -53
  335. package/dist/index.js +134 -130
  336. package/dist/layerSurfacePress-C3PjPpJP.js +29 -0
  337. package/dist/{loadCatalog-85MyL2bm.js → loadCatalog-Bulk4H7U.js} +2 -2
  338. package/dist/{loadCatalog-DSRSkHnY.d.ts → loadCatalog-D_uf2uX1.d.ts} +36 -0
  339. package/dist/locale/index.d.ts +2 -2
  340. package/dist/locale/index.js +4 -4
  341. package/dist/{locale-C7RSY-JG.js → locale-BA52q_fh.js} +1 -1
  342. package/dist/pressFeedback-Bwwpex9q.js +578 -0
  343. package/dist/{registry-C7OZb0PJ.js → registry-fNY3jasS.js} +23 -4
  344. package/dist/{searchResultMessage-T4H3r8Vz.js → searchResultMessage-CFmIy2Da.js} +2 -2
  345. package/dist/semantic-CXHSMwPK.d.ts +118 -0
  346. package/dist/{sharedResizeObserver-9EFWnSWH.js → sharedResizeObserver-BekhnB3E.js} +5 -1
  347. package/dist/slotContent-CNWOrGOr.js +14 -0
  348. package/dist/{slug-DAK6hdbr.js → slug-D6ln5PTq.js} +3 -1
  349. package/dist/strayClick-CY-_ImKv.js +60 -0
  350. package/dist/textClampContext-o3-nLErq.js +15 -0
  351. package/dist/textDirection-D4ObTwbB.js +32 -0
  352. package/dist/themeIcons-CqGF0fwW.js +128 -0
  353. package/dist/tooltipTriggerRules-Bg4tG8w2.js +53 -0
  354. package/dist/{types-CsqwQkf1.d.ts → types-Bq4Yl6CS.d.ts} +68 -7
  355. package/dist/{types-Bb7OGivY.d.ts → types-BwVJBE-G.d.ts} +1 -1
  356. package/dist/{types-C5GQ2KCK.d.ts → types-Dcai2Icw.d.ts} +55 -1
  357. package/dist/{types-DnrU3HYQ.d.ts → types-hB0M54I7.d.ts} +1 -1
  358. package/dist/unicodeRegExp-B7yQnpFC.js +14 -0
  359. package/dist/{upstreamMap-CZUPxbc9.js → upstreamMap-DrkVNtXW.js} +2 -0
  360. package/dist/useActionGroupTracking-BncJjk1A.js +131 -0
  361. package/dist/{useAnchoredListbox-6t5zSSz1.js → useAnchoredListbox-9Gn8asBR.js} +3 -2
  362. package/dist/useCoarsePointer-GItEMrjX.js +21 -0
  363. package/dist/{useDevWarning-DznOpOHT.js → useDevWarning-B2fsk2B-.js} +1 -4
  364. package/dist/{usePositionedLayer-psKf3ano.js → useDismiss-0-Z-9D0A.js} +52 -52
  365. package/dist/{useFileSelection-BPtaegqK.js → useFileSelection-B44UpbvF.js} +14 -4
  366. package/dist/{useIndicator-BvF_KY9S.js → useIndicator--9mGGlT2.js} +2 -2
  367. package/dist/{useInputContainer-CLcYrby4.js → useInputContainer-BpLtCA-U.js} +1 -1
  368. package/dist/{useInputStatusIcon-BSVFtRQG.js → useInputStatusIcon-DCnx00BM.js} +2 -2
  369. package/dist/{useLayer-Byjda3dD.js → useLayer-CED-g4Q2.js} +1 -1
  370. package/dist/{useMenuDrillIn-C36Z89W3.js → useMenuDrillIn-C5eJCuO1.js} +2 -2
  371. package/dist/{useMenuPress-8foxY8z4.js → useMenuPress-BLPwY_m1.js} +2 -59
  372. package/dist/usePressFeedback-Bcjsw9vv.js +49 -0
  373. package/dist/{useTooltip-BKsCTWdb.js → useTooltip-D8Tq7-yd.js} +36 -22
  374. package/dist/{useTranslator-BDUOzbP_.js → useTranslator-Q85hi4qz.js} +2 -2
  375. package/dist/useTruncation-C4pdlaXa.js +135 -0
  376. package/dist/useTruncationTooltip-BNk2xslw.js +106 -0
  377. package/dist/utils/index.js +1 -1
  378. package/dist/{utils-ClVseK2w.js → utils-BTkg5Ie9.js} +7 -2
  379. package/locales/en.json +8 -0
  380. package/package.json +1 -1
  381. package/styles/alert-dialog.css +19 -0
  382. package/styles/avatar.css +18 -3
  383. package/styles/badge.css +20 -2
  384. package/styles/banner.css +6 -0
  385. package/styles/button-group.css +38 -2
  386. package/styles/button.css +76 -4
  387. package/styles/calendar.css +34 -0
  388. package/styles/carousel.css +19 -11
  389. package/styles/chat.css +2 -0
  390. package/styles/checkbox-indicator.css +9 -9
  391. package/styles/checkbox-input.css +4 -1
  392. package/styles/citation.css +2 -1
  393. package/styles/clickable-card.css +19 -5
  394. package/styles/code.css +6 -0
  395. package/styles/context-menu.css +11 -0
  396. package/styles/dialog-header.css +2 -0
  397. package/styles/dialog.css +7 -0
  398. package/styles/dropdown-menu.css +11 -0
  399. package/styles/field.css +2 -0
  400. package/styles/heading.css +4 -0
  401. package/styles/hover-card.css +2 -0
  402. package/styles/icon.css +18 -12
  403. package/styles/input-group.css +1 -0
  404. package/styles/kbd.css +2 -0
  405. package/styles/layer.css +2 -0
  406. package/styles/lightbox.css +78 -0
  407. package/styles/link.css +25 -1
  408. package/styles/list.css +10 -1
  409. package/styles/metadata-list.css +1 -1
  410. package/styles/more-menu.css +6 -0
  411. package/styles/popover.css +7 -0
  412. package/styles/pressable.css +7 -0
  413. package/styles/radio-indicator.css +21 -4
  414. package/styles/slider.css +2 -0
  415. package/styles/switch.css +2 -1
  416. package/styles/table.css +25 -1
  417. package/styles/text.css +8 -0
  418. package/styles/thumbnail.css +25 -0
  419. package/styles/toast.css +2 -0
  420. package/styles/toggle-button.css +17 -0
  421. package/styles/token.css +14 -9
  422. package/styles/toolbar.css +19 -0
  423. package/dist/Badge-CjDQPF5g.js +0 -30
  424. package/dist/Heading-D0zL1j5T.js +0 -99
  425. package/dist/context-B6UElI5X.js +0 -5
  426. package/dist/context-Cws_tXTr.js +0 -7
  427. package/dist/context-IvbU9c3T.js +0 -8
  428. package/dist/index-LySSG_PR.d.ts +0 -27
  429. package/dist/semantic-BF_AjLvk.d.ts +0 -57
  430. package/dist/useClickableContainer-CdGp_Cev.js +0 -112
  431. package/dist/usePressFeedback-Dhnfc3ee.js +0 -336
  432. package/dist/useTruncation-C02rA1-c.js +0 -102
  433. package/dist/{useRestoreFocus-XEKs5-gp.js → useRestoreFocus-CEG0n2AK.js} +1 -1
@@ -1,9 +1,10 @@
1
- import { t as usePressFeedback } from "./usePressFeedback-Dhnfc3ee.js";
2
- import { s as isIconGlyph, t as _sfc_main$2 } from "./Icon-CU3412Fe.js";
1
+ import { t as isInLayerSurface } from "./layerSurfacePress-C3PjPpJP.js";
2
+ import { t as usePressFeedback } from "./usePressFeedback-Bcjsw9vv.js";
3
+ import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
3
4
  import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
4
5
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
6
- import { t as _sfc_main$3 } from "./Badge-CjDQPF5g.js";
6
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
7
+ import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
7
8
  import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
8
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useSlots, vShow, withCtx, withDirectives } from "vue";
9
10
  import "../styles/tree-list.css";
@@ -125,6 +126,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
125
126
  if (props.item.isDisabled) return;
126
127
  const target = event.target;
127
128
  if (target instanceof Element && target.closest("button, a, input, select, textarea")) return;
129
+ if (target instanceof Element && isInLayerSurface(target, event.currentTarget)) return;
128
130
  if (props.item.onClick) props.item.onClick(event);
129
131
  else if (hasChildren.value) emit("toggle", props.item.id);
130
132
  else if (safeHref.value) event.currentTarget.querySelector(".astryx-tree-list__action")?.click();
@@ -142,7 +144,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
142
144
  if (props.item.isDisabled) event.preventDefault();
143
145
  consumeWhileDisabled(event, props.item.isDisabled === true);
144
146
  }
145
- const press = usePressFeedback();
147
+ const press = usePressFeedback({ isContainer: true });
148
+ /** 整行点下去是展开收起(没有自己的点击):这时箭头按钮做的是同一件事,按它也算按这一行。 */
149
+ const chevronPress = computed(() => props.item.onClick == null ? press.pressActionProps : {});
146
150
  const rowPress = computed(() => {
147
151
  return (props.item.onClick != null || safeHref.value != null || hasChildren.value) && props.item.isDisabled !== true ? press.pressableProps : {};
148
152
  });
@@ -189,7 +193,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
189
193
  "data-interactive": __props.item.onClick != null || safeHref.value != null || hasChildren.value || void 0,
190
194
  style: { "--_tree-indent": indent.value }
191
195
  }, rowPress.value, { onClick: onRowClick }), [createElementVNode("div", _hoisted_5, [
192
- hasChildren.value ? (openBlock(), createElementBlock("button", {
196
+ hasChildren.value ? (openBlock(), createElementBlock("button", mergeProps({
193
197
  key: 0,
194
198
  type: "button",
195
199
  class: "astryx-tree-list__chevron",
@@ -198,14 +202,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
198
202
  "aria-expanded": isExpanded.value,
199
203
  "aria-label": unref(messages).treeList.toggleChildren,
200
204
  "aria-disabled": __props.item.isDisabled || void 0,
201
- tabindex: "-1",
205
+ tabindex: "-1"
206
+ }, chevronPress.value, {
202
207
  onClick: onToggle,
203
208
  onKeydown: _cache[0] || (_cache[0] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
204
- }, [createVNode(_sfc_main$2, {
209
+ }), [createVNode(_sfc_main$2, {
205
210
  icon: "chevronRight",
206
211
  size: "sm",
207
212
  color: "inherit"
208
- })], 40, _hoisted_6)) : createCommentVNode("v-if", true),
213
+ })], 16, _hoisted_6)) : createCommentVNode("v-if", true),
209
214
  __props.item.startContent ? (openBlock(), createElementBlock("span", _hoisted_7, [(openBlock(), createBlock(resolveDynamicComponent(__props.item.startContent)))])) : __props.item.icon ? (openBlock(), createElementBlock("span", _hoisted_8, [unref(isIconGlyph)(__props.item.icon) ? (openBlock(), createBlock(_sfc_main$2, {
210
215
  key: 0,
211
216
  icon: __props.item.icon,
@@ -214,9 +219,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
214
219
  class: normalizeClass(__props.item.icon),
215
220
  "aria-hidden": "true"
216
221
  }, null, 2)]))])) : createCommentVNode("v-if", true),
217
- safeHref.value ? (openBlock(), createBlock(resolveDynamicComponent(linkRoot.value), {
222
+ safeHref.value ? (openBlock(), createBlock(resolveDynamicComponent(linkRoot.value), mergeProps({
218
223
  key: 3,
219
- class: "astryx-tree-list__action",
224
+ class: "astryx-tree-list__action"
225
+ }, unref(press).pressActionProps, {
220
226
  href: safeHref.value,
221
227
  to: linkRoot.value === "a" ? void 0 : safeHref.value,
222
228
  target: __props.item.target,
@@ -227,7 +233,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
227
233
  tabindex: "-1",
228
234
  onClick: onLinkClick,
229
235
  onKeydown: _cache[1] || (_cache[1] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
230
- }, {
236
+ }), {
231
237
  default: withCtx(() => [createElementVNode("span", {
232
238
  id: unref(labelId),
233
239
  class: "astryx-tree-list__label"
@@ -237,7 +243,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
237
243
  class: "astryx-tree-list__description"
238
244
  }, toDisplayString(__props.item.description), 9, _hoisted_11)) : createCommentVNode("v-if", true)]),
239
245
  _: 1
240
- }, 40, [
246
+ }, 16, [
241
247
  "href",
242
248
  "to",
243
249
  "target",
@@ -245,24 +251,25 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
245
251
  "aria-labelledby",
246
252
  "aria-describedby",
247
253
  "aria-disabled"
248
- ])) : __props.item.onClick ? (openBlock(), createElementBlock("button", {
254
+ ])) : __props.item.onClick ? (openBlock(), createElementBlock("button", mergeProps({
249
255
  key: 4,
250
256
  type: "button",
251
- class: "astryx-tree-list__action",
257
+ class: "astryx-tree-list__action"
258
+ }, unref(press).pressActionProps, {
252
259
  "aria-labelledby": unref(labelId),
253
260
  "aria-describedby": __props.item.description ? unref(descriptionId) : void 0,
254
261
  "aria-disabled": __props.item.isDisabled || void 0,
255
262
  tabindex: "-1",
256
263
  onClick: onActionClick,
257
264
  onKeydown: _cache[2] || (_cache[2] = ($event) => unref(consumeWhileDisabled)($event, __props.item.isDisabled === true))
258
- }, [createElementVNode("span", {
265
+ }), [createElementVNode("span", {
259
266
  id: unref(labelId),
260
267
  class: "astryx-tree-list__label"
261
268
  }, toDisplayString(__props.item.label), 9, _hoisted_13), __props.item.description ? (openBlock(), createElementBlock("span", {
262
269
  key: 0,
263
270
  id: unref(descriptionId),
264
271
  class: "astryx-tree-list__description"
265
- }, toDisplayString(__props.item.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)], 40, _hoisted_12)) : (openBlock(), createElementBlock("span", _hoisted_15, [createElementVNode("span", {
272
+ }, toDisplayString(__props.item.description), 9, _hoisted_14)) : createCommentVNode("v-if", true)], 16, _hoisted_12)) : (openBlock(), createElementBlock("span", _hoisted_15, [createElementVNode("span", {
266
273
  id: unref(labelId),
267
274
  class: "astryx-tree-list__label"
268
275
  }, toDisplayString(__props.item.label), 9, _hoisted_16), __props.item.description ? (openBlock(), createElementBlock("span", {
@@ -1,2 +1,2 @@
1
- import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-BaxM-pFP.js";
1
+ import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-CM2L3SUw.js";
2
2
  export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
@@ -1,3 +1,3 @@
1
- import { n as _sfc_main$2 } from "../TypeaheadMenu-Bu9HO-wZ.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-ClidGB0O.js";
1
+ import { n as _sfc_main$2 } from "../TypeaheadMenu-CFeJCv-6.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-BkmCC6DX.js";
3
3
  export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
@@ -1,15 +1,16 @@
1
+ import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
2
+ import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
1
3
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
2
4
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
3
- import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
4
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
5
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
5
6
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
6
7
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
7
- import { t as _sfc_main$3 } from "./Spinner-CTWLR75x.js";
8
- import { t as _sfc_main$4 } from "./Field-DLg-trP2.js";
9
- import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
10
- import { t as _sfc_main$5 } from "./Token-BJDLztV6.js";
11
- import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-6t5zSSz1.js";
12
- import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-Bu9HO-wZ.js";
8
+ import { t as _sfc_main$3 } from "./Spinner-ke63bQPv.js";
9
+ import { t as _sfc_main$4 } from "./Field-if5a58LO.js";
10
+ import { t as useFieldPartStyling } from "./fieldParts-CDOlBdy6.js";
11
+ import { t as _sfc_main$5 } from "./Token-DWCDMawn.js";
12
+ import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-9Gn8asBR.js";
13
+ import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-CFeJCv-6.js";
13
14
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
14
15
  import "../styles/layer.css";
15
16
  import "../styles/visually-hidden-utility.css";
@@ -27,7 +28,8 @@ const _hoisted_1 = {
27
28
  class: "astryx-typeahead-icon",
28
29
  "aria-hidden": "true"
29
30
  };
30
- const _hoisted_2 = [
31
+ const _hoisted_2 = ["id"];
32
+ const _hoisted_3 = [
31
33
  "id",
32
34
  "tabindex",
33
35
  "data-autofocus",
@@ -45,10 +47,10 @@ const _hoisted_2 = [
45
47
  "aria-describedby",
46
48
  "aria-required"
47
49
  ];
48
- const _hoisted_3 = ["aria-label"];
49
- const _hoisted_4 = ["id"];
50
- const _hoisted_5 = ["name", "value"];
51
- const _hoisted_6 = [
50
+ const _hoisted_4 = ["aria-label"];
51
+ const _hoisted_5 = ["id"];
52
+ const _hoisted_6 = ["name", "value"];
53
+ const _hoisted_7 = [
52
54
  "id",
53
55
  "role",
54
56
  "aria-label",
@@ -64,6 +66,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
64
66
  label: {},
65
67
  inputId: {},
66
68
  describedBy: {},
69
+ labelId: {},
67
70
  ariaDescribedBy: {},
68
71
  ariaLabelledBy: {},
69
72
  anchorRef: {},
@@ -156,6 +159,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
156
159
  const externalDescribedBy = computed(() => props.ariaDescribedBy ?? attrString("aria-describedby"));
157
160
  const labelledBy = computed(() => props.ariaLabelledBy ?? attrString("aria-labelledby"));
158
161
  const ariaLabel = computed(() => props.label ?? attrString("aria-label"));
162
+ const tokenValueId = computed(() => `${inputId.value}-value`);
163
+ /**
164
+ * 有值时,值 Token 的按钮就是这个字段的 Tab 停点。它和输入框一样用字段标签
165
+ * (再加上调用方的 aria-labelledby)命名,后面跟着值;说明也和输入框一样。
166
+ */
167
+ const tokenLabelledBy = computed(() => [
168
+ props.labelId,
169
+ labelledBy.value,
170
+ tokenValueId.value
171
+ ].filter(Boolean).join(" "));
159
172
  const describedBy = computed(() => {
160
173
  return [
161
174
  props.describedBy,
@@ -350,17 +363,26 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
350
363
  onPointerleave: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
351
364
  }, [
352
365
  _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1, [renderSlot(_ctx.$slots, "icon")])) : createCommentVNode("v-if", true),
353
- showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$5, {
366
+ showToken.value && selected.value ? (openBlock(), createElementBlock("span", {
354
367
  key: 1,
368
+ id: tokenValueId.value,
369
+ hidden: ""
370
+ }, toDisplayString(selected.value.label), 9, _hoisted_2)) : createCommentVNode("v-if", true),
371
+ showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$5, {
372
+ key: 2,
355
373
  class: "astryx-typeahead-value",
356
374
  label: selected.value.label,
357
375
  size: props.size,
358
376
  disabled: props.disabled,
377
+ "aria-labelledby": tokenLabelledBy.value,
378
+ "aria-describedby": describedBy.value,
359
379
  onClick: startEdit
360
380
  }, null, 8, [
361
381
  "label",
362
382
  "size",
363
- "disabled"
383
+ "disabled",
384
+ "aria-labelledby",
385
+ "aria-describedby"
364
386
  ])) : createCommentVNode("v-if", true),
365
387
  createElementVNode("input", mergeProps(inputAttrs(), {
366
388
  id: inputId.value,
@@ -391,15 +413,15 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
391
413
  onFocus,
392
414
  onBlur,
393
415
  onKeydown
394
- }), null, 16, _hoisted_2),
416
+ }), null, 16, _hoisted_3),
395
417
  unref(menu).status.value === "loading" ? (openBlock(), createBlock(_sfc_main$3, {
396
- key: 2,
418
+ key: 3,
397
419
  class: "astryx-typeahead-spinner",
398
420
  size: "sm",
399
421
  "aria-label": unref(messages).typeahead.loading
400
422
  }, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
401
423
  props.clearable && selected.value && !props.disabled ? (openBlock(), createElementBlock("button", {
402
- key: 3,
424
+ key: 4,
403
425
  type: "button",
404
426
  class: "astryx-typeahead-clear",
405
427
  "aria-label": clearLabel.value,
@@ -415,18 +437,18 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
415
437
  stroke: "currentColor",
416
438
  "stroke-width": "1.5",
417
439
  "stroke-linecap": "round"
418
- })], -1)])], 8, _hoisted_3)) : createCommentVNode("v-if", true),
440
+ })], -1)])], 8, _hoisted_4)) : createCommentVNode("v-if", true),
419
441
  focusableDisabled.value ? (openBlock(), createElementBlock("span", {
420
- key: 4,
442
+ key: 5,
421
443
  id: disabledId.value,
422
444
  class: "astryx-visually-hidden"
423
- }, toDisplayString(props.disabledReason), 9, _hoisted_4)) : createCommentVNode("v-if", true),
445
+ }, toDisplayString(props.disabledReason), 9, _hoisted_5)) : createCommentVNode("v-if", true),
424
446
  props.name ? (openBlock(), createElementBlock("input", {
425
- key: 5,
447
+ key: 6,
426
448
  type: "hidden",
427
449
  name: props.name,
428
450
  value: selected.value?.id ?? ""
429
- }, null, 8, _hoisted_5)) : createCommentVNode("v-if", true)
451
+ }, null, 8, _hoisted_6)) : createCommentVNode("v-if", true)
430
452
  ], 38)], 2),
431
453
  showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
432
454
  key: 0,
@@ -448,7 +470,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
448
470
  id: listboxId.value,
449
471
  ref_key: "listboxRef",
450
472
  ref: listboxRef,
451
- class: "astryx-typeahead-listbox astryx-layer",
473
+ class: "astryx-typeahead-listbox astryx-typeahead-popup astryx-layer",
452
474
  role: unref(optionGrid).gridMode.value ? "grid" : "listbox",
453
475
  "aria-label": unref(messages).typeahead.results,
454
476
  "data-placement": unref(anchored).position.value.placement,
@@ -496,7 +518,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
496
518
  "empty-text",
497
519
  "loading-text",
498
520
  "error-text"
499
- ])], 12, _hoisted_6), [[vShow, unref(menu).combobox.isOpen.value]])]))
521
+ ])], 12, _hoisted_7), [[vShow, unref(menu).combobox.isOpen.value]])]))
500
522
  ], 64);
501
523
  };
502
524
  }
@@ -629,6 +651,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
629
651
  return message?.trim() ? message : void 0;
630
652
  });
631
653
  /** 两个名字都是真才画清除按钮,任一个关掉就关掉。 */
654
+ const isDisabled = useInputGroupDisabled(() => props.disabled);
632
655
  const showsClear = computed(() => props.hasClear && props.clearable);
633
656
  /** 两个名字任一为真就在聚焦时先展开。 */
634
657
  const showsEntriesOnFocus = computed(() => props.hasEntriesOnFocus || props.showOnFocus);
@@ -655,7 +678,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
655
678
  description: props.description,
656
679
  "label-tooltip": props.labelTooltip,
657
680
  "is-label-hidden": unref(hideLabel),
658
- "is-disabled": props.disabled,
681
+ "is-disabled": unref(isDisabled),
659
682
  "is-required": props.required,
660
683
  "is-optional": props.optional,
661
684
  status: fieldStatus.value,
@@ -671,8 +694,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
671
694
  "search-source": props.searchSource,
672
695
  "input-id": field.inputId,
673
696
  "described-by": field.describedBy,
697
+ "label-id": field.labelId,
674
698
  placeholder: props.placeholder,
675
- disabled: props.disabled,
699
+ disabled: unref(isDisabled),
676
700
  "disabled-reason": disabledMessage.value,
677
701
  status: props.status,
678
702
  size: props.size,
@@ -717,6 +741,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
717
741
  "search-source",
718
742
  "input-id",
719
743
  "described-by",
744
+ "label-id",
720
745
  "placeholder",
721
746
  "disabled",
722
747
  "disabled-reason",
@@ -1,7 +1,7 @@
1
1
  import { t as characterCount } from "./characters-wTnzjkkR.js";
2
2
  import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
3
3
  import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
4
- import { t as _sfc_main$2 } from "./Spinner-CTWLR75x.js";
4
+ import { t as _sfc_main$2 } from "./Spinner-ke63bQPv.js";
5
5
  import { n as OptionAction, r as isOptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-CkJcuvaU.js";
6
6
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, renderSlot, toDisplayString, toValue, unref, watch, withModifiers } from "vue";
7
7
  import "../styles/typeahead.css";
@@ -0,0 +1,106 @@
1
+ import { i as defaultSemanticIcons } from "./themeIcons-CqGF0fwW.js";
2
+ import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
3
+ //#region src/Icon/componentIcons.ts
4
+ const ICON_SIZES = /* @__PURE__ */ new Set([
5
+ "xsm",
6
+ "sm",
7
+ "md",
8
+ "lg"
9
+ ]);
10
+ function isIconName(value) {
11
+ return typeof value === "string" && Object.hasOwn(defaultSemanticIcons, value);
12
+ }
13
+ function isDevBuild() {
14
+ return import.meta.env?.DEV === true;
15
+ }
16
+ const warned = /* @__PURE__ */ new Set();
17
+ /**
18
+ * One development warning per slot and problem. Formatting a value that
19
+ * cannot be serialized never throws, and production builds skip it.
20
+ */
21
+ function warnMalformed(slot, prefix, value, suffix = "") {
22
+ if (!isDevBuild()) return;
23
+ let formatted;
24
+ try {
25
+ formatted = JSON.stringify(value) ?? String(value);
26
+ } catch {
27
+ formatted = "[unserializable value]";
28
+ }
29
+ const problem = `${prefix} ${formatted}${suffix}`;
30
+ const key = `${slot}:${problem}`;
31
+ if (warned.has(key)) return;
32
+ warned.add(key);
33
+ devWarn("Icon", `componentIcons["${slot}"] ${problem}. The component keeps its own value for that field.`);
34
+ }
35
+ function applyRequest(slot, fallback, request, theme) {
36
+ if (request === void 0) return fallback;
37
+ if (request === null) return {
38
+ ...fallback,
39
+ icon: null
40
+ };
41
+ if (typeof request !== "object" || Array.isArray(request)) {
42
+ warnMalformed(slot, "returned", request, ", which is not a request");
43
+ return fallback;
44
+ }
45
+ const { icon, variant, size } = request;
46
+ let resolved = fallback;
47
+ if (icon === null || isIconName(icon)) resolved = {
48
+ ...resolved,
49
+ icon
50
+ };
51
+ else if (icon !== void 0) warnMalformed(slot, "requests the unknown icon", icon);
52
+ if (typeof variant === "string" && theme?.iconVariants?.includes(variant)) resolved = {
53
+ ...resolved,
54
+ variant
55
+ };
56
+ else if (variant !== void 0) warnMalformed(slot, "requests the variant", variant, ", which the theme does not list");
57
+ if (ICON_SIZES.has(size)) resolved = {
58
+ ...resolved,
59
+ size
60
+ };
61
+ else if (size !== void 0) warnMalformed(slot, "requests the unsupported size", size);
62
+ return resolved;
63
+ }
64
+ /**
65
+ * Resolve a component's icon slot: the theme's `componentIcons[slot]`
66
+ * applied to the component's own fallback, field by field.
67
+ *
68
+ * A shared icon name replaces the fallback icon, `null` hides it, and a
69
+ * request applies field by field. A slot function receives the state; its
70
+ * `null` hides the icon and its `undefined` changes nothing. A malformed
71
+ * field is ignored with one development warning and the valid fields beside
72
+ * it still apply.
73
+ */
74
+ function resolveComponentIcon(slot, state, fallback, theme) {
75
+ const value = (theme?.componentIconValues ?? theme?.componentIcons)?.[slot];
76
+ if (value === void 0) return fallback;
77
+ if (typeof value === "function") {
78
+ const result = value(state);
79
+ if (typeof result === "string") {
80
+ warnMalformed(slot, "returned", result, ", which is not a request");
81
+ return fallback;
82
+ }
83
+ return applyRequest(slot, fallback, result, theme);
84
+ }
85
+ if (typeof value === "string") return applyRequest(slot, fallback, { icon: value }, theme);
86
+ return applyRequest(slot, fallback, value, theme);
87
+ }
88
+ /**
89
+ * A theme's slot values: the base's, then its own, by slot. An own entry
90
+ * replaces the inherited one whole; an `undefined` entry keeps it.
91
+ */
92
+ function mergeComponentIcons(inherited, own) {
93
+ if (own == null) return inherited;
94
+ const merged = { ...inherited };
95
+ for (const [slot, value] of Object.entries(own)) if (value !== void 0) merged[slot] = value;
96
+ return merged;
97
+ }
98
+ /** The static view of slot values, without slot functions. */
99
+ function staticComponentIcons(values) {
100
+ if (values == null) return void 0;
101
+ const view = {};
102
+ for (const [slot, value] of Object.entries(values)) if (typeof value !== "function" && value !== void 0) view[slot] = value;
103
+ return view;
104
+ }
105
+ //#endregion
106
+ export { resolveComponentIcon as n, staticComponentIcons as r, mergeComponentIcons as t };
@@ -1,6 +1,6 @@
1
- import { $ as MergedRefHandle, $n as UseContainerReveal, $t as Hotkey, A as useResolvedLabelHidden, An as useDevWarning, Ar as applyRangeClick, At as UseKeyboardHint, B as computeOverflow, Bn as TimeSurface, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as useEntryAnimation, Cr as useAppShellMobile, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandleRef, Dr as ISODateRange, Dt as UseLayerReturn, E as useScrollableArea, En as DisclosureHandle, Er as useAnnounce, Et as UseLayerOptions, F as usePendingChange, Fn as HourFormat, Fr as isSameRange, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseISOTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatISOTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as ISOTimeString, Ir as orderRange, It as useInteractiveRole, J as buildMonthGrid, Jn as ControllableState, Jt as ImageSampleRegion, K as useNumberField, Kn as resolveTimeSurface, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as NativePicker, Lr as resolveWeekStart, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DateSurface, Mr as formatDateRange, Mt as useKeyboardHint, N as usePressFeedback, Nn as resolveDatePresentation, Nr as isDayOutsideSpan, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as useDisclosureHandle, Or as RangeClickResult, Ot as useLayer, P as PendingChange, Pn as resolveDateSurface, Pr as isRangeWithinSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContentRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as ParsedTime, Rr as spanDays, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationReturn, Sr as appShellMobileKey, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as useDismiss, Tr as AnnouncePoliteness, Tt as LayerMode, U as NumberStepDirection, Un as isTimeInRange, Ut as useInputContainer, V as useOverflow, Vn as formatDisplayTime, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as parseDisplayTime, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as useControllableState, Xt as imageModeFromPixels, Y as parseISODate, Yn as UseControllableStateOptions, Yt as UseImageModeOptions, Z as todayISODate, Zn as ContainerRevealOptions, Zt as perceptualLightness, _ as ScrollAxis, _n as FieldControlState, _r as CHAT_MESSAGE_CLASS, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as useCombobox, at as resetMenuPress, b as ScrollOverscroll, bn as EntryAnimationPreset, br as useChatNewMessages, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as INTERACTIVE_SELECTORS, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasTextSelection, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerRevealOptions, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as useClickableContainer, ft as MenuPressStep, g as useScrollLock, gn as selectFiles, gr as useChatStreamScroll, gt as LongPressOptions, h as useScrollOverflow, hn as formatFileSize, hr as UseChatStreamScrollReturn, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as UseComboboxOptions, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as DatePresentation, jr as compareISODate, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as devWarn, kr as WeekStartsOn, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as UseClickableContainerOptions, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as UseChatStreamScrollOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as Combobox, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCoarsePointer, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as ChatScrollToBottomOptions, pt as menuPressStep, q as addMonths, qn as shiftTime, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as ComboboxOption, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as ClickableContainerHandlers, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as useContainerReveal, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as hasInteractiveAncestor, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlStateInput, vr as UseChatNewMessagesOptions, vt as ListFocus, w as UseScrollableAreaOptions, wn as UseDismissOptions, wr as AnnounceFn, wt as useResolvedLayerTeleport, x as ScrollRole, xn as UseEntryAnimationOptions, xr as AppShellMobile, xt as useListFocus, y as ScrollKeyboardAccess, yn as useFieldControlState, yr as UseChatNewMessagesReturn, yt as ListFocusOrientation, z as UseOverflowReturn, zn as TimePresentation, zt as UseInputStatusIconReturn } from "../index-dcT6zeY_.js";
1
+ import { $ as MergedRefHandle, $n as ContentRevealOptions, $t as Hotkey, A as useResolvedLabelHidden, An as devWarn, Ar as WeekStartsOn, At as UseKeyboardHint, B as computeOverflow, Bn as TimePresentation, Bt as useInputStatusIcon, C as ScrollableAreaState, Cn as UseEntryAnimationReturn, Cr as appShellMobileKey, Ct as useLayerTeleportTarget, D as RestoreFocus, Dn as DisclosureHandle, Dr as useAnnounce, Dt as UseLayerReturn, E as useScrollableArea, En as useDismiss, Er as AnnouncePoliteness, Et as UseLayerOptions, F as usePendingChange, Fn as resolveDateSurface, Fr as isRangeWithinSpan, Ft as UseInteractiveRoleReturn, G as computeSteppedValue, Gn as parseDisplayTime, Gt as UseIndicatorFocusRingOptions, H as NumberField, Hn as formatDisplayTime, Ht as UseInputContainerOptions, I as ComputeOverflowInput, In as HourFormat, Ir as isSameRange, It as useInteractiveRole, J as buildMonthGrid, Jn as shiftTime, Jt as ImageSampleRegion, K as useNumberField, Kn as parseISOTime, Kt as UseIndicatorFocusRingReturn, L as ComputeOverflowResult, Ln as ISOTimeString, Lr as orderRange, Lt as InputStatusVariant, M as UsePressFeedbackReturn, Mn as DatePresentation, Mr as compareISODate, Mt as useKeyboardHint, N as usePressFeedback, Nn as DateSurface, Nr as formatDateRange, Nt as InteractiveRole, O as UseRestoreFocusOptions, On as DisclosureHandleRef, Or as ISODateRange, Ot as useLayer, P as PendingChange, Pn as resolveDatePresentation, Pr as isDayOutsideSpan, Pt as UseInteractiveRoleOptions, Q as MergedRef, Qn as ContainerRevealOptions, Qt as useImageMode, R as UseOverflowOptions, Rn as NativePicker, Rr as resolveWeekStart, Rt as UseInputStatusIconOptions, S as ScrollStickyContainment, Sn as UseEntryAnimationOptions, Sr as AppShellMobile, St as useLayerMountTarget, T as UseScrollableAreaResult, Tn as UseDismissOptions, Tr as AnnounceFn, Tt as LayerMode, U as NumberStepDirection, Un as formatISOTime, Ut as useInputContainer, V as useOverflow, Vn as TimeSurface, Vt as InputContainerHandlers, W as UseNumberFieldOptions, Wn as isTimeInRange, Wt as IndicatorFocusRingHandlers, X as toISODate, Xn as UseControllableStateOptions, Xt as imageModeFromPixels, Y as parseISODate, Yn as ControllableState, Yt as UseImageModeOptions, Z as todayISODate, Zn as useControllableState, Zt as perceptualLightness, _ as ScrollAxis, _n as selectFiles, _r as useChatStreamScroll, _t as useLongPress, a as UseTouchTriggerOptions, an as useGridRovingFocus, ar as UseComboboxOptions, at as resetMenuPress, b as ScrollOverscroll, bn as useFieldControlState, br as UseChatNewMessagesReturn, bt as UseListFocusOptions, c as useTouchTrigger, cn as useGridFocus, cr as ClickableContainerHandlers, ct as MenuPressEffect, d as snapToGraphemeBoundary, dn as useFocusTrap, dr as hasInteractiveAncestor, dt as MenuPressPointerType, en as useHotkeys, er as UseContainerReveal, et as useMergedRefs, f as useStreamingText, fn as FileRejection, fr as hasTextSelection, ft as MenuPressStep, g as useScrollLock, gn as formatFileSize, gr as UseChatStreamScrollReturn, gt as LongPressOptions, h as useScrollOverflow, hn as FileSizeUnits, hr as UseChatStreamScrollOptions, ht as LongPressHandlers, i as LayerTouchTrigger, in as UseGridRovingFocusOptions, ir as ComboboxOption, it as isMenuPressActivation, j as UsePressFeedbackOptions, jn as useDevWarning, jr as applyRangeClick, jt as UseKeyboardHintOptions, k as useRestoreFocus, kn as useDisclosureHandle, kr as RangeClickResult, kt as KeyboardHintOrientation, l as StreamingTextSpeed, ln as FocusTrap, lr as INTERACTIVE_SELECTORS, lt as MenuPressEvent, m as UseScrollOverflowResult, mn as FileSelectionResult, mr as ChatScrollToBottomOptions, mt as useMediaQuery, n as UseTypeaheadReturn, nn as useHandleRef, nr as useContainerReveal, nt as MenuPressOptions, o as UseTouchTriggerReturn, on as UseGridFocusOptions, or as useCombobox, ot as MENU_PRESS_MARKER, p as ScrollOverflowState, pn as FileSelectionOptions, pr as useClickableContainer, pt as menuPressStep, q as addMonths, qn as resolveTimeSurface, qt as useIndicatorFocusRing, r as useTypeahead, rn as GridRovingFocus, rr as Combobox, rt as useMenuPress, s as isActionTrigger, sn as UseGridFocusReturn, sr as useCoarsePointer, st as MENU_PRESS_SETTLE_MS, t as UseTypeaheadOptions, tn as HandleRef, tr as UseContainerRevealOptions, tt as MenuPress, u as UseStreamingTextOptions, un as UseFocusTrapOptions, ur as UseClickableContainerOptions, ut as MenuPressGesture, v as ScrollAxisState, vn as FieldControlState, vr as CHAT_MESSAGE_CLASS, vt as ListFocus, w as UseScrollableAreaOptions, wn as useEntryAnimation, wr as useAppShellMobile, wt as useResolvedLayerTeleport, x as ScrollRole, xn as EntryAnimationPreset, xr as useChatNewMessages, xt as useListFocus, y as ScrollKeyboardAccess, yn as FieldControlStateInput, yr as UseChatNewMessagesOptions, yt as ListFocusOrientation, z as UseOverflowReturn, zn as ParsedTime, zr as spanDays, zt as UseInputStatusIconReturn } from "../index-DCU6dy7n.js";
2
2
  import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-aGzrvRkI.js";
3
3
  import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-CU-kfqeJ.js";
4
4
  import { t as characterCount } from "../characters-rcDbGt71.js";
5
5
  import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as percent, f as useResizable, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-fEGAFziz.js";
6
- export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useStreamingText, useTouchTrigger, useTypeahead };
6
+ export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useStreamingText, useTouchTrigger, useTypeahead };
@@ -1,31 +1,33 @@
1
- import { t as usePressFeedback } from "../usePressFeedback-Dhnfc3ee.js";
1
+ import { d as hasInteractiveAncestor, f as hasTextSelection, p as useClickableContainer, u as INTERACTIVE_SELECTORS } from "../pressFeedback-Bwwpex9q.js";
2
+ import { n as isMenuPressActivation, r as resetMenuPress } from "../strayClick-CY-_ImKv.js";
3
+ import { t as usePressFeedback } from "../usePressFeedback-Bcjsw9vv.js";
2
4
  import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-BmZyeKWE.js";
5
+ import { t as useDismiss } from "../useDismiss-0-Z-9D0A.js";
6
+ import { t as useLayer } from "../useLayer-CED-g4Q2.js";
7
+ import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
3
8
  import { t as useMediaQuery } from "../useMediaQuery-GMmgp28-.js";
4
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
5
10
  import { t as useAnnounce } from "../announce-B210eJVf.js";
6
11
  import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
7
12
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
8
13
  import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-oDfybEos.js";
9
- import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-CdGp_Cev.js";
10
14
  import { t as useClipboard } from "../useClipboard-Dk8cS810.js";
11
- import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, h as useCoarsePointer, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-BWDrzi3J.js";
12
15
  import { t as useCombobox } from "../useCombobox-CTo5C-gc.js";
16
+ import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useStreamingText, l as useImageMode, m as useContainerReveal, n as useTouchTrigger, o as useIndicatorFocusRing, p as useControllableState, r as snapToGraphemeBoundary, s as imageModeFromPixels, t as isActionTrigger, u as useGridRovingFocus } from "../composables-DqJzanJ5.js";
13
17
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
14
18
  import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-CIXoE_8k.js";
15
- import { n as useDevWarning, t as devWarn } from "../useDevWarning-DznOpOHT.js";
19
+ import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
16
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
17
- import { n as useDismiss } from "../usePositionedLayer-psKf3ano.js";
18
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
19
- import { n as selectFiles, t as formatFileSize } from "../useFileSelection-BPtaegqK.js";
20
- import { n as useFocusTrap, t as useRestoreFocus } from "../useRestoreFocus-XEKs5-gp.js";
22
+ import { n as selectFiles, t as formatFileSize } from "../useFileSelection-B44UpbvF.js";
23
+ import { n as useFocusTrap, t as useRestoreFocus } from "../useRestoreFocus-CEG0n2AK.js";
21
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
22
25
  import { n as useResizable, r as useHotkeys, t as percent } from "../useResizable-I3BCiLSL.js";
23
- import { t as useInputContainer } from "../useInputContainer-CLcYrby4.js";
24
- import { t as useInputStatusIcon } from "../useInputStatusIcon-BSVFtRQG.js";
26
+ import { t as useInputContainer } from "../useInputContainer-BpLtCA-U.js";
27
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-DCnx00BM.js";
25
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
26
- import { t as useLayer } from "../useLayer-Byjda3dD.js";
27
29
  import { t as useListFocus } from "../useListFocus-CbHkLT-X.js";
28
- import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "../useMenuPress-8foxY8z4.js";
30
+ import { a as useLongPress, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, r as menuPressStep, t as useMenuPress } from "../useMenuPress-BLPwY_m1.js";
29
31
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
30
32
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-fGHSSrFc.js";
31
33
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
@@ -1,29 +1,10 @@
1
- import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
2
1
  import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
3
- import { t as _sfc_main$1 } from "./Kbd-CV3LO2Ge.js";
4
- import { s as useAstryxMessages } from "./context-BLSiTojH.js";
5
- import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, shallowRef, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
2
+ import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
3
+ import { s as useAstryxMessages } from "./context-CV6TrhJY.js";
4
+ import { t as _sfc_main$1 } from "./Kbd-DyxKNYtE.js";
5
+ import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, h, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, toDisplayString, toValue, unref, vShow, watch, withDirectives } from "vue";
6
6
  import "../styles/indicator-focus-ring.css";
7
7
  import "../styles/keyboard-hint.css";
8
- //#region src/composables/useCoarsePointer.ts
9
- /** 粗指针(触摸)为 true。服务端和细指针设备为 false。 */
10
- function useCoarsePointer() {
11
- const coarse = shallowRef(false);
12
- let query;
13
- function update() {
14
- coarse.value = query?.matches ?? false;
15
- }
16
- onMounted(() => {
17
- query = window.matchMedia("(pointer: coarse)");
18
- update();
19
- query.addEventListener("change", update);
20
- });
21
- onScopeDispose(() => {
22
- query?.removeEventListener("change", update);
23
- });
24
- return computed(() => coarse.value);
25
- }
26
- //#endregion
27
8
  //#region src/composables/useContainerReveal.ts
28
9
  function useContainerReveal(options = {}) {
29
10
  function containerProps(reveal = {}) {
@@ -907,4 +888,4 @@ function useTouchTrigger(options) {
907
888
  };
908
889
  }
909
890
  //#endregion
910
- export { useKeyboardHint as a, perceptualLightness as c, useGridFocus as d, useEntryAnimation as f, useCoarsePointer as h, useStreamingText as i, useImageMode as l, useContainerReveal as m, useTouchTrigger as n, useIndicatorFocusRing as o, useControllableState as p, snapToGraphemeBoundary as r, imageModeFromPixels as s, isActionTrigger as t, useGridRovingFocus as u };
891
+ export { useKeyboardHint as a, perceptualLightness as c, useGridFocus as d, useEntryAnimation as f, useStreamingText as i, useImageMode as l, useContainerReveal as m, useTouchTrigger as n, useIndicatorFocusRing as o, useControllableState as p, snapToGraphemeBoundary as r, imageModeFromPixels as s, isActionTrigger as t, useGridRovingFocus as u };
@@ -0,0 +1,17 @@
1
+ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
+ import { computed } from "vue";
3
+ //#region src/InputGroup/context.ts
4
+ const INPUT_GROUP_KEY = defineLayerScopedKey("InputGroup", null);
5
+ function useInputGroupContext() {
6
+ return readLayerScoped(INPUT_GROUP_KEY);
7
+ }
8
+ /**
9
+ * 组内控件实际的禁用状态:自己禁用,或者所在的 InputGroup(含外层嵌套的组)禁用。
10
+ * 组重新启用时,自己设了禁用的控件仍保持禁用。
11
+ */
12
+ function useInputGroupDisabled(ownDisabled) {
13
+ const group = useInputGroupContext();
14
+ return computed(() => Boolean(ownDisabled()) || (group?.disabled.value ?? false));
15
+ }
16
+ //#endregion
17
+ export { useInputGroupContext as n, useInputGroupDisabled as r, INPUT_GROUP_KEY as t };