@astryx-vue/core 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-Dorcqkwf.js → AlertDialog-CBkJecfc.js} +1 -1
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AvatarGroup/index.d.ts +1 -1
  5. package/dist/Banner/index.d.ts +1 -1
  6. package/dist/Banner/index.js +1 -1
  7. package/dist/{Banner-Df9SFUhh.js → Banner-CswzZPfJ.js} +1 -1
  8. package/dist/Breadcrumbs/index.d.ts +2 -2
  9. package/dist/Breadcrumbs/index.js +1 -1
  10. package/dist/{Breadcrumbs-kPETVOpi.js → Breadcrumbs-DRXYUqOk.js} +1 -1
  11. package/dist/Button/index.d.ts +1 -1
  12. package/dist/Button/index.js +1 -1
  13. package/dist/{Button-bxKFDhhg.js → Button-xMGOU3Wj.js} +25 -6
  14. package/dist/ButtonGroup/index.d.ts +1 -1
  15. package/dist/Calendar/index.d.ts +1 -1
  16. package/dist/Card/index.d.ts +1 -1
  17. package/dist/Carousel/index.js +1 -1
  18. package/dist/{Carousel-CeRJOasP.js → Carousel-2kgXe9Jj.js} +1 -1
  19. package/dist/Chat/index.d.ts +1 -1
  20. package/dist/Chat/index.js +1 -1
  21. package/dist/{Chat-CfvndIgD.js → Chat-sNg2CZ_P.js} +1 -1
  22. package/dist/CheckboxInput/index.d.ts +1 -1
  23. package/dist/CheckboxInput/index.js +1 -1
  24. package/dist/{CheckboxInput-CMtJ0qXQ.js → CheckboxInput-DDORpsYN.js} +2 -2
  25. package/dist/CheckboxList/index.d.ts +1 -1
  26. package/dist/CheckboxList/index.js +1 -1
  27. package/dist/{CheckboxList-Cg8GC1l2.js → CheckboxList-B8_wed6z.js} +3 -3
  28. package/dist/ClickableCard/index.d.ts +1 -1
  29. package/dist/ClickableCard/index.js +1 -1
  30. package/dist/{ClickableCard-ChAfiw9T.js → ClickableCard-DM66XZ07.js} +21 -10
  31. package/dist/Code/index.d.ts +1 -1
  32. package/dist/Code/index.js +1 -1
  33. package/dist/{CodeBlock-DSjv__N9.js → CodeBlock-CysuhZZ9.js} +1 -1
  34. package/dist/Collapsible/index.d.ts +1 -1
  35. package/dist/ComplexSelector/index.d.ts +1 -1
  36. package/dist/ComplexSelector/index.js +1 -1
  37. package/dist/{ComplexSelector-DcPOOrZp.js → ComplexSelector-32r0RVQE.js} +2 -2
  38. package/dist/ContextMenu/index.d.ts +2 -2
  39. package/dist/DateInput/index.d.ts +1 -1
  40. package/dist/DateInput/index.js +1 -1
  41. package/dist/{DateInput-BfR_bV-E.js → DateInput-B57PrbII.js} +3 -3
  42. package/dist/DateRangeInput/index.d.ts +1 -1
  43. package/dist/DateRangeInput/index.js +1 -1
  44. package/dist/{DateRangeInput-DholSURy.js → DateRangeInput-D-umWs1s.js} +4 -4
  45. package/dist/DateTimeInput/index.d.ts +1 -1
  46. package/dist/DateTimeInput/index.js +1 -1
  47. package/dist/{DateTimeInput-B6-bHZlz.js → DateTimeInput-BMw1A5Q3.js} +4 -4
  48. package/dist/Dialog/index.d.ts +1 -1
  49. package/dist/Dialog/index.js +1 -1
  50. package/dist/{Dialog-C2qblOuT.js → Dialog-CL8u76KG.js} +1 -1
  51. package/dist/DropdownMenu/index.d.ts +2 -2
  52. package/dist/DropdownMenu/index.js +2 -2
  53. package/dist/{DropdownMenu-DaxYMyco.js → DropdownMenu-C0QDklYy.js} +1 -1
  54. package/dist/{DropdownMenu-BwsljguO.js → DropdownMenu-DO9lDRvW.js} +1 -1
  55. package/dist/{DropdownMenuRadioItem.vue-C6W2wPLv.d.ts → DropdownMenuRadioItem.vue-D-VSfulY.d.ts} +1 -1
  56. package/dist/Field/index.js +3 -3
  57. package/dist/{Field-ff-Jmtg1.js → Field-DRQuVVlH.js} +1 -1
  58. package/dist/{FieldInfoTip-DRXvsWkr.js → FieldInfoTip-Ci5usYvE.js} +2 -2
  59. package/dist/{FieldLabel-CCA3AmQX.js → FieldLabel-MeJlcRRG.js} +1 -1
  60. package/dist/FileInput/index.d.ts +1 -1
  61. package/dist/FileInput/index.js +1 -1
  62. package/dist/{FileInput-CnBaHvNx.js → FileInput-lAMIbbni.js} +3 -3
  63. package/dist/HoverCard/index.d.ts +1 -1
  64. package/dist/IconButton/index.js +1 -1
  65. package/dist/{IconButton-BkR7nVB3.js → IconButton-BmMIccb4.js} +1 -1
  66. package/dist/{InputClearButton-DKnC8sst.js → InputClearButton-CBCi06tn.js} +1 -1
  67. package/dist/InputGroup/index.d.ts +1 -1
  68. package/dist/InputGroup/index.js +1 -1
  69. package/dist/{InputGroup-BBspcJsS.js → InputGroup-DN69Nt4T.js} +1 -1
  70. package/dist/Lightbox/index.js +1 -1
  71. package/dist/{Lightbox-DclM0Brf.js → Lightbox-DmrWEQY7.js} +1 -1
  72. package/dist/Link/index.js +1 -1
  73. package/dist/{Link-C50dTXDc.js → Link-Dq-v9ioN.js} +31 -7
  74. package/dist/List/index.d.ts +3 -3
  75. package/dist/List/index.js +1 -1
  76. package/dist/{ListItem-BQXMu1Tb.js → ListItem-Cq_nU1YV.js} +7 -0
  77. package/dist/Markdown/index.js +1 -1
  78. package/dist/{Markdown-Cs8R5hG6.js → Markdown-b8M7X3Pg.js} +2 -2
  79. package/dist/MoreMenu/index.d.ts +1 -1
  80. package/dist/MoreMenu/index.js +1 -1
  81. package/dist/{MoreMenu-BAgTOJL3.js → MoreMenu-op981Hx8.js} +2 -2
  82. package/dist/MultiSelector/index.d.ts +1 -1
  83. package/dist/MultiSelector/index.js +1 -1
  84. package/dist/{MultiSelector-V_VrLRdF.js → MultiSelector-DVqD6OEy.js} +4 -4
  85. package/dist/NavItem/index.d.ts +1 -1
  86. package/dist/NumberInput/index.d.ts +1 -1
  87. package/dist/NumberInput/index.js +1 -1
  88. package/dist/{NumberInput-C8iCWQih.js → NumberInput-DP7XAtGl.js} +4 -4
  89. package/dist/OverflowList/index.d.ts +1 -1
  90. package/dist/Overlay/index.d.ts +1 -1
  91. package/dist/Pagination/index.d.ts +1 -1
  92. package/dist/Pagination/index.js +1 -1
  93. package/dist/{Pagination-DfsCrTIx.js → Pagination-L0IDhBbo.js} +2 -2
  94. package/dist/Popover/index.d.ts +1 -1
  95. package/dist/Popover/index.js +1 -1
  96. package/dist/{Popover-Dmpyfb45.js → Popover-DsGCMcaU.js} +1 -1
  97. package/dist/PowerSearch/index.d.ts +1 -1
  98. package/dist/PowerSearch/index.js +1 -1
  99. package/dist/{PowerSearch-BX8pD6L4.js → PowerSearch-CBYYhpvA.js} +14 -14
  100. package/dist/ProgressBar/index.d.ts +1 -1
  101. package/dist/Radio/index.d.ts +1 -1
  102. package/dist/Radio/index.js +1 -1
  103. package/dist/{RadioGroup-Bcu-oL8r.js → RadioGroup-aPYacVf4.js} +1 -1
  104. package/dist/RadioList/index.d.ts +1 -1
  105. package/dist/RadioList/index.js +1 -1
  106. package/dist/{RadioList-C8Y3PhDF.js → RadioList-bSQ-r2bJ.js} +1 -1
  107. package/dist/ScrollableArea/index.d.ts +1 -1
  108. package/dist/SegmentedControl/index.d.ts +1 -1
  109. package/dist/SelectableCard/index.d.ts +1 -1
  110. package/dist/Selector/index.d.ts +1 -1
  111. package/dist/Selector/index.js +1 -1
  112. package/dist/{Selector-PBkInp3I.js → Selector-Dle5Lbvs.js} +3 -3
  113. package/dist/SideNav/index.d.ts +1 -1
  114. package/dist/SideNav/index.js +1 -1
  115. package/dist/{SideNav-CzhSOS4W.js → SideNav-2YawTRxj.js} +1 -1
  116. package/dist/Slider/index.js +1 -1
  117. package/dist/{Slider-BZwZrqCw.js → Slider-gMrMfGWl.js} +2 -2
  118. package/dist/Stepper/index.d.ts +1 -1
  119. package/dist/Switch/index.d.ts +1 -1
  120. package/dist/Switch/index.js +1 -1
  121. package/dist/{Switch-D145VGQZ.js → Switch-DBdLd0-t.js} +8 -3
  122. package/dist/TabList/index.d.ts +1 -1
  123. package/dist/Table/index.d.ts +1 -1
  124. package/dist/Table/index.js +1 -1
  125. package/dist/{Table-B2bj8INX.js → Table-BwfRe7_x.js} +9 -9
  126. package/dist/TextArea/index.d.ts +1 -1
  127. package/dist/TextArea/index.js +1 -1
  128. package/dist/{TextArea-Dxl4UuIg.js → TextArea-DpDQCb59.js} +4 -4
  129. package/dist/TextInput/index.d.ts +1 -1
  130. package/dist/TextInput/index.js +1 -1
  131. package/dist/{TextInput-Ciy-VyBn.js → TextInput-CzAq1vnQ.js} +4 -4
  132. package/dist/Thumbnail/index.js +1 -1
  133. package/dist/{Thumbnail-DnWOc0od.js → Thumbnail-CiTkiqS_.js} +1 -1
  134. package/dist/{TimeField-Bglx_QpO.js → TimeField-Dajh0ej2.js} +2 -2
  135. package/dist/TimeInput/index.d.ts +1 -1
  136. package/dist/TimeInput/index.js +1 -1
  137. package/dist/{TimeInput-T_kjTVaa.js → TimeInput-BVrrBcMF.js} +2 -2
  138. package/dist/Timestamp/index.d.ts +1 -1
  139. package/dist/Timestamp/index.js +1 -1
  140. package/dist/{Timestamp-DUUoQOjg.js → Timestamp-Bf6iQTk6.js} +26 -10
  141. package/dist/ToggleButton/index.d.ts +1 -1
  142. package/dist/ToggleButton/index.js +1 -1
  143. package/dist/{ToggleButton-BaTlbgA5.js → ToggleButton-Cq82SwPx.js} +3 -2
  144. package/dist/Token/index.d.ts +1 -1
  145. package/dist/Token/index.js +1 -1
  146. package/dist/{Token-BHzLrzib.js → Token-CBrEN21_.js} +22 -13
  147. package/dist/Tokenizer/index.d.ts +1 -1
  148. package/dist/Tokenizer/index.js +1 -1
  149. package/dist/{Tokenizer-BxJM9mMl.js → Tokenizer-DxOCrbq3.js} +4 -4
  150. package/dist/Toolbar/index.d.ts +1 -1
  151. package/dist/Tooltip/index.d.ts +1 -1
  152. package/dist/TopNav/index.d.ts +1 -1
  153. package/dist/Typeahead/index.d.ts +1 -1
  154. package/dist/Typeahead/index.js +2 -2
  155. package/dist/{Typeahead-C7e2vky1.js → Typeahead-XpX5aA-Q.js} +4 -4
  156. package/dist/{TypeaheadMenu-wfBWRFQ6.js → TypeaheadMenu-By-HLpFy.js} +4 -0
  157. package/dist/composables/index.js +1 -1
  158. package/dist/disabledInteraction-C9lrgFxB.js +28 -0
  159. package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
  160. package/dist/{index-jBub29ti.d.ts → index-B1WWphal.d.ts} +1 -1
  161. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  162. package/dist/{index-DbiZvj1P.d.ts → index-B8EnP-PB.d.ts} +1 -1
  163. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  164. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  165. package/dist/{index-BnEhvmdR.d.ts → index-BaxM-pFP.d.ts} +4 -4
  166. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  167. package/dist/{index-CUCcYKxl.d.ts → index-C3f1zsJR.d.ts} +6 -3
  168. package/dist/{index-Ds201-d2.d.ts → index-C732aNMY.d.ts} +2 -2
  169. package/dist/{index-C1zwvxPH.d.ts → index-CL8JvxHW.d.ts} +2 -2
  170. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  171. package/dist/{index-CuEB_3NR.d.ts → index-C_6RCsGf.d.ts} +1 -1
  172. package/dist/{index-CVn0GBdB.d.ts → index-ChOyJzJh.d.ts} +1 -1
  173. package/dist/{index-CPo4LcHV.d.ts → index-CqSDC6Af.d.ts} +5 -5
  174. package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
  175. package/dist/{index-DXJ3U3ve.d.ts → index-DLAG3m9W.d.ts} +2 -2
  176. package/dist/{index-Eq5mEh80.d.ts → index-DR3eQt87.d.ts} +59 -59
  177. package/dist/{index-BUlAPQW0.d.ts → index-DTyX3QfK.d.ts} +5 -5
  178. package/dist/{index-BhLLG-Gi.d.ts → index-D_K1wfRa.d.ts} +2 -2
  179. package/dist/{index-8px-LKw_.d.ts → index-Dacg7XTH.d.ts} +2 -2
  180. package/dist/{index-C7sam-SB.d.ts → index-Dl4Kx5Pl.d.ts} +1 -1
  181. package/dist/{index-Cq31D3fJ.d.ts → index-GpET2_oj.d.ts} +1 -1
  182. package/dist/{index-EvhMa33P.d.ts → index-RW8kvEwf.d.ts} +4 -4
  183. package/dist/{index-j0WJTviq.d.ts → index-TA1zVibb.d.ts} +2 -2
  184. package/dist/{index-D_hTdmy2.d.ts → index-WrrH8ulk.d.ts} +6 -6
  185. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  186. package/dist/{index-B9e52paP.d.ts → index-rszZajcw.d.ts} +7 -4
  187. package/dist/index.d.ts +32 -32
  188. package/dist/index.js +52 -52
  189. package/dist/{searchResultMessage-Do17kweN.js → searchResultMessage-DEyqvflW.js} +1 -1
  190. package/dist/{types-DGYHIu4I.d.ts → types-Dxs5rf-2.d.ts} +40 -7
  191. package/dist/{useInputStatusIcon-yj_rY6TQ.js → useInputStatusIcon-BZPOzGDC.js} +1 -1
  192. package/dist/utils/index.js +1 -1
  193. package/dist/{utils-z3Q6BGIJ.js → utils-BE5HBOBX.js} +6 -10
  194. package/package.json +1 -1
  195. package/styles/list.css +68 -6
  196. package/styles/markdown.css +9 -0
  197. package/styles/pagination.css +9 -0
  198. package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
