@astryx-vue/core 0.6.1 → 0.7.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 (142) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-CBkJecfc.js → AlertDialog-5bbCe_ma.js} +1 -1
  3. package/dist/AvatarGroup/index.d.ts +1 -1
  4. package/dist/AvatarGroup/index.js +1 -1
  5. package/dist/{AvatarGroup-DhVBdHeQ.js → AvatarGroup-ezWQX5UE.js} +5 -2
  6. package/dist/Banner/index.d.ts +1 -1
  7. package/dist/BottomSheet/index.js +2 -2
  8. package/dist/{BottomSheet-m54uCMJN.js → BottomSheet-BrxST6Zp.js} +2 -1
  9. package/dist/{BottomSheet-B4sc3F1S.js → BottomSheet-itRm1Yh5.js} +1 -0
  10. package/dist/Breadcrumbs/index.d.ts +2 -2
  11. package/dist/Breadcrumbs/index.js +1 -1
  12. package/dist/{Breadcrumbs-DRXYUqOk.js → Breadcrumbs-DYmOUlSu.js} +1 -1
  13. package/dist/Button/index.d.ts +1 -1
  14. package/dist/ButtonGroup/index.d.ts +1 -1
  15. package/dist/Calendar/index.d.ts +1 -1
  16. package/dist/Chat/index.d.ts +1 -1
  17. package/dist/Chat/index.js +1 -1
  18. package/dist/{Chat-sNg2CZ_P.js → Chat-DpH2ob4k.js} +1 -1
  19. package/dist/CheckboxInput/index.d.ts +1 -1
  20. package/dist/CheckboxList/index.d.ts +1 -1
  21. package/dist/ClickableCard/index.d.ts +1 -1
  22. package/dist/ClickableCard/index.js +1 -1
  23. package/dist/{ClickableCard-DM66XZ07.js → ClickableCard-CGjr4c7g.js} +1 -1
  24. package/dist/CommandPalette/index.js +1 -1
  25. package/dist/{CommandPalette-DFxk2sil.js → CommandPalette-B6lzcEE4.js} +1 -1
  26. package/dist/ComplexSelector/index.js +1 -1
  27. package/dist/{ComplexSelector-32r0RVQE.js → ComplexSelector-CABdPOyw.js} +16 -3
  28. package/dist/ContextMenu/index.d.ts +2 -2
  29. package/dist/ContextMenu/index.js +1 -1
  30. package/dist/{ContextMenu-BH_yV1xZ.js → ContextMenu-DMSJQdZ5.js} +1 -1
  31. package/dist/DateInput/index.d.ts +1 -1
  32. package/dist/DateInput/index.js +1 -1
  33. package/dist/{DateInput-B57PrbII.js → DateInput-cVln1Xnn.js} +4 -6
  34. package/dist/DateRangeInput/index.d.ts +1 -1
  35. package/dist/DateTimeInput/index.d.ts +1 -1
  36. package/dist/DateTimeInput/index.js +1 -1
  37. package/dist/{DateTimeInput-BMw1A5Q3.js → DateTimeInput-CViJJt8m.js} +3 -3
  38. package/dist/Dialog/index.d.ts +1 -1
  39. package/dist/Dialog/index.js +3 -2
  40. package/dist/{Dialog-fhyxB00e.js → Dialog-BhxN-tp4.js} +1 -0
  41. package/dist/Dialog-Bn4eUNiy.js +49 -0
  42. package/dist/{Dialog-CL8u76KG.js → DialogHeader-B-Lz4rB5.js} +3 -49
  43. package/dist/Divider/index.d.ts +1 -1
  44. package/dist/Drawer/index.d.ts +2 -0
  45. package/dist/Drawer/index.js +2 -0
  46. package/dist/Drawer-DjSbpQcy.js +137 -0
  47. package/dist/DropdownMenu/index.d.ts +2 -2
  48. package/dist/DropdownMenu/index.js +2 -2
  49. package/dist/{DropdownMenu-C0QDklYy.js → DropdownMenu-Cr1zAiZm.js} +142 -27
  50. package/dist/{DropdownMenu-DO9lDRvW.js → DropdownMenu-CxbpuT2r.js} +2 -2
  51. package/dist/{DropdownMenuRadioItem.vue-D-VSfulY.d.ts → DropdownMenuRadioItem.vue-z0XU7pZS.d.ts} +9 -0
  52. package/dist/FileInput/index.d.ts +1 -1
  53. package/dist/HoverCard/index.d.ts +1 -1
  54. package/dist/HoverCard/index.js +1 -1
  55. package/dist/{HoverCard-BpJhT0sn.js → HoverCard-C3zQizyS.js} +93 -67
  56. package/dist/InputGroup/index.d.ts +1 -1
  57. package/dist/List/index.d.ts +1 -1
  58. package/dist/MetadataList/index.d.ts +1 -1
  59. package/dist/MoreMenu/index.d.ts +1 -1
  60. package/dist/MultiSelector/index.d.ts +1 -1
  61. package/dist/MultiSelector/index.js +1 -1
  62. package/dist/{MultiSelector-DVqD6OEy.js → MultiSelector-r5acBuN0.js} +10 -5
  63. package/dist/NavItem/index.d.ts +1 -1
  64. package/dist/NumberInput/index.d.ts +1 -1
  65. package/dist/OverflowList/index.d.ts +1 -1
  66. package/dist/Overlay/index.d.ts +1 -1
  67. package/dist/Pagination/index.d.ts +1 -1
  68. package/dist/Pagination/index.js +1 -1
  69. package/dist/{Pagination-L0IDhBbo.js → Pagination-CYmPEKKt.js} +1 -1
  70. package/dist/Popover/index.d.ts +1 -1
  71. package/dist/PowerSearch/index.d.ts +1 -1
  72. package/dist/PowerSearch/index.js +1 -1
  73. package/dist/{PowerSearch-CBYYhpvA.js → PowerSearch-CjhX2YkL.js} +8 -8
  74. package/dist/ProgressBar/index.d.ts +1 -1
  75. package/dist/Radio/index.d.ts +1 -1
  76. package/dist/RadioList/index.d.ts +1 -1
  77. package/dist/ScrollableArea/index.d.ts +1 -1
  78. package/dist/SegmentedControl/index.d.ts +1 -1
  79. package/dist/SelectableCard/index.d.ts +1 -1
  80. package/dist/Selector/index.d.ts +1 -1
  81. package/dist/Selector/index.js +1 -1
  82. package/dist/{Selector-Dle5Lbvs.js → Selector-PYpxWfKo.js} +38 -15
  83. package/dist/SideNav/index.d.ts +1 -1
  84. package/dist/Stepper/index.d.ts +1 -1
  85. package/dist/Switch/index.d.ts +1 -1
  86. package/dist/TabList/index.js +1 -1
  87. package/dist/{TabList-npiEQK-q.js → TabList-CXLDPFte.js} +30 -6
  88. package/dist/Table/index.d.ts +1 -1
  89. package/dist/Table/index.js +1 -1
  90. package/dist/{Table-DiCsQaqu.js → Table-36BOw1Q0.js} +4 -4
  91. package/dist/TextArea/index.d.ts +1 -1
  92. package/dist/TextInput/index.d.ts +1 -1
  93. package/dist/{TimeField-Dajh0ej2.js → TimeField-BnXwqr_O.js} +8 -12
  94. package/dist/TimeInput/index.d.ts +1 -1
  95. package/dist/TimeInput/index.js +1 -1
  96. package/dist/{TimeInput-BVrrBcMF.js → TimeInput-68-3BdYQ.js} +1 -1
  97. package/dist/Timestamp/index.d.ts +1 -1
  98. package/dist/Timestamp/index.js +1 -1
  99. package/dist/{Timestamp-Bf6iQTk6.js → Timestamp-DTr30OUF.js} +1 -1
  100. package/dist/ToggleButton/index.d.ts +1 -1
  101. package/dist/Token/index.d.ts +1 -1
  102. package/dist/Token/index.js +1 -1
  103. package/dist/{Token-CBrEN21_.js → Token-DP3bU-8c.js} +1 -1
  104. package/dist/Tokenizer/index.js +1 -1
  105. package/dist/{Tokenizer-DxOCrbq3.js → Tokenizer-DT1Kj9dR.js} +1 -1
  106. package/dist/Toolbar/index.d.ts +1 -1
  107. package/dist/Tooltip/index.d.ts +1 -1
  108. package/dist/TopNav/index.d.ts +1 -1
  109. package/dist/TreeList/index.d.ts +1 -1
  110. package/dist/Typeahead/index.js +1 -1
  111. package/dist/{Typeahead-XpX5aA-Q.js → Typeahead-D4oT1wUP.js} +1 -1
  112. package/dist/{disabledInteraction-C9lrgFxB.js → disabledInteraction-CPzL8kVP.js} +20 -1
  113. package/dist/{index-BhLLG-Gi.d.ts → index-B2kcUxGA.d.ts} +1 -1
  114. package/dist/{index-C1zwvxPH.d.ts → index-B3yTdknp.d.ts} +1 -1
  115. package/dist/{index-Cy1rEWC-.d.ts → index-B449gOMC.d.ts} +2 -2
  116. package/dist/{index-EvhMa33P.d.ts → index-B6eL2gOK.d.ts} +1 -1
  117. package/dist/{index-DbiZvj1P.d.ts → index-B8EnP-PB.d.ts} +1 -1
  118. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  119. package/dist/{index-UFlyBbRd.d.ts → index-Bm_3wP0q.d.ts} +1 -1
  120. package/dist/{index-_pze-_fd.d.ts → index-C3dirxkN.d.ts} +3 -3
  121. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  122. package/dist/{index-DybUnyAp.d.ts → index-CA9Nneq_.d.ts} +4 -4
  123. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  124. package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  125. package/dist/{index-B5cFQLav.d.ts → index-Djd6glIa.d.ts} +197 -106
  126. package/dist/{index-C7sam-SB.d.ts → index-Dl4Kx5Pl.d.ts} +1 -1
  127. package/dist/{index-BNaRK-s5.d.ts → index-DsaP4-eB.d.ts} +1 -1
  128. package/dist/{index-C_6RCsGf.d.ts → index-Gnewu6-J.d.ts} +1 -1
  129. package/dist/{index-Cq31D3fJ.d.ts → index-GpET2_oj.d.ts} +1 -1
  130. package/dist/{index-B1WWphal.d.ts → index-IvAfdGCC.d.ts} +1 -1
  131. package/dist/{index-j0WJTviq.d.ts → index-MEix_m1o.d.ts} +2 -2
  132. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  133. package/dist/{index-eP0-QrWx.d.ts → index-aTBpXbot.d.ts} +6 -6
  134. package/dist/{index-Ca8VIE4l.d.ts → index-cG1E0U2s.d.ts} +1 -1
  135. package/dist/{index-Ds201-d2.d.ts → index-qayqGnJT.d.ts} +1 -1
  136. package/dist/index.d.ts +64 -64
  137. package/dist/index.js +102 -100
  138. package/package.json +5 -1
  139. package/styles/drawer.css +77 -0
  140. package/styles/dropdown-menu.css +28 -0
  141. package/styles.css +1 -0
  142. package/dist/{index-J6YRJ7Ul.d.ts → index-BJ9Wim6J.d.ts} +2 -2
