@astryx-vue/core 0.6.1 → 0.7.1

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 (185) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-CBkJecfc.js → AlertDialog-Bya9zo9h.js} +3 -3
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/Avatar/index.js +1 -1
  5. package/dist/{Avatar-BSsueavl.js → Avatar-BHT4xY-0.js} +1 -1
  6. package/dist/AvatarGroup/index.d.ts +1 -1
  7. package/dist/AvatarGroup/index.js +1 -1
  8. package/dist/{AvatarGroup-DhVBdHeQ.js → AvatarGroup-ezWQX5UE.js} +5 -2
  9. package/dist/Banner/index.d.ts +1 -1
  10. package/dist/BottomSheet/index.js +2 -2
  11. package/dist/{BottomSheet-m54uCMJN.js → BottomSheet-BrxST6Zp.js} +2 -1
  12. package/dist/{BottomSheet-B4sc3F1S.js → BottomSheet-itRm1Yh5.js} +1 -0
  13. package/dist/Breadcrumbs/index.d.ts +2 -2
  14. package/dist/Breadcrumbs/index.js +1 -1
  15. package/dist/{Breadcrumbs-DRXYUqOk.js → Breadcrumbs-DYmOUlSu.js} +1 -1
  16. package/dist/Button/index.d.ts +1 -1
  17. package/dist/ButtonGroup/index.d.ts +1 -1
  18. package/dist/Calendar/index.d.ts +1 -1
  19. package/dist/Card/index.d.ts +1 -1
  20. package/dist/Chat/index.d.ts +1 -1
  21. package/dist/Chat/index.js +1 -1
  22. package/dist/{Chat-sNg2CZ_P.js → Chat-DpH2ob4k.js} +1 -1
  23. package/dist/CheckboxInput/index.d.ts +1 -1
  24. package/dist/CheckboxList/index.d.ts +1 -1
  25. package/dist/CheckboxList/index.js +1 -1
  26. package/dist/{CheckboxList-DnqRfWKg.js → CheckboxList-C4naSbfT.js} +1 -1
  27. package/dist/ClickableCard/index.d.ts +1 -1
  28. package/dist/ClickableCard/index.js +1 -1
  29. package/dist/{ClickableCard-DM66XZ07.js → ClickableCard-CGjr4c7g.js} +1 -1
  30. package/dist/Code/index.d.ts +1 -1
  31. package/dist/Collapsible/index.d.ts +1 -1
  32. package/dist/CommandPalette/index.d.ts +1 -1
  33. package/dist/CommandPalette/index.js +1 -1
  34. package/dist/{CommandPalette-DFxk2sil.js → CommandPalette-B6lzcEE4.js} +1 -1
  35. package/dist/ComplexSelector/index.js +1 -1
  36. package/dist/{ComplexSelector-32r0RVQE.js → ComplexSelector-CABdPOyw.js} +16 -3
  37. package/dist/ContextMenu/index.d.ts +2 -2
  38. package/dist/ContextMenu/index.js +1 -1
  39. package/dist/{ContextMenu-BH_yV1xZ.js → ContextMenu-DMSJQdZ5.js} +1 -1
  40. package/dist/DateInput/index.d.ts +1 -1
  41. package/dist/DateInput/index.js +1 -1
  42. package/dist/{DateInput-B57PrbII.js → DateInput-cVln1Xnn.js} +4 -6
  43. package/dist/DateRangeInput/index.d.ts +1 -1
  44. package/dist/DateTimeInput/index.d.ts +1 -1
  45. package/dist/DateTimeInput/index.js +1 -1
  46. package/dist/{DateTimeInput-BMw1A5Q3.js → DateTimeInput-CViJJt8m.js} +3 -3
  47. package/dist/Dialog/index.d.ts +1 -1
  48. package/dist/Dialog/index.js +3 -2
  49. package/dist/{Dialog-fhyxB00e.js → Dialog-BhxN-tp4.js} +1 -0
  50. package/dist/Dialog-Bn4eUNiy.js +49 -0
  51. package/dist/{Dialog-CL8u76KG.js → DialogHeader-B-Lz4rB5.js} +3 -49
  52. package/dist/Divider/index.d.ts +1 -1
  53. package/dist/Drawer/index.d.ts +2 -0
  54. package/dist/Drawer/index.js +2 -0
  55. package/dist/Drawer-DjSbpQcy.js +137 -0
  56. package/dist/DropdownMenu/index.d.ts +2 -2
  57. package/dist/DropdownMenu/index.js +2 -2
  58. package/dist/{DropdownMenu-C0QDklYy.js → DropdownMenu-CtrztU4N.js} +147 -30
  59. package/dist/{DropdownMenu-DO9lDRvW.js → DropdownMenu-CxbpuT2r.js} +2 -2
  60. package/dist/{DropdownMenuRadioItem.vue-D-VSfulY.d.ts → DropdownMenuRadioItem.vue-z0XU7pZS.d.ts} +9 -0
  61. package/dist/EmptyState/index.js +1 -1
  62. package/dist/{EmptyState-QNsJMLv1.js → EmptyState-CM7cJ9fJ.js} +2 -2
  63. package/dist/FileInput/index.d.ts +1 -1
  64. package/dist/Heading/index.js +1 -1
  65. package/dist/{Heading-BzBunfN7.js → Heading-Cdveyoqy.js} +1 -1
  66. package/dist/HoverCard/index.js +1 -1
  67. package/dist/{HoverCard-BpJhT0sn.js → HoverCard-C3zQizyS.js} +93 -67
  68. package/dist/InputGroup/index.d.ts +1 -1
  69. package/dist/Link/index.js +1 -1
  70. package/dist/{Link-Dq-v9ioN.js → Link-DZeCmoC7.js} +1 -1
  71. package/dist/List/index.d.ts +1 -1
  72. package/dist/Markdown/index.js +1 -1
  73. package/dist/{Markdown-b8M7X3Pg.js → Markdown-BrlfeGxD.js} +2 -2
  74. package/dist/MoreMenu/index.d.ts +1 -1
  75. package/dist/MoreMenu/index.js +1 -1
  76. package/dist/{MoreMenu-op981Hx8.js → MoreMenu-DOJ4A4bM.js} +1 -1
  77. package/dist/MultiSelector/index.d.ts +1 -1
  78. package/dist/MultiSelector/index.js +1 -1
  79. package/dist/{MultiSelector-DVqD6OEy.js → MultiSelector-r5acBuN0.js} +10 -5
  80. package/dist/NavItem/index.d.ts +1 -1
  81. package/dist/NumberInput/index.d.ts +1 -1
  82. package/dist/OverflowList/index.d.ts +1 -1
  83. package/dist/Overlay/index.d.ts +1 -1
  84. package/dist/Pagination/index.d.ts +1 -1
  85. package/dist/Pagination/index.js +1 -1
  86. package/dist/{Pagination-L0IDhBbo.js → Pagination-CYmPEKKt.js} +1 -1
  87. package/dist/Popover/index.d.ts +1 -1
  88. package/dist/PowerSearch/index.d.ts +1 -1
  89. package/dist/PowerSearch/index.js +1 -1
  90. package/dist/{PowerSearch-CBYYhpvA.js → PowerSearch-Dly2Behg.js} +9 -9
  91. package/dist/ProgressBar/index.d.ts +1 -1
  92. package/dist/ProgressBar/index.js +1 -1
  93. package/dist/{ProgressBar-VP4JS7vm.js → ProgressBar-DRXMv9wa.js} +1 -1
  94. package/dist/Radio/index.d.ts +1 -1
  95. package/dist/Radio/index.js +1 -1
  96. package/dist/{RadioGroup-aPYacVf4.js → RadioGroup-CoXtTIbN.js} +1 -1
  97. package/dist/RadioList/index.d.ts +1 -1
  98. package/dist/RadioList/index.js +1 -1
  99. package/dist/{RadioList-bSQ-r2bJ.js → RadioList-BT3EX9eg.js} +1 -1
  100. package/dist/ScrollableArea/index.d.ts +1 -1
  101. package/dist/SegmentedControl/index.d.ts +1 -1
  102. package/dist/SelectableCard/index.d.ts +1 -1
  103. package/dist/Selector/index.d.ts +1 -1
  104. package/dist/Selector/index.js +1 -1
  105. package/dist/{Selector-Dle5Lbvs.js → Selector-PYpxWfKo.js} +38 -15
  106. package/dist/SideNav/index.d.ts +1 -1
  107. package/dist/SideNav/index.js +1 -1
  108. package/dist/{SideNav-2YawTRxj.js → SideNav-BHdpZcGB.js} +1 -1
  109. package/dist/Stack/index.d.ts +1 -1
  110. package/dist/StatusDot/index.js +1 -1
  111. package/dist/{StatusDot-BS_ohXhd.js → StatusDot-Dp8aOfpX.js} +1 -1
  112. package/dist/Stepper/index.d.ts +1 -1
  113. package/dist/Switch/index.d.ts +1 -1
  114. package/dist/TabList/index.d.ts +1 -1
  115. package/dist/TabList/index.js +1 -1
  116. package/dist/{TabList-npiEQK-q.js → TabList-CXLDPFte.js} +30 -6
  117. package/dist/Table/index.d.ts +1 -1
  118. package/dist/Table/index.js +1 -1
  119. package/dist/{Table-DiCsQaqu.js → Table-DB1DBqHj.js} +5 -5
  120. package/dist/Text/index.js +1 -1
  121. package/dist/{Text-D5Cc7BMp.js → Text-ukuKa6kX.js} +1 -1
  122. package/dist/TextArea/index.d.ts +1 -1
  123. package/dist/TextInput/index.d.ts +1 -1
  124. package/dist/Thumbnail/index.js +1 -1
  125. package/dist/{Thumbnail-CiTkiqS_.js → Thumbnail-CyvBQAi6.js} +1 -1
  126. package/dist/{TimeField-Dajh0ej2.js → TimeField-BnXwqr_O.js} +8 -12
  127. package/dist/TimeInput/index.d.ts +1 -1
  128. package/dist/TimeInput/index.js +1 -1
  129. package/dist/{TimeInput-BVrrBcMF.js → TimeInput-68-3BdYQ.js} +1 -1
  130. package/dist/Timer/index.js +1 -1
  131. package/dist/{Timer-DFC8PhJl.js → Timer-DShkQlT0.js} +1 -1
  132. package/dist/Timestamp/index.d.ts +1 -1
  133. package/dist/Timestamp/index.js +1 -1
  134. package/dist/{Timestamp-Bf6iQTk6.js → Timestamp-CbDyOZFU.js} +2 -2
  135. package/dist/ToggleButton/index.d.ts +1 -1
  136. package/dist/Token/index.d.ts +1 -1
  137. package/dist/Token/index.js +1 -1
  138. package/dist/{Token-CBrEN21_.js → Token-DP3bU-8c.js} +1 -1
  139. package/dist/Tokenizer/index.d.ts +1 -1
  140. package/dist/Tokenizer/index.js +1 -1
  141. package/dist/{Tokenizer-DxOCrbq3.js → Tokenizer-DT1Kj9dR.js} +1 -1
  142. package/dist/Toolbar/index.d.ts +1 -1
  143. package/dist/Tooltip/index.js +1 -1
  144. package/dist/{Tooltip-sAM8i1eO.js → Tooltip-B0aQ9CKg.js} +8 -1
  145. package/dist/TopNav/index.d.ts +1 -1
  146. package/dist/TreeList/index.d.ts +1 -1
  147. package/dist/Typeahead/index.js +1 -1
  148. package/dist/{Typeahead-XpX5aA-Q.js → Typeahead-D4oT1wUP.js} +1 -1
  149. package/dist/{disabledInteraction-C9lrgFxB.js → disabledInteraction-CPzL8kVP.js} +20 -1
  150. package/dist/{index-DybUnyAp.d.ts → index--17eKu38.d.ts} +9 -9
  151. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  152. package/dist/{index-DbiZvj1P.d.ts → index-B8EnP-PB.d.ts} +1 -1
  153. package/dist/{index-j0WJTviq.d.ts → index-BAC56Bhr.d.ts} +3 -3
  154. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  155. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  156. package/dist/{index-C1zwvxPH.d.ts → index-BVQwXcnZ.d.ts} +1 -1
  157. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  158. package/dist/{index-mkbGYz8f.d.ts → index-Bn-v89Vt.d.ts} +3 -3
  159. package/dist/{index-UFlyBbRd.d.ts → index-BngdKVro.d.ts} +1 -1
  160. package/dist/{index-_pze-_fd.d.ts → index-C085uLOn.d.ts} +5 -5
  161. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  162. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  163. package/dist/{index-eP0-QrWx.d.ts → index-CW32PbaD.d.ts} +9 -9
  164. package/dist/{index-B5cFQLav.d.ts → index-CXdImpTj.d.ts} +218 -127
  165. package/dist/{index-Ca8VIE4l.d.ts → index-ChOyJzJh.d.ts} +2 -2
  166. package/dist/{index-hCpxKePE.d.ts → index-D5N9ikrS.d.ts} +1 -1
  167. package/dist/{index-BgT6mH3U.d.ts → index-D7ShT2c-.d.ts} +1 -1
  168. package/dist/{index-Cy1rEWC-.d.ts → index-DMcf0QeR.d.ts} +2 -2
  169. package/dist/{index-BhLLG-Gi.d.ts → index-DfsX0szf.d.ts} +3 -3
  170. package/dist/{index-BNaRK-s5.d.ts → index-DsaP4-eB.d.ts} +1 -1
  171. package/dist/{index-C_6RCsGf.d.ts → index-Gnewu6-J.d.ts} +1 -1
  172. package/dist/{index-Ds201-d2.d.ts → index-IfiA8CSr.d.ts} +3 -3
  173. package/dist/{index-B1WWphal.d.ts → index-IvAfdGCC.d.ts} +1 -1
  174. package/dist/{index-COgrQZIL.d.ts → index-YKCx03zD.d.ts} +2 -2
  175. package/dist/{index-EvhMa33P.d.ts → index-itjBXTrm.d.ts} +3 -3
  176. package/dist/{index-DXJ3U3ve.d.ts → index-oYGkhGRq.d.ts} +3 -3
  177. package/dist/{index-Dy746dfn.d.ts → index-unAZVFGz.d.ts} +1 -1
  178. package/dist/index.d.ts +68 -68
  179. package/dist/index.js +104 -102
  180. package/dist/{useMenuHover-Djreu23i.js → useMenuHover-Ctmp4Xkh.js} +1 -0
  181. package/package.json +5 -1
  182. package/styles/drawer.css +77 -0
  183. package/styles/dropdown-menu.css +28 -0
  184. package/styles.css +1 -0
  185. package/dist/{index-J6YRJ7Ul.d.ts → index-BJ9Wim6J.d.ts} +2 -2