@@ -3,7 +3,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
3
3
  import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
4
4
  import { t as _sfc_main$3 } from "./Tooltip-sAM8i1eO.js";
5
5
  import { t as useIndicator } from "./useIndicator-fTOZfYVI.js";
6
- import { t as _sfc_main$4 } from "./Field-ff-Jmtg1.js";
6
+ import { t as _sfc_main$4 } from "./Field-DRQuVVlH.js";
7
7
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
8
8
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, withCtx } from "vue";
9
9
  import "../styles/radio.css";
@@ -1,2 +1,2 @@
1
- import { Dr as _default, Er as RadioListItemProps, Pr as RadioListProps, Tr as _default$1 } from "../index-Eq5mEh80.js";
1
+ import { Dr as _default, Er as RadioListItemProps, Pr as RadioListProps, Tr as _default$1 } from "../index-DR3eQt87.js";
2
2
  export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-C8Y3PhDF.js";
1
+ import { n as _sfc_main, t as _sfc_main$1 } from "../RadioList-bSQ-r2bJ.js";
2
2
  export { _sfc_main as RadioList, _sfc_main$1 as RadioListItem };
@@ -1,4 +1,4 @@
1
- import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-Bcu-oL8r.js";
1
+ import { n as _sfc_main$3, t as _sfc_main$2 } from "./RadioGroup-aPYacVf4.js";
2
2
  import { createBlock, createSlots, defineComponent, mergeModels, openBlock, renderSlot, useModel, withCtx } from "vue";