@@ -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-Djd6glIa.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-36BOw1Q0.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 };
@@ -10,11 +10,11 @@ import { t as _sfc_main$18 } from "./Tooltip-sAM8i1eO.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 { 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-Djd6glIa.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-Djd6glIa.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 };
@@ -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-Djd6glIa.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 { $ 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-Djd6glIa.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-DTr30OUF.js";
3
3
  export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
@@ -2,7 +2,7 @@ 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
4
  import { t as _sfc_main$4 } from "./Text-D5Cc7BMp.js";
5
- import { t as _sfc_main$5 } from "./HoverCard-BpJhT0sn.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-Djd6glIa.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 { 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-Djd6glIa.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 { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-C7sam-SB.js";
1
+ import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipReturn, o as TooltipFocusTrigger, r as useTooltip, s as TooltipPlacement, t as UseTooltipOptions } from "../index-Dl4Kx5Pl.js";
2
2
  export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
@@ -1,2 +1,2 @@
1
- import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-B5cFQLav.js";
1
+ import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-Djd6glIa.js";
2
2
  export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
@@ -1,2 +1,2 @@
1
- import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-BNaRK-s5.js";
1
+ import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-DsaP4-eB.js";
2
2
  export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
@@ -1,3 +1,3 @@
1
1
  import { n as _sfc_main$2 } from "../TypeaheadMenu-By-HLpFy.js";