@@ -10,12 +10,13 @@ import { t as useFieldControlState } from "./useFieldControlState-voICDrys.js";
10
10
  import { n as focusElement } from "./focus-l8jVTcqd.js";
11
11
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
12
12
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
13
- import { t as _sfc_main$5 } from "./BottomSheet-B4sc3F1S.js";
13
+ import { t as _sfc_main$5 } from "./BottomSheet-itRm1Yh5.js";
14
14
  import { t as _sfc_main$6 } from "./Spinner-B7xuy3ZA.js";
15
15
  import { t as useIndicator } from "./useIndicator-fTOZfYVI.js";
16
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
+ import { t as consumeWhileDisabled } from "./disabledInteraction-CPzL8kVP.js";
19
20
  import { n as fieldStatusPlacement, t as normalizeTriggerVariant } from "./triggerVariant-BsL8jMHs.js";
20
21
  import { n as _sfc_main$8, t as searchResultMessage } from "./searchResultMessage-DEyqvflW.js";
21
22
  import { n as OptionAction, r as isOptionAction, t as useOptionActionGrid } from "./useOptionActionGrid-CkJcuvaU.js";
@@ -384,6 +385,27 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
384
385
  }
385
386
  });
386
387
  //#endregion
388
+ //#region src/Selector/triggerActivation.ts
389
+ /**
390
+ * @file triggerActivation.ts
391
+ * @input 触发器需要的状态读取函数、面板开关和调用方回调
392
+ * @output 一对带禁用守卫的 click 与 keydown 处理函数
393
+ * @position Selector 内置触发器的激活入口(spec:AST-085 FR2)
394
+ */
395
+ function createTriggerActivation(options) {
396
+ return {
397
+ onClick(event) {
398
+ if (consumeWhileDisabled(event, options.isDisabled())) return;
399
+ options.emitClick(event);
400
+ if (options.canActivate()) options.toggle();
401
+ },
402
+ onKeyDown(event) {
403
+ if (consumeWhileDisabled(event, options.isDisabled())) return;
404
+ options.onKeyDown(event);
405
+ }
406
+ };
407
+ }
408
+ //#endregion
387
409
  //#region src/Selector/useSelectorPopup.ts