3
3
  //#region src/Radio/RadioList.vue
4
4
  const _sfc_main$1 = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { Cr as ScrollableAreaProps, Sr as _default, wr as ScrollableAreaSlots } from "../index-Eq5mEh80.js";
1
+ import { Cr as ScrollableAreaProps, Sr as _default, wr as ScrollableAreaSlots } from "../index-DR3eQt87.js";
2
2
  export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
@@ -1,2 +1,2 @@
1
- import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-gW0HW02U.js";
1
+ import { a as SegmentedControlItemProps, c as SegmentedControlProps, i as SegmentedControlEmits, l as SegmentedControlSize, n as _default, o as SegmentedControlItemSlots, r as SegmentedControlContextValue, s as SegmentedControlLayout, t as _default$1, u as SegmentedControlSlots } from "../index-COxy6LEW.js";
2
2
  export { _default as SegmentedControl, type SegmentedControlContextValue, type SegmentedControlEmits, _default$1 as SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlItemSlots, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlSlots };
@@ -1,2 +1,2 @@
1
- import { br as SelectableCardProps, vr as _default, xr as SelectableCardSlots, yr as SelectableCardEmits } from "../index-Eq5mEh80.js";
1
+ import { br as SelectableCardProps, vr as _default, xr as SelectableCardSlots, yr as SelectableCardEmits } from "../index-DR3eQt87.js";
2
2
  export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardProps, type SelectableCardSlots };