2
- import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-XpX5aA-Q.js";
2
+ import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-D4oT1wUP.js";
3
3
  export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
@@ -7,7 +7,7 @@ import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
7
7
  import { t as _sfc_main$3 } from "./Spinner-B7xuy3ZA.js";
8
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 "./Token-CBrEN21_.js";
10
+ import { t as _sfc_main$5 } from "./Token-DP3bU-8c.js";
11
11
  import { n as useAnchoredListbox, t as scrollOptionIntoView } from "./useAnchoredListbox-DGxxKHZb.js";
12
12
  import { i as useTypeaheadMenu, r as useLatchedOptionGrid, t as _sfc_main$6 } from "./TypeaheadMenu-By-HLpFy.js";
13
13
  import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
@@ -12,6 +12,25 @@
12
12
  * Popover 的触发器)会收到。这里取消这两个按键,click 处理再取消指针点击
13
13
  * 并挡住冒泡。其他按键仍然交给调用方的处理函数。
14
14
  */
15
+ const ACTIVATION_KEYS = /* @__PURE__ */ new Set([
16
+ "Enter",
17
+ " ",
18
+ "Spacebar"
19
+ ]);
20
+ /**
21
+ * 可聚焦的禁用控件在派出任何行为之前调用。禁用时吞掉事件并返回 `true`:
22
+ * 回车、空格、方向键这类会触发行为或移动焦点的按键连默认行为一起取消,
23
+ * 其他按键只拦住冒泡,保证调用方和祖先的处理函数都收不到(spec:AST-085 FR2)。
24
+ */
25
+ function consumeWhileDisabled(event, isDisabled) {
26
+ if (!isDisabled) return false;
27
+ if (!(event instanceof KeyboardEvent && (ACTIVATION_KEYS.has(event.key) || event.key.startsWith("Arrow")))) event.stopPropagation();
28
+ else {
29
+ event.preventDefault();
30
+ event.stopPropagation();
31
+ }
32
+ return true;
33
+ }
15
34
  function disabledInteractionProps(onKeyDown) {
16
35
  return {
17
36
  onClick: (event) => {
@@ -25,4 +44,4 @@ function disabledInteractionProps(onKeyDown) {
25
44
  };
26
45
  }
27
46
  //#endregion
28
- export { disabledInteractionProps as t };
47
+ export { disabledInteractionProps as n, consumeWhileDisabled as t };
@@ -9,8 +9,8 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
9
9
  onClick?: ((event: MouseEvent) => any) | undefined;
10
10
  }>, {
11
11
  type: "button" | "reset" | "submit";
12
- elevation: ButtonElevation;
13
12
  isDisabled: boolean;
13
+ elevation: ButtonElevation;
14
14
  isLoading: boolean;
15
15
  isIconOnly: boolean;
16
16
  isInterruptible: boolean;
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
28
28
  onClick?: ((event: MouseEvent) => any) | undefined;
29
29
  }>, {
30
30
  block: boolean;
31
- size: NavItemSize;
32
31
  isDisabled: boolean;
32
+ size: NavItemSize;
33
33
  isIconOnly: boolean;
34
34
  isSelected: boolean;
35
35
  plain: boolean;
@@ -108,10 +108,10 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
108
108
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
109
109
  onPageSizeChange?: ((pageSize: number) => any) | undefined;
110
110
  }>, {
111
- size: PaginationSize;
111
+ step: number;
112
112
  isDisabled: boolean;
113
+ size: PaginationSize;
113
114
  variant: PaginationVariant;
114
- step: number;
115
115
  disabled: boolean;
116
116
  page: number;
117
117
  pageSize: number;
@@ -545,8 +545,8 @@ declare const __VLS_base$11: import("vue").DefineComponent<ChatComposerProps, {
545
545
  onChange?: ((value: string) => any) | undefined;
546
546
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
547
547
  }>, {
548
- elevation: ChatComposerElevation;
549
548
  density: ChatDensity;
549
+ elevation: ChatComposerElevation;
550
550
  statusPosition: "top" | "bottom";
551
551
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
552
552
  declare const __VLS_export$17: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
@@ -55,8 +55,8 @@ interface InputGroupTextSlots {
55
55
  //#region src/InputGroup/InputGroup.vue.d.ts
56
56
  type __VLS_Slots$1 = InputGroupSlots;
57
57
  declare const __VLS_base$1: import("vue").DefineComponent<InputGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupProps> & Readonly<{}>, {
58
- size: InputGroupSize;
59
58
  isOptional: boolean;
59
+ size: InputGroupSize;
60
60
  isLabelHidden: boolean;
61
61
  isRequired: boolean;
62
62
  disabled: boolean;
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
175
175
  }>, {
176
176
  position: OverlayPosition;
177
177
  align: OverlayAlign;
178
- scrim: OverlayScrimMode;
179
178
  showOn: OverlayShowOn;
179
+ scrim: OverlayScrimMode;
180
180
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
181
181
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
182
182
  declare const _default$1: typeof __VLS_export$1;
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
192
192
  isOpen: boolean;
193
193
  position: OverlayPosition;
194
194
  align: OverlayAlign;
195
- scrim: OverlayScrimMode;
196
195
  showOn: OverlayShowOn;
196
+ scrim: OverlayScrimMode;
197
197
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
198
198
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
199
199
  declare const _default: typeof __VLS_export;
@@ -35,9 +35,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
35
35
  focus: typeof focus;
36
36
  blur: typeof blur;
37
37
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
38
+ density: ListDensity;
38
39
  isDisabled: boolean;
39
40
  as: ItemElement;
40
- density: ListDensity;
41
41
  isSelected: boolean;
42
42
  align: ItemAlign;
43
43
  layout: ItemLayout;
@@ -401,13 +401,13 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
401
401
  onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
402
402
  "onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
403
403
  }>, {
404
- size: PowerSearchSize;
405
404
  status: PowerSearchStatus;
405
+ size: PowerSearchSize;
406
406
  statusVariant: PowerSearchStatusVariant;
407
- disabled: boolean;
408
- clearable: boolean;
409
407
  hasClear: boolean;
410
408
  labelHidden: boolean;
409
+ disabled: boolean;
410
+ clearable: boolean;
411
411
  overflow: PowerSearchOverflow;
412
412
  readOnly: boolean;
413
413
  maxTokenLength: number;
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
21
21
  label?: (props: typeof __VLS_1) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
24
- variant: DividerVariant;
25
24
  orientation: DividerOrientation;
25
+ variant: DividerVariant;
26
26
  isFullBleed: boolean;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -189,20 +189,20 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
189
189
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
190
190
  }>, {
191
191
  required: boolean;
192
+ status: MultiSelectorStatus;
192
193
  size: MultiSelectorSize;
193
194
  isLoading: boolean;
194
195
  variant: MultiSelectorVariant;
195
- status: MultiSelectorStatus;
196
196
  modelValue: readonly (string | number)[];
197
197
  statusVariant: MultiSelectorStatusVariant;
198
- disabled: boolean;
199
198
  presentation: MultiSelectorPresentation;
200
- searchable: boolean;
201
- clearable: boolean;
202
199
  isReadOnly: boolean;
203
200
  labelHidden: boolean;
201
+ disabled: boolean;
202
+ clearable: boolean;
204
203
  hasCreate: boolean;
205
204
  optional: boolean;
205
+ searchable: boolean;
206
206
  selectAll: boolean;
207
207
  triggerDisplay: MultiSelectorTriggerDisplay;
208
208
  maxBadges: number;
@@ -125,8 +125,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
125
125
  onChange?: ((value: string) => any) | undefined;
126
126
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
127
127
  }>, {
128
- size: SegmentedControlSize;
129
128
  isDisabled: boolean;
129
+ size: SegmentedControlSize;
130
130
  layout: SegmentedControlLayout;
131
131
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
132
132
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
@@ -43,8 +43,8 @@ interface ProgressBarProps {
43
43
  //#endregion
44
44
  //#region src/ProgressBar/ProgressBar.vue.d.ts
45
45
  declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
46
- size: ProgressBarSize;
47
46
  isDisabled: boolean;
47
+ size: ProgressBarSize;
48
48
  value: number;
49
49
  variant: ProgressBarVariant;
50
50
  isLabelHidden: boolean;