388
410
  /** 选项操作把弹出层锁成网格,并拦下行末方向键。 */
389
411
  function useSelectorPopup(options) {
@@ -441,7 +463,6 @@ function useSelectorPopup(options) {
441
463
  const _hoisted_1 = ["data-variant"];
442
464
  const _hoisted_2 = [
443
465
  "id",
444
- "disabled",
445
466
  "role",
446
467
  "aria-haspopup",
447
468
  "aria-expanded",
@@ -748,10 +769,6 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
748
769
  watch(announcement, (message) => {
749
770
  if (message) announce(message);
750
771
  });
751
- function onTriggerClick(event) {
752
- emit("click", event);
753
- if (control.canActivate.value) combobox.toggle();
754
- }
755
772
  function onTriggerFocus(event) {
756
773
  emit("focus", event);
757
774
  disabledTooltip.onFocus(event);
@@ -772,6 +789,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
772
789
  isSheet: () => isSheet.value,
773
790
  emitKeydown: (event) => emit("keydown", event)
774
791
  });
792
+ const { onClick: onTriggerClick, onKeyDown: onTriggerKeyDown } = createTriggerActivation({
793
+ isDisabled: () => control.isDisabled.value,
794
+ canActivate: () => control.canActivate.value,
795
+ toggle: () => combobox.toggle(),
796
+ emitClick: (event) => emit("click", event),
797
+ onKeyDown: (event) => popup.onTriggerKeyDown(event)
798
+ });
775
799
  const { gridMode, actionGrid, popupKind } = popup;
776
800
  function onOptionClick(option) {
777
801
  if (!option.disabled) combobox.select(option.value);
@@ -832,8 +856,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
832
856
  }]]),