@@ -1,2 +1,2 @@
1
- import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-CPo4LcHV.js";
1
+ import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-CqSDC6Af.js";
2
2
  export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Selector-PBkInp3I.js";
1
+ import { t as _sfc_main } from "../Selector-Dle5Lbvs.js";
2
2
  export { _sfc_main as Selector };
@@ -1,6 +1,6 @@
1
1
  import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
2
2
  import { t as _sfc_main$3 } from "./VisuallyHidden-C7NN3VEP.js";
3
- import { n as useButtonTooltip } from "./Button-bxKFDhhg.js";
3
+ import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
4
4
  import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { t as useAnnounce } from "./announce-B210eJVf.js";
6
6
  import { t as useCombobox } from "./useCombobox-CTo5C-gc.js";
@@ -13,11 +13,11 @@ import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
13
13
  import { t as _sfc_main$5 } from "./BottomSheet-B4sc3F1S.js";
14
14
  import { t as _sfc_main$6 } from "./Spinner-B7xuy3ZA.js";
15
15
  import { t as useIndicator } from "./useIndicator-fTOZfYVI.js";
16
- import { t as _sfc_main$7 } from "./Field-ff-Jmtg1.js";
16
+ import { t as _sfc_main$7 } from "./Field-DRQuVVlH.js";
17
17
  import { n as useInputGroupContext } from "./context-IvbU9c3T.js";
18
18
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
19
19
  import { n as fieldStatusPlacement, t as normalizeTriggerVariant } from "./triggerVariant-BsL8jMHs.js";
20
- import { n as _sfc_main$8, t as searchResultMessage } from "./searchResultMessage-Do17kweN.js";
20
+ import { n as _sfc_main$8, t as searchResultMessage } from "./searchResultMessage-DEyqvflW.js";
21
21
  import { n as OptionAction, r as isOptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-CkJcuvaU.js";
22
22
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
23
23
  import "../styles/layer.css";
@@ -1,2 +1,2 @@
1
- import { $n as _default$3, Qn as _default$4, _r as useSideNavCollapse, ar as SideNavCollapseButtonSlots, cr as SideNavEmits, dr as SideNavItemEmits, er as _default$2, fr as SideNavItemProps, gr as SideNavCollapseContext, hr as SideNavSectionProps, ir as SideNavCollapseButtonSize, lr as SideNavHandle, mr as SideNavResizable, nr as _default, or as SideNavCollapsible, pr as SideNavProps, rr as SideNavCollapseButtonProps, sr as SideNavControlledCollapsible, tr as _default$1, ur as SideNavHeadingProps } from "../index-Eq5mEh80.js";
1
+ import { $n as _default$3, Qn as _default$4, _r as useSideNavCollapse, ar as SideNavCollapseButtonSlots, cr as SideNavEmits, dr as SideNavItemEmits, er as _default$2, fr as SideNavItemProps, gr as SideNavCollapseContext, hr as SideNavSectionProps, ir as SideNavCollapseButtonSize, lr as SideNavHandle, mr as SideNavResizable, nr as _default, or as SideNavCollapsible, pr as SideNavProps, rr as SideNavCollapseButtonProps, sr as SideNavControlledCollapsible, tr as _default$1, ur as SideNavHeadingProps } from "../index-DR3eQt87.js";
2
2
  export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
@@ -1,3 +1,3 @@
1
1
  import { r as useSideNavCollapse } from "../context-BjNya0v8.js";
2
- import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-CzhSOS4W.js";
2
+ import { a as _sfc_main$1, i as _sfc_main, n as _sfc_main$3, r as _sfc_main$2, t as _sfc_main$4 } from "../SideNav-2YawTRxj.js";
3
3
  export { _sfc_main as SideNav, _sfc_main$1 as SideNavCollapseButton, _sfc_main$2 as SideNavHeading, _sfc_main$3 as SideNavItem, _sfc_main$4 as SideNavSection, useSideNavCollapse };
@@ -1,6 +1,6 @@
1
1
  import { t as _sfc_main$5 } from "./Icon-Dosui-zD.js";
2
2
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
3
- import { t as _sfc_main$6 } from "./Button-bxKFDhhg.js";
3
+ import { t as _sfc_main$6 } from "./Button-xMGOU3Wj.js";
4
4
  import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
5
5
  import { n as useResizable, r as useHotkeys } from "./useResizable-I3BCiLSL.js";
6
6
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Slider-BZwZrqCw.js";
1
+ import { t as _sfc_main } from "../Slider-gMrMfGWl.js";
2
2
  export { _sfc_main as Slider };
@@ -1,9 +1,9 @@
1
1
  import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
2
  import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
3
- import { n as useButtonTooltip } from "./Button-bxKFDhhg.js";
3
+ import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
4
4
  import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
6
- import { t as _sfc_main$4 } from "./Field-ff-Jmtg1.js";
6
+ import { t as _sfc_main$4 } from "./Field-DRQuVVlH.js";
7
7
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
8
8
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx, withKeys } from "vue";
9
9
  import "../styles/button.css";
@@ -1,2 +1,2 @@
1
- import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-CVn0GBdB.js";
1
+ import { a as StepProps, c as StepperCollapsedVariant, d as StepperIndicatorPosition, f as StepperOrientation, i as StepProgress, l as StepperDensity, m as StepperSlots, n as _default, o as StepSlots, p as StepperProps, r as StepIndicator, s as StepStatus, t as _default$1, u as StepperHorizontalOptions } from "../index-ChOyJzJh.js";
2
2
  export { _default as Step, type StepIndicator, type StepProgress, type StepProps, type StepSlots, type StepStatus, _default$1 as Stepper, type StepperCollapsedVariant, type StepperDensity, type StepperHorizontalOptions, type StepperIndicatorPosition, type StepperOrientation, type StepperProps, type StepperSlots };
@@ -1,2 +1,2 @@
1
- import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-Eq5mEh80.js";
1
+ import { Gn as SwitchChangeEvent, Jn as SwitchSize, Kn as SwitchEmits, Un as _default, Wn as SwitchChangeAction, Xn as SwitchStatus, Yn as SwitchSlots, Zn as SwitchStatusType, qn as SwitchProps } from "../index-DR3eQt87.js";
2
2
  export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Switch-D145VGQZ.js";
1
+ import { t as _sfc_main } from "../Switch-DBdLd0-t.js";
2
2
  export { _sfc_main as Switch };
@@ -1,11 +1,11 @@
1
1
  import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
2
  import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
3
- import { n as useButtonTooltip } from "./Button-bxKFDhhg.js";
3
+ import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
4
4
  import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { t as useAnnounce } from "./announce-B210eJVf.js";
6
6
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
7
7
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
8
- import { t as _sfc_main$3 } from "./FieldLabel-CCA3AmQX.js";
8
+ import { t as _sfc_main$3 } from "./FieldLabel-MeJlcRRG.js";
9
9
  import { t as _sfc_main$4 } from "./FieldStatus-BGM4IlHy.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";
@@ -202,6 +202,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
202
202
  showsDisabledMessage.value ? disabledId : void 0
203
203
  ].filter(Boolean).join(" ") || void 0;
204
204
  }
205
+ function labelledBy() {
206
+ const external = attrs["aria-labelledby"];
207
+ if (typeof external === "string" && external.trim() !== "") return external;
208
+ return `${inputId.value}-label`;
209
+ }
205
210
  function syncNative() {
206
211
  if (input.value) input.value.checked = action.value.value;
207
212
  }
@@ -254,7 +259,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
254
259
  form: showsDisabledMessage.value ? "" : inputAttrs().form,
255
260
  readonly: __props.isReadOnly || showsDisabledMessage.value,
256
261
  "aria-checked": unref(action).value.value,
257
- "aria-labelledby": [`${inputId.value}-label`, unref(attrs)["aria-labelledby"]].filter(Boolean).join(" "),
262
+ "aria-labelledby": labelledBy(),
258
263
  "aria-describedby": describedBy(),
259
264
  "aria-disabled": showsDisabledMessage.value || void 0,
260
265
  "aria-readonly": __props.isReadOnly || void 0,
@@ -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-DXJ3U3ve.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-DLAG3m9W.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,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-Eq5mEh80.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-DR3eQt87.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-BJ0DaMml.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-B2bj8INX.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-BwfRe7_x.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,6 +1,6 @@
1
1
  import { t as _sfc_main$15 } from "./Icon-Dosui-zD.js";
2
2
  import { t as _sfc_main$16 } from "./VisuallyHidden-C7NN3VEP.js";
3
- import { t as _sfc_main$17 } from "./Button-bxKFDhhg.js";
3
+ import { t as _sfc_main$17 } from "./Button-xMGOU3Wj.js";
4
4
  import { n as useLayerTeleportTarget } from "./useLayerMountTarget-BmZyeKWE.js";
5
5
  import { n as firstCharacter } from "./characters-wTnzjkkR.js";
6
6
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
@@ -8,14 +8,14 @@ import { n as useCollator } from "./locale-D4DoSjrL.js";
8
8
  import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
9
9
  import { t as _sfc_main$18 } from "./Tooltip-sAM8i1eO.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
11
- import { t as _sfc_main$19 } from "./CheckboxInput-CMtJ0qXQ.js";
12
- import { t as _sfc_main$20 } from "./Popover-Dmpyfb45.js";
13
- import { t as _sfc_main$21 } from "./DateInput-BfR_bV-E.js";
14
- import { t as _sfc_main$22 } from "./MultiSelector-V_VrLRdF.js";
15
- import { t as _sfc_main$23 } from "./NumberInput-C8iCWQih.js";
16
- import { t as _sfc_main$24 } from "./Pagination-DfsCrTIx.js";
17
- import { t as _sfc_main$25 } from "./Selector-PBkInp3I.js";
18
- import { t as _sfc_main$26 } from "./TextInput-Ciy-VyBn.js";
11
+ import { t as _sfc_main$19 } from "./CheckboxInput-DDORpsYN.js";
12
+ import { t as _sfc_main$20 } from "./Popover-DsGCMcaU.js";
13
+ import { t as _sfc_main$21 } from "./DateInput-B57PrbII.js";
14
+ import { t as _sfc_main$22 } from "./MultiSelector-DVqD6OEy.js";
15
+ import { t as _sfc_main$23 } from "./NumberInput-DP7XAtGl.js";
16
+ import { t as _sfc_main$24 } from "./Pagination-L0IDhBbo.js";
17
+ import { t as _sfc_main$25 } from "./Selector-Dle5Lbvs.js";
18
+ import { t as _sfc_main$26 } from "./TextInput-CzAq1vnQ.js";
19
19
  import { t as _sfc_main$27 } from "./Toolbar-DKld_COt.js";