833
857
  style: normalizeStyle(unref(parts).controlStyle()),
834
858
  "data-variant": triggerVariant.value,
835
- onPointerenter: _cache[2] || (_cache[2] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
836
- onPointerleave: _cache[3] || (_cache[3] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
859
+ onPointerenter: _cache[3] || (_cache[3] = (...args) => unref(disabledTooltip).onPointerEnter && unref(disabledTooltip).onPointerEnter(...args)),
860
+ onPointerleave: _cache[4] || (_cache[4] = (...args) => unref(disabledTooltip).onPointerLeave && unref(disabledTooltip).onPointerLeave(...args))
837
861
  }, [
838
862
  createElementVNode("button", mergeProps(unref(parts).forwardedAttrs(), {
839
863
  id: selectorId.value,
@@ -842,23 +866,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
842
866
  "is-open": unref(combobox).isOpen.value,
843
867
  "is-disabled": unref(control).isDisabled.value
844
868
  }],
845
- disabled: unref(control).isDisabled.value && !showsDisabledMessage.value,
846
869
  role: unref(control).isReadOnly.value || !props.searchable ? "combobox" : void 0,
847
870
  "aria-haspopup": unref(popupKind),
848
871
  "aria-expanded": unref(control).isReadOnly.value ? false : unref(combobox).isOpen.value,
849
872
  "aria-controls": unref(control).isReadOnly.value ? void 0 : listboxId.value,
850
873
  "aria-readonly": unref(control).isReadOnly.value || void 0,
851
- "aria-disabled": showsDisabledMessage.value || void 0,
874
+ "aria-disabled": unref(control).isDisabled.value || void 0,
852
875
  "aria-busy": unref(control).isLoading.value || void 0,
853
876
  "aria-required": props.isRequired || void 0,
854
877
  "aria-label": props.label,
855
878
  "aria-describedby": describedBy.value,
856
879
  "aria-autocomplete": props.searchable ? void 0 : "none",
857
880
  "aria-activedescendant": !props.searchable && !unref(control).isReadOnly.value ? unref(actionGrid).activeDescendant.value : void 0,
858
- onClick: onTriggerClick,
881
+ onClick: _cache[0] || (_cache[0] = (...args) => unref(onTriggerClick) && unref(onTriggerClick)(...args)),
859
882
  onFocus: onTriggerFocus,
860
- onBlur: _cache[0] || (_cache[0] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args)),
861
- onKeydown: _cache[1] || (_cache[1] = (...args) => unref(popup).onTriggerKeyDown && unref(popup).onTriggerKeyDown(...args))
883
+ onBlur: _cache[1] || (_cache[1] = (...args) => unref(disabledTooltip).onBlur && unref(disabledTooltip).onBlur(...args)),
884
+ onKeydown: _cache[2] || (_cache[2] = (...args) => unref(onTriggerKeyDown) && unref(onTriggerKeyDown)(...args))
862
885
  }), [createElementVNode("span", { class: normalizeClass(["astryx-selector-value", {
863
886
  "is-placeholder": !selectedOption.value,
864
887
  "is-rich": unref(slots).selected,
@@ -932,7 +955,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
932
955
  isSheet.value ? (openBlock(), createBlock(_sfc_main$5, {
933
956
  key: 2,
934
957
  "is-open": sheetOpen.value,
935
- "onUpdate:isOpen": _cache[4] || (_cache[4] = ($event) => sheetOpen.value = $event),
958
+ "onUpdate:isOpen": _cache[5] || (_cache[5] = ($event) => sheetOpen.value = $event),
936
959
  height: "hug",
937
960
  label: sheetLabel.value,
938
961
  padding: 2
@@ -1020,7 +1043,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1020
1043
  "width": "1px",
1021
1044
  "height": "1px"
1022
1045
  }
1023
- }, [_cache[5] || (_cache[5] = createElementVNode("option", { value: "" }, null, -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(flatOptions.value, (option) => {
1046
+ }, [_cache[6] || (_cache[6] = createElementVNode("option", { value: "" }, null, -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(flatOptions.value, (option) => {
1024
1047
  return openBlock(), createElementBlock("option", {
1025
1048
  key: option.value,
1026
1049
  value: option.value
@@ -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-B5cFQLav.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-CXdImpTj.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-2YawTRxj.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-BHdpZcGB.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 };
@@ -4,7 +4,7 @@ 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";
7
- import { t as _sfc_main$7 } from "./Tooltip-sAM8i1eO.js";
7
+ import { t as _sfc_main$7 } from "./Tooltip-B0aQ9CKg.js";
8
8
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
9
9
  import { i as useSideNavRenderMode, r as useSideNavCollapse, t as sideNavCollapseKey } from "./context-BjNya0v8.js";
10
10
  import { i as safeNavHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
@@ -1,3 +1,3 @@
1
1
  import { a as StackDirection, c as StackItemProps, d as StackProps, f as StackSizeValue, i as StackCrossAlignment, l as StackItemSize, m as VStackProps, n as SpacingStep, o as StackElement, p as StackWrap, r as StackAlignment, s as StackItemCrossAlignSelf, t as HStackProps, u as StackMainAlignment } from "../types-BTk0WZ0b.js";
2
- import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-BgT6mH3U.js";
2
+ import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../index-D7ShT2c-.js";
3
3
  export { _default as HStack, type HStackProps, type SpacingStep, _default$1 as Stack, type StackAlignment, type StackCrossAlignment, type StackDirection, type StackElement, _default$2 as StackItem, type StackItemCrossAlignSelf, type StackItemProps, type StackItemSize, type StackMainAlignment, type StackProps, type StackSizeValue, type StackWrap, _default$3 as VStack, type VStackProps };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../StatusDot-BS_ohXhd.js";
1
+ import { t as _sfc_main } from "../StatusDot-Dp8aOfpX.js";
2
2
  export { _sfc_main as StatusDot };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "./Tooltip-sAM8i1eO.js";
1
+ import { t as _sfc_main$1 } from "./Tooltip-B0aQ9CKg.js";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, toRaw, useSlots, withCtx } from "vue";
3
3
  import "../styles/status-dot.css";
4
4
  //#region src/StatusDot/StatusDot.vue
@@ -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-Ca8VIE4l.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-B5cFQLav.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-CXdImpTj.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 { 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-oYGkhGRq.js";
2
2
  export { _default as Tab, _default$1 as TabList, type TabListEdgeCompensation, type TabListLayout, type TabListOverflow, type TabListProps, type TabListSize, type TabListTab, _default$2 as TabMenu, type TabMenuOption, type TabMenuProps, type TabProps, type TabSlots };
@@ -1,2 +1,2 @@
1
- import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-npiEQK-q.js";
1
+ import { n as _sfc_main$1, r as _sfc_main, t as _sfc_main$2 } from "../TabList-CXLDPFte.js";
2
2
  export { _sfc_main as Tab, _sfc_main$1 as TabList, _sfc_main$2 as TabMenu };
@@ -8,7 +8,7 @@ import { s as useAstryxMessages } from "./context-CVUee2tp.js";
8
8
  import { t as useListFocus } from "./useListFocus-ChxLg0b4.js";
9
9
  import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
10
10
  import { n as isNavigableHref } from "./link-DuuA2eCL.js";
11
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, watch, withCtx, withModifiers } from "vue";
11
+ import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, watch, withCtx, withModifiers } from "vue";
12
12
  import "../styles/layer.css";
13
13
  import "../styles/visually-hidden-utility.css";
14
14
  import "../styles/tab-list.css";
@@ -430,6 +430,7 @@ const _hoisted_5 = [
430
430
  const _hoisted_6 = { class: "astryx-tab-menu-item-label" };
431
431
  const _sfc_main = /*@__PURE__*/ defineComponent({
432
432
  name: "AstryxTabMenu",
433
+ inheritAttrs: false,
433
434
  __name: "TabMenu",
434
435
  props: {
435
436
  label: {},
@@ -437,6 +438,22 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
437
438
  },
438
439
  setup(__props) {
439
440
  const props = __props;
441
+ const attrs = useAttrs();
442
+ /** 按钮自己的行为属性由组件决定,调用方传进来的同名值不覆盖它们。 */
443
+ const RESERVED_TRIGGER_ATTRS = /* @__PURE__ */ new Set([
444
+ "id",
445
+ "type",
446
+ "role",
447
+ "tabindex",
448
+ "aria-controls",
449
+ "aria-current",
450
+ "aria-expanded",
451
+ "aria-haspopup",
452
+ "aria-selected",
453
+ "onClick",
454
+ "onKeydown"
455
+ ]);
456
+ const triggerAttrs = computed(() => Object.fromEntries(Object.entries(attrs).filter(([name]) => !RESERVED_TRIGGER_ATTRS.has(name))));
440
457
  const context = useTabListContext();
441
458
  const uid = useId();
442
459
  const stopValue = `tab-menu:${uid}`;
@@ -482,6 +499,13 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
482
499
  value: stopValue
483
500
  });
484
501
  }
502
+ /** 先切换菜单,再交给调用方的 click:两边都拿到事件,谁也不能吞掉对方。 */
503
+ function onTriggerClick(event) {
504
+ toggle();
505
+ const handler = attrs.onClick;
506
+ if (Array.isArray(handler)) handler.forEach((callback) => callback(event));
507
+ else if (typeof handler === "function") handler(event);
508
+ }
485
509
  function toggle() {
486
510
  isOpen.value = !isOpen.value;
487
511
  }
@@ -542,12 +566,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
542
566
  detach();
543
567
  });
544
568
  return (_ctx, _cache) => {
545
- return openBlock(), createElementBlock(Fragment, null, [createElementVNode("button", {
569
+ return openBlock(), createElementBlock(Fragment, null, [createElementVNode("button", mergeProps(triggerAttrs.value, {
546
570
  id: `astryx-tab-menu-trigger-${unref(uid)}`,
547
571
  ref_key: "anchorRef",
548
572
  ref: anchorRef,
549
573
  type: "button",
550
- class: normalizeClass(["astryx-tab astryx-tab-menu", [sizeClass.value, hasSelectedOption.value && "astryx-tab--selected"]]),
574
+ class: ["astryx-tab astryx-tab-menu", [sizeClass.value, hasSelectedOption.value && "astryx-tab--selected"]],
551
575
  "data-tab-menu": "",
552
576
  "aria-controls": menuId,
553
577
  "aria-current": !unref(context).isTabsPattern.value && hasSelectedOption.value ? "true" : void 0,
@@ -556,15 +580,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
556
580
  "aria-expanded": isOpen.value,
557
581
  role: unref(context).isTabsPattern.value ? "tab" : void 0,
558
582
  tabindex: hasSelectedOption.value ? 0 : -1,
559
- onClick: toggle,
583
+ onClick: onTriggerClick,
560
584
  onKeydown: onTriggerKeyDown
561
- }, [createElementVNode("span", _hoisted_2, toDisplayString(triggerLabel.value), 1), createVNode(_sfc_main$3, {
585
+ }), [createElementVNode("span", _hoisted_2, toDisplayString(triggerLabel.value), 1), createVNode(_sfc_main$3, {
562
586
  class: "astryx-tab-menu-chevron",
563
587
  "data-state": isOpen.value ? "expanded" : "collapsed",
564
588
  color: "inherit",
565
589
  icon: "chevronDown",
566
590
  size: "sm"
567
- }, null, 8, ["data-state"])], 42, _hoisted_1), (openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [isOpen.value ? (openBlock(), createElementBlock("div", {
591
+ }, null, 8, ["data-state"])], 16, _hoisted_1), (openBlock(), createBlock(Teleport, { to: unref(teleportTarget) }, [isOpen.value ? (openBlock(), createElementBlock("div", {
568
592
  key: 0,
569
593
  id: menuId,
570
594
  ref_key: "surfaceRef",
@@ -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-B5cFQLav.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-CXdImpTj.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-DiCsQaqu.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-DB1DBqHj.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 };
@@ -6,15 +6,15 @@ import { n as firstCharacter } from "./characters-wTnzjkkR.js";
6
6
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
7
7
  import { n as useCollator } from "./locale-D4DoSjrL.js";
8
8
  import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
9
- import { t as _sfc_main$18 } from "./Tooltip-sAM8i1eO.js";
9
+ import { t as _sfc_main$18 } from "./Tooltip-B0aQ9CKg.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
11
11
  import { t as _sfc_main$19 } from "./CheckboxInput-D0SSjziv.js";
12
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";
13
+ import { t as _sfc_main$21 } from "./DateInput-cVln1Xnn.js";
14
+ import { t as _sfc_main$22 } from "./MultiSelector-r5acBuN0.js";
15
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";
16
+ import { t as _sfc_main$24 } from "./Pagination-CYmPEKKt.js";
17
+ import { t as _sfc_main$25 } from "./Selector-PYpxWfKo.js";
18
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";
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Text-D5Cc7BMp.js";
1
+ import { t as _sfc_main } from "../Text-ukuKa6kX.js";
2
2
  export { _sfc_main as Text };
@@ -1,5 +1,5 @@
1
1
  import { n as useTruncation, t as truncatePlacement } from "./useTruncation-B5qXQzAP.js";
2
- import { t as _sfc_main$1 } from "./Tooltip-sAM8i1eO.js";
2
+ import { t as _sfc_main$1 } from "./Tooltip-B0aQ9CKg.js";
3
3
  import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
4
4
  import "../styles/text.css";
5
5
  //#region src/Text/Text.vue
@@ -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-B5cFQLav.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-CXdImpTj.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 { 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-B5cFQLav.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-CXdImpTj.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 "../Thumbnail-CiTkiqS_.js";
1
+ import { t as _sfc_main } from "../Thumbnail-CyvBQAi6.js";
2
2
  export { _sfc_main as Thumbnail };
@@ -2,7 +2,7 @@ import { t as usePressFeedback } from "./usePressFeedback-BJCpjEpv.js";
2
2
  import { t as _sfc_main$1 } from "./Icon-Dosui-zD.js";
3
3
  import { t as _sfc_main$2 } from "./IconButton-BmMIccb4.js";
4
4
  import { s as useAstryxMessages } from "./context-CVUee2tp.js";
5
- import { t as _sfc_main$3 } from "./Tooltip-sAM8i1eO.js";
5
+ import { t as _sfc_main$3 } from "./Tooltip-B0aQ9CKg.js";
6
6
  import { t as _sfc_main$4 } from "./Spinner-B7xuy3ZA.js";
7
7
  import { t as _sfc_main$5 } from "./Skeleton-CrgWxJgr.js";
8
8
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, unref, watch, withCtx } from "vue";
@@ -10,7 +10,7 @@ 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";
13
- import { t as _sfc_main$7 } from "./BottomSheet-B4sc3F1S.js";
13
+ import { t as _sfc_main$7 } from "./BottomSheet-itRm1Yh5.js";
14
14
  import { t as _sfc_main$8 } from "./Spinner-B7xuy3ZA.js";
15
15
  import { i as useAriaRequired } from "./context-Cfml4jaK.js";
16
16
  import { t as _sfc_main$9 } from "./PickerWheel-CSwUYfes.js";
@@ -181,7 +181,6 @@ const _hoisted_2 = [
181
181
  "min",
182
182
  "max",
183
183
  "step",
184
- "disabled",
185
184
  "readonly",
186
185
  "aria-disabled",
187
186
  "aria-busy",
@@ -196,7 +195,6 @@ const _hoisted_3 = [
196
195
  "aria-expanded",
197
196
  "value",
198
197
  "placeholder",
199
- "disabled",
200
198
  "aria-disabled",
201
199
  "aria-busy",
202
200
  "aria-label",
@@ -209,7 +207,6 @@ const _hoisted_4 = [
209
207
  "id",
210
208
  "value",
211
209
  "placeholder",
212
- "disabled",
213
210
  "readonly",
214
211
  "aria-disabled",
215
212
  "aria-busy",
@@ -341,9 +338,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
341
338
  commit(parsed);
342
339
  }
343
340
  function onInput(event) {
341
+ if (props.isDisabled) return;
344
342
  draft.value = event.target.value;
345
343
  }
346
344
  function onNativeInput(event) {
345
+ if (props.isDisabled) return;
347
346
  const value = event.target.value;
348
347
  if (!value) {
349
348
  commit(null);
@@ -527,9 +526,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
527
526
  min: __props.min,
528
527
  max: __props.max,
529
528
  step: __props.hasSeconds ? 1 : __props.increment * 60,
530
- disabled: __props.isDisabled && !showsDisabledMessage.value,
531
- readonly: __props.isReadOnly || busy.value || showsDisabledMessage.value,
532
- "aria-disabled": showsDisabledMessage.value || void 0,
529
+ readonly: __props.isReadOnly || busy.value || __props.isDisabled,
530
+ "aria-disabled": __props.isDisabled || void 0,
533
531
  "aria-busy": busy.value || void 0,
534
532
  "aria-label": __props.labelledBy ? void 0 : __props.label,
535
533
  "aria-labelledby": __props.labelledBy,
@@ -550,8 +548,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
550
548
  "aria-controls": sheetId,
551
549
  value: draft.value,
552
550
  placeholder: shownPlaceholder.value,
553
- disabled: __props.isDisabled && !showsDisabledMessage.value,
554
- "aria-disabled": showsDisabledMessage.value || void 0,
551
+ "aria-disabled": __props.isDisabled || void 0,
555
552
  "aria-busy": busy.value || void 0,
556
553
  "aria-label": __props.labelledBy ? void 0 : __props.label,
557
554
  "aria-labelledby": __props.labelledBy,
@@ -569,9 +566,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
569
566
  autocomplete: "off",
570
567
  value: draft.value,
571
568
  placeholder: shownPlaceholder.value,
572
- disabled: __props.isDisabled && !showsDisabledMessage.value,
573
- readonly: __props.isReadOnly || busy.value || showsDisabledMessage.value,
574
- "aria-disabled": showsDisabledMessage.value || void 0,
569
+ readonly: __props.isReadOnly || busy.value || __props.isDisabled,
570
+ "aria-disabled": __props.isDisabled || void 0,
575
571
  "aria-busy": busy.value || void 0,
576
572
  role: showsOptions.value ? "combobox" : void 0,
577
573
  "aria-label": __props.labelledBy ? void 0 : __props.label,
@@ -1,2 +1,2 @@
1
- import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-B5cFQLav.js";
1
+ import { at as TimeInputSize, it as TimeInputProps, nt as _default, rt as TimeInputEmits } from "../index-CXdImpTj.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-BVrrBcMF.js";
1
+ import { t as _sfc_main } from "../TimeInput-68-3BdYQ.js";
2
2
  export { _sfc_main as TimeInput };
@@ -1,7 +1,7 @@
1
1
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
2
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-Dajh0ej2.js";
4
+ import { t as _sfc_main$2 } from "./TimeField-BnXwqr_O.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 { n as getPresentation, t as _sfc_main } from "../Timer-DFC8PhJl.js";
1
+ import { n as getPresentation, t as _sfc_main } from "../Timer-DShkQlT0.js";
2
2
  export { _sfc_main as Timer, getPresentation };
@@ -1,4 +1,4 @@
1
- import { t as _sfc_main$1 } from "./Text-D5Cc7BMp.js";
1
+ import { t as _sfc_main$1 } from "./Text-ukuKa6kX.js";
2
2
  import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, useTemplateRef, watch, withCtx } from "vue";
3
3
  import "../styles/timer.css";
4
4
  //#region src/Timer/format.ts
@@ -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-B5cFQLav.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-CXdImpTj.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-Bf6iQTk6.js";
2
+ import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-CbDyOZFU.js";
3
3
  export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -1,8 +1,8 @@
1
1
  import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
2
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
- import { t as _sfc_main$4 } from "./Text-D5Cc7BMp.js";
5
- import { t as _sfc_main$5 } from "./HoverCard-BpJhT0sn.js";
4
+ import { t as _sfc_main$4 } from "./Text-ukuKa6kX.js";
5
+ import { t as _sfc_main$5 } from "./HoverCard-C3zQizyS.js";
6
6
  import { t as formatInstant } from "./formatInstant-BDWUIxS7.js";
7
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";
@@ -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-B5cFQLav.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-CXdImpTj.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 { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-J6YRJ7Ul.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-BJ9Wim6J.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-CBrEN21_.js";
1
+ import { t as _sfc_main } from "../Token-DP3bU-8c.js";
2
2
  import { t as TOKEN_COLORS } from "../Token-BdRzlXzm.js";
3
3
  export { TOKEN_COLORS, _sfc_main as Token };
@@ -4,7 +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
+ import { n as disabledInteractionProps } from "./disabledInteraction-CPzL8kVP.js";
8
8
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, withCtx } from "vue";
9
9
  import "../styles/visually-hidden-utility.css";
10
10
  import "../styles/token.css";
@@ -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-Bn-v89Vt.js";
2
2
  export { _default as Tokenizer, type TokenizerChange, type TokenizerEmits, type TokenizerOverflow, type TokenizerProps, type TokenizerSize, type TokenizerSlots, type TokenizerStatus };
@@ -1,2 +1,2 @@
1
- import { t as _sfc_main } from "../Tokenizer-DxOCrbq3.js";
1
+ import { t as _sfc_main } from "../Tokenizer-DT1Kj9dR.js";
2
2
  export { _sfc_main as Tokenizer };
@@ -8,7 +8,7 @@ import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.j
8
8
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
9
9
  import { t as _sfc_main$2 } from "./Field-DRQuVVlH.js";
10
10
  import { t as useFieldPartStyling } from "./fieldParts--SyRZVQG.js";
11
- import { t as _sfc_main$3 } from "./Token-CBrEN21_.js";
11
+ import { t as _sfc_main$3 } from "./Token-DP3bU-8c.js";
12
12
  import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-DGxxKHZb.js";
13
13
  import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$4 } from "./TypeaheadMenu-By-HLpFy.js";
14
14
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
@@ -1,3 +1,3 @@
1
- import { T as _default } from "../index-B5cFQLav.js";
1
+ import { T as _default } from "../index-CXdImpTj.js";
2
2
  import { $ as ToolbarSize, Q as ToolbarProps, Z as ToolbarOrientation } from "../useResizable-BJ0DaMml.js";
3
3
  export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
@@ -1,2 +1,2 @@
1
- import { n as useTooltip, t as _sfc_main } from "../Tooltip-sAM8i1eO.js";
1
+ import { n as useTooltip, t as _sfc_main } from "../Tooltip-B0aQ9CKg.js";
2
2
  export { _sfc_main as Tooltip, useTooltip };
@@ -94,8 +94,10 @@ function useTooltip(options = {}) {
94
94
  if (isTouchPointer.value) return;
95
95
  scheduleShow();
96
96
  }
97
- function onMouseLeave() {
97
+ function onMouseLeave(event) {
98
98
  if (isTouchPointer.value) return;
99
+ const next = event.relatedTarget;
100
+ if (next instanceof Node && layer.contentRef.value?.contains(next)) return;
99
101
  scheduleHide();
100
102
  }
101
103
  function onTouchTap() {
@@ -170,6 +172,11 @@ function useTooltip(options = {}) {
170
172
  if (element == null) unbind();
171
173
  else bind(element);
172
174
  }, { flush: "sync" });
175
+ watch(() => toValue(options.isEnabled), (enabled) => {
176
+ if (enabled !== false) return;
177
+ clearTimeout(showTimer);
178
+ showTimer = void 0;
179
+ }, { flush: "sync" });
173
180
  function syncControlled(open) {
174
181
  layer.isOpen.value = open;
175
182
  }