20
20
  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";
21
21
  import "../styles/layer.css";
@@ -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-Eq5mEh80.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-DR3eQt87.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-Dxl4UuIg.js";
1
+ import { t as _sfc_main } from "../TextArea-DpDQCb59.js";
2
2
  export { _sfc_main as TextArea };
@@ -1,16 +1,16 @@
1
1
  import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
2
2
  import { t as _sfc_main$2 } from "./VisuallyHidden-C7NN3VEP.js";
3
- import { n as useButtonTooltip, r as _sfc_main$3 } from "./Button-bxKFDhhg.js";
3
+ import { n as useButtonTooltip, r as _sfc_main$3 } from "./Button-xMGOU3Wj.js";
4
4
  import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { t as characterCount } from "./characters-wTnzjkkR.js";
6
6
  import { t as useAnnounce } from "./announce-B210eJVf.js";
7
7
  import { t as useInputContainer } from "./useInputContainer-CLcYrby4.js";
8
- import { t as _sfc_main$5 } from "./FieldInfoTip-DRXvsWkr.js";
8
+ import { t as _sfc_main$5 } from "./FieldInfoTip-Ci5usYvE.js";
9
9
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
10
10
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
11
- import { t as _sfc_main$6 } from "./Field-ff-Jmtg1.js";
11
+ import { t as _sfc_main$6 } from "./Field-DRQuVVlH.js";
12
12
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
13
- import { t as _sfc_main$7 } from "./InputClearButton-DKnC8sst.js";
13
+ import { t as _sfc_main$7 } from "./InputClearButton-CBCi06tn.js";
14
14
  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";
15
15
  import "../styles/text-area.css";
16
16
  //#region src/TextArea/useTextAreaAction.ts
@@ -1,2 +1,2 @@
1
- import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-Eq5mEh80.js";
1
+ import { ct as TextInputChangeEvent, dt as TextInputSize, ft as TextInputSlots, ht as TextInputType, lt as TextInputEmits, mt as TextInputStatusType, ot as _default, pt as TextInputStatus, st as TextInputChangeAction, ut as TextInputProps } from "../index-DR3eQt87.js";
2
2
  export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TextInput-Ciy-VyBn.js";
1
+ import { t as _sfc_main } from "../TextInput-CzAq1vnQ.js";
2
2
  export { _sfc_main as TextInput };
@@ -1,13 +1,13 @@
1
1
  import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
2
- import { n as useButtonTooltip, r as _sfc_main$2 } from "./Button-bxKFDhhg.js";
2
+ import { n as useButtonTooltip, r as _sfc_main$2 } from "./Button-xMGOU3Wj.js";
3
3
  import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
4
4
  import { t as useInputContainer } from "./useInputContainer-CLcYrby4.js";
5
- import { t as useInputStatusIcon } from "./useInputStatusIcon-yj_rY6TQ.js";
5
+ import { t as useInputStatusIcon } from "./useInputStatusIcon-BZPOzGDC.js";
6
6
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
7
7
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
8
- import { t as _sfc_main$4 } from "./Field-ff-Jmtg1.js";
8
+ import { t as _sfc_main$4 } from "./Field-DRQuVVlH.js";
9
9
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
10
- import { t as _sfc_main$5 } from "./InputClearButton-DKnC8sst.js";
10
+ import { t as _sfc_main$5 } from "./InputClearButton-CBCi06tn.js";
11
11
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
12
12
  import "../styles/text-input.css";
13
13
  //#region src/TextInput/useTextInputAction.ts
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Thumbnail-DnWOc0od.js";
1
+ import { t as _sfc_main } from "../Thumbnail-CiTkiqS_.js";
2
2
  export { _sfc_main as Thumbnail };
@@ -1,6 +1,6 @@
1
1
  import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
2
  import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
3
- import { t as _sfc_main$2 } from "./IconButton-BkR7nVB3.js";
3
+ import { t as _sfc_main$2 } from "./IconButton-BmMIccb4.js";
4
4
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
5
5
  import { t as _sfc_main$3 } from "./Tooltip-sAM8i1eO.js";
6
6
  import { t as _sfc_main$4 } from "./Spinner-B7xuy3ZA.js";
@@ -1,12 +1,12 @@
1
1
  import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
2
2
  import { t as _sfc_main$3 } from "./VisuallyHidden-C7NN3VEP.js";
3
- import { n as useButtonTooltip } from "./Button-bxKFDhhg.js";
3
+ import { n as useButtonTooltip } from "./Button-xMGOU3Wj.js";
4
4
  import { t as _sfc_main$4 } from "./ButtonTooltip-CNKOQHYR.js";
5
5
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
6
6
  import { a as isImeKeyEvent } from "./layerDepth-CNDh-IHb.js";
7
7
  import { n as useDismiss, t as usePositionedLayer } from "./usePositionedLayer-B7cvG-_v.js";
8
8
  import { t as _sfc_main$5 } from "./FieldIcon--Qng2Cup.js";
9
- import { t as _sfc_main$6 } from "./IconButton-BkR7nVB3.js";
9
+ import { t as _sfc_main$6 } from "./IconButton-BmMIccb4.js";
10
10
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
11
11
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-BJd0xBhG.js";
12
12
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
@@ -1,2 +1,2 @@
1
- import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-Eq5mEh80.js";
1
+ import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-DR3eQt87.js";
2
2
  export { _default as TimeInput, type TimeInputEmits, type TimeInputProps, type TimeInputSize };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../TimeInput-T_kjTVaa.js";
1
+ import { t as _sfc_main } from "../TimeInput-BVrrBcMF.js";
2
2
  export { _sfc_main as TimeInput };
@@ -1,7 +1,7 @@
1
1
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
2
- import { t as _sfc_main$1 } from "./Field-ff-Jmtg1.js";
2
+ import { t as _sfc_main$1 } from "./Field-DRQuVVlH.js";
3
3
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
4
- import { t as _sfc_main$2 } from "./TimeField-Bglx_QpO.js";
4
+ import { t as _sfc_main$2 } from "./TimeField-Dajh0ej2.js";
5
5
  import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, unref, useAttrs, useId, useModel, withCtx } from "vue";
6
6
  //#region src/TimeInput/TimeInput.vue
7
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -1,2 +1,2 @@
1
- import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-Eq5mEh80.js";
1
+ import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-DR3eQt87.js";
2
2
  export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,3 +1,3 @@
1
1
  import { t as formatInstant } from "../formatInstant-BDWUIxS7.js";
2
- import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-DUUoQOjg.js";
2
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-Bf6iQTk6.js";
3
3
  export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,10 +1,10 @@
1
1
  import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
2
- import { t as _sfc_main$3 } from "./IconButton-BkR7nVB3.js";
2
+ import { t as _sfc_main$3 } from "./IconButton-BmMIccb4.js";
3
3
  import { o as useAstryxLocale, s as useAstryxMessages } from "./context-CVUee2tp.js";
4
4
  import { t as _sfc_main$4 } from "./Text-D5Cc7BMp.js";
5
5
  import { t as _sfc_main$5 } from "./HoverCard-BpJhT0sn.js";
6
6
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
7
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
7
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
8
8
  import "../styles/timestamp.css";
9
9
  //#region src/Timestamp/formatRelativeTime.ts
10
10
  const MINUTE = 60;
@@ -219,7 +219,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
219
219
  const props = __props;
220
220
  const locale = useAstryxLocale();
221
221
  const messages = useAstryxMessages();
222
- const now = ref(/* @__PURE__ */ new Date());
222
+ const now = ref(null);
223
223
  let timer;
224
224
  function parseValue(value) {
225
225
  if (typeof value === "number") return new Date(value < 0xe8d4a51000 ? value * 1e3 : value);
@@ -228,21 +228,37 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
228
228
  const date = computed(() => parseValue(props.value));
229
229
  const valid = computed(() => !Number.isNaN(date.value.getTime()));
230
230
  const iso = computed(() => valid.value ? date.value.toISOString() : "");
231
- const diffSeconds = computed(() => Math.round((now.value.getTime() - date.value.getTime()) / 1e3));
231
+ function isRelative(format) {
232
+ return format === "relative" || format === "relative_short";
233
+ }
234
+ /** 相对读数和按新旧切换的 auto 都取决于当前时间,其余格式只看值本身。 */
235
+ const readsClock = computed(() => props.format === "auto" || isRelative(props.format));
236
+ /**
237
+ * 只有客户端能读时钟:服务端没有 onMounted,hydration 那一趟也在 onMounted 之前。
238
+ * 挂载时读一次,之后 format 换成依赖时钟的格式时再补读。
239
+ */
240
+ function readClock() {
241
+ if (readsClock.value && now.value === null) now.value = /* @__PURE__ */ new Date();
242
+ }
243
+ onMounted(readClock);
244
+ watch(() => props.format, readClock);
245
+ const isClockPending = computed(() => readsClock.value && now.value === null);
246
+ const diffSeconds = computed(() => now.value === null ? 0 : Math.round((now.value.getTime() - date.value.getTime()) / 1e3));
232
247
  const effectiveFormat = computed(() => {
248
+ if (isClockPending.value) return "date_time";
233
249
  if (props.format !== "auto") return props.format;
234
250
  return Math.abs(diffSeconds.value) <= props.autoThreshold ? "relative" : "date_time";
235
251
  });
236
- function isRelative(format) {
237
- return format === "relative" || format === "relative_short";
238
- }
239
252
  const displayText = computed(() => {
240
253
  if (!valid.value) return "";
241
254
  const format = effectiveFormat.value;
242
- if (format === "relative") return formatRelativeTime(date.value, now.value, locale.value, "long");
243
- if (format === "relative_short") return formatRelativeTime(date.value, now.value, locale.value, "narrow");
255
+ if (format === "relative") return formatRelativeTime(date.value, now.value ?? date.value, locale.value, "long");
256
+ if (format === "relative_short") return formatRelativeTime(date.value, now.value ?? date.value, locale.value, "narrow");
244
257
  if (format === "auto") return "";
245
- return formatInstant(date.value, format, locale.value, { isTimezoneShown: props.isTimezoneShown });
258
+ return formatInstant(date.value, format, locale.value, isClockPending.value ? {
259
+ timeZone: "UTC",
260
+ isTimezoneShown: true
261
+ } : { isTimezoneShown: props.isTimezoneShown });
246
262
  });
247
263
  const ariaLabel = computed(() => valid.value && isRelative(effectiveFormat.value) ? formatInstant(date.value, "full", locale.value, { timeZoneNameStyle: "long" }) : void 0);
248
264
  const entries = computed(() => props.tooltipEntries != null && props.tooltipEntries.length > 0 ? props.tooltipEntries : void 0);
@@ -1,2 +1,2 @@
1
- import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-Eq5mEh80.js";
1
+ import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-DR3eQt87.js";
2
2
  export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-BaTlbgA5.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as ToggleButton_default } from "../ToggleButton-Cq82SwPx.js";
2
2
  export { _sfc_main as ToggleButton, _sfc_main$1 as ToggleButtonGroup, ToggleButton_default as default };
@@ -1,5 +1,5 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
- import { t as _sfc_main$2 } from "./Button-bxKFDhhg.js";
2
+ import { t as _sfc_main$2 } from "./Button-xMGOU3Wj.js";
3
3
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, defineComponent, mergeModels, openBlock, provide, renderSlot, shallowRef, toDisplayString, useModel, useTemplateRef, withCtx } from "vue";
4
4
  import "../styles/toggle-button.css";
5
5
  //#region src/ToggleButton/context.ts
@@ -96,11 +96,12 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
96
96
  emit("click", event);
97
97
  return;
98
98
  }
99
+ emit("click", event);
100
+ if (event.defaultPrevented) return;
99
101
  const next = !isPressed.value;
100
102
  pressedIntent.value = next;
101
103
  emit("pressedChange", next, event);
102
104
  if (!event.defaultPrevented) isPressedModel.value = next;
103
- emit("click", event);
104
105
  }
105
106
  __expose({
106
107
  blur,
@@ -1,2 +1,2 @@
1
- import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-BqhgeAT4.js";
1
+ import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-CHx33xGa.js";
2
2
  export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
@@ -1,3 +1,3 @@
1
- import { t as _sfc_main } from "../Token-BHzLrzib.js";
1
+ import { t as _sfc_main } from "../Token-CBrEN21_.js";
2
2
  import { t as TOKEN_COLORS } from "../Token-BdRzlXzm.js";
3
3
  export { TOKEN_COLORS, _sfc_main as Token };
@@ -4,6 +4,7 @@ import { n as useLinkComponent } from "./context-C_peZbXf.js";
4
4
  import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
5
5
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
6
6
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
7
+ import { t as disabledInteractionProps } from "./disabledInteraction-C9lrgFxB.js";
7
8
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
8
9
  import "../styles/visually-hidden-utility.css";
9
10
  import "../styles/token.css";
@@ -13,8 +14,8 @@ const _hoisted_1 = {
13
14
  class: "astryx-token-icon",
14
15
  "aria-hidden": "true"
15
16
  };
16
- const _hoisted_2 = ["disabled"];
17
- const _hoisted_3 = ["aria-label", "disabled"];
17
+ const _hoisted_2 = ["aria-disabled"];
18
+ const _hoisted_3 = ["aria-label", "aria-disabled"];
18
19
  const _sfc_main = /*@__PURE__*/ defineComponent({
19
20
  name: "AstryxToken",
20
21
  inheritAttrs: false,
@@ -70,18 +71,28 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
70
71
  });
71
72
  const actionIsLink = computed(() => actionRole.role.value === "link");
72
73
  const actionIsButton = computed(() => actionRole.role.value === "button");
74
+ /** 禁用时不再用原生 disabled,改用可聚焦的 aria-disabled 加共用事件守卫。 */
75
+ const disabledInteraction = computed(() => props.disabled ? disabledInteractionProps() : void 0);
73
76
  const rootAttrs = computed(() => ({
74
77
  ...Object.fromEntries(Object.entries(attrs).filter(([key]) => key !== "onClick")),
75
78
  ...interactive.value && !props.disabled ? press.pressableProps : {}
76
79
  }));
77
80
  function runClick(event) {
78
- if (props.disabled) return;
81
+ if (props.disabled) {
82
+ event.preventDefault();
83
+ event.stopPropagation();
84
+ return;
85
+ }
79
86
  const listener = attrs.onClick;
80
87
  if (typeof listener === "function") listener(event);
81
88
  }
82
89
  function onRemoveClick(event) {
83
90
  event.stopPropagation();
84
- if (!props.disabled) emit("remove", event);
91
+ if (props.disabled) {
92
+ event.preventDefault();
93
+ return;
94
+ }
95
+ emit("remove", event);
85
96
  }
86
97
  function onKeydown(event) {
87
98
  if (props.disabled || !props.removable) return;
@@ -122,25 +133,23 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
122
133
  "to",
123
134
  "aria-disabled",
124
135
  "tabindex"
125
- ])) : actionIsButton.value ? (openBlock(), createElementBlock("button", {
136
+ ])) : actionIsButton.value ? (openBlock(), createElementBlock("button", mergeProps({
126
137
  key: 2,
127
138
  type: "button",
128
139
  class: "astryx-token-action",
129
- disabled: props.disabled,
130
- onClick: runClick
131
- }, [createElementVNode("span", { class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]) }, toDisplayString(props.label), 3)], 8, _hoisted_2)) : (openBlock(), createElementBlock("span", {
140
+ "aria-disabled": props.disabled || void 0
141
+ }, disabledInteraction.value, { onClick: runClick }), [createElementVNode("span", { class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }]) }, toDisplayString(props.label), 3)], 16, _hoisted_2)) : (openBlock(), createElementBlock("span", {
132
142
  key: 3,
133
143
  class: normalizeClass(["astryx-token-label", { "is-hidden": unref(hideLabel) }])
134
144
  }, toDisplayString(props.label), 3)),
135
145
  renderSlot(_ctx.$slots, "end", {}, () => [renderSlot(_ctx.$slots, "endContent")]),
136
- props.removable ? (openBlock(), createElementBlock("button", {
146
+ props.removable ? (openBlock(), createElementBlock("button", mergeProps({
137
147
  key: 4,
138
148
  type: "button",
139
149
  class: "astryx-token-remove",
140
150
  "aria-label": removeLabel.value,
141
- disabled: props.disabled,
142
- onClick: onRemoveClick
143
- }, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
151
+ "aria-disabled": props.disabled || void 0
152
+ }, disabledInteraction.value, { onClick: onRemoveClick }), [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
144
153
  width: "12",
145
154
  height: "12",
146
155
  viewBox: "0 0 16 16",
@@ -151,7 +160,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
151
160
  stroke: "currentColor",
152
161
  "stroke-width": "1.5",
153
162
  "stroke-linecap": "round"
154
- })], -1)])], 8, _hoisted_3)) : createCommentVNode("v-if", true)
163
+ })], -1)])], 16, _hoisted_3)) : createCommentVNode("v-if", true)
155
164
  ]),
156
165
  _: 3
157
166
  }, 16, [
@@ -1,2 +1,2 @@
1
- import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-mkbGYz8f.js";
1
+ import { a as TokenizerProps, c as TokenizerStatus, i as TokenizerOverflow, n as TokenizerChange, o as TokenizerSize, r as TokenizerEmits, s as TokenizerSlots, t as _default } from "../index-3t5RAfNP.js";
2
2
  export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };