@astryx-vue/core 0.6.0 → 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 (155) 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/AppShell/index.d.ts +1 -1
  4. package/dist/AvatarGroup/index.d.ts +1 -1
  5. package/dist/AvatarGroup/index.js +1 -1
  6. package/dist/{AvatarGroup-DhVBdHeQ.js → AvatarGroup-ezWQX5UE.js} +5 -2
  7. package/dist/Banner/index.d.ts +1 -1
  8. package/dist/BottomSheet/index.js +2 -2
  9. package/dist/{BottomSheet-m54uCMJN.js → BottomSheet-BrxST6Zp.js} +2 -1
  10. package/dist/{BottomSheet-B4sc3F1S.js → BottomSheet-itRm1Yh5.js} +1 -0
  11. package/dist/Breadcrumbs/index.d.ts +2 -2
  12. package/dist/Breadcrumbs/index.js +1 -1
  13. package/dist/{Breadcrumbs-DRXYUqOk.js → Breadcrumbs-DYmOUlSu.js} +1 -1
  14. package/dist/Button/index.d.ts +1 -1
  15. package/dist/ButtonGroup/index.d.ts +1 -1
  16. package/dist/Calendar/index.d.ts +1 -1
  17. package/dist/Card/index.d.ts +1 -1
  18. package/dist/Chat/index.d.ts +1 -1
  19. package/dist/Chat/index.js +1 -1
  20. package/dist/{Chat-sNg2CZ_P.js → Chat-DpH2ob4k.js} +1 -1
  21. package/dist/CheckboxInput/index.d.ts +1 -1
  22. package/dist/CheckboxInput/index.js +1 -1
  23. package/dist/{CheckboxInput-DDORpsYN.js → CheckboxInput-D0SSjziv.js} +2 -4
  24. package/dist/CheckboxList/index.d.ts +1 -1
  25. package/dist/CheckboxList/index.js +1 -1
  26. package/dist/{CheckboxList-B8_wed6z.js → CheckboxList-DnqRfWKg.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.js +1 -1
  33. package/dist/{CommandPalette-DFxk2sil.js → CommandPalette-B6lzcEE4.js} +1 -1
  34. package/dist/ComplexSelector/index.d.ts +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-Cr1zAiZm.js} +142 -27
  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/FileInput/index.d.ts +1 -1
  62. package/dist/HoverCard/index.js +1 -1
  63. package/dist/{HoverCard-BpJhT0sn.js → HoverCard-C3zQizyS.js} +93 -67
  64. package/dist/List/index.d.ts +1 -1
  65. package/dist/Markdown/plugin-protocol/index.js +4 -3
  66. package/dist/MetadataList/index.d.ts +1 -1
  67. package/dist/MoreMenu/index.d.ts +1 -1
  68. package/dist/MultiSelector/index.d.ts +1 -1
  69. package/dist/MultiSelector/index.js +1 -1
  70. package/dist/{MultiSelector-DVqD6OEy.js → MultiSelector-r5acBuN0.js} +10 -5
  71. package/dist/NavItem/index.d.ts +1 -1
  72. package/dist/NumberInput/index.d.ts +1 -1
  73. package/dist/OverflowList/index.d.ts +1 -1
  74. package/dist/Pagination/index.d.ts +1 -1
  75. package/dist/Pagination/index.js +1 -1
  76. package/dist/{Pagination-L0IDhBbo.js → Pagination-CYmPEKKt.js} +1 -1
  77. package/dist/Popover/index.d.ts +1 -1
  78. package/dist/PowerSearch/index.d.ts +1 -1
  79. package/dist/PowerSearch/index.js +1 -1
  80. package/dist/{PowerSearch-CBYYhpvA.js → PowerSearch-CjhX2YkL.js} +8 -8
  81. package/dist/ProgressBar/index.d.ts +1 -1
  82. package/dist/Radio/index.d.ts +1 -1
  83. package/dist/RadioList/index.d.ts +1 -1
  84. package/dist/ScrollableArea/index.d.ts +1 -1
  85. package/dist/SelectableCard/index.d.ts +1 -1
  86. package/dist/Selector/index.d.ts +1 -1
  87. package/dist/Selector/index.js +1 -1
  88. package/dist/{Selector-Dle5Lbvs.js → Selector-PYpxWfKo.js} +38 -15
  89. package/dist/SideNav/index.d.ts +1 -1
  90. package/dist/Stepper/index.d.ts +1 -1
  91. package/dist/Switch/index.d.ts +1 -1
  92. package/dist/Switch/index.js +1 -1
  93. package/dist/{Switch-DBdLd0-t.js → Switch-DSuC0F7H.js} +2 -4
  94. package/dist/TabList/index.d.ts +1 -1
  95. package/dist/TabList/index.js +1 -1
  96. package/dist/{TabList-npiEQK-q.js → TabList-CXLDPFte.js} +30 -6
  97. package/dist/Table/index.d.ts +1 -1
  98. package/dist/Table/index.js +1 -1
  99. package/dist/{Table-BwfRe7_x.js → Table-36BOw1Q0.js} +5 -5
  100. package/dist/TextArea/index.d.ts +1 -1
  101. package/dist/TextInput/index.d.ts +1 -1
  102. package/dist/{TimeField-Dajh0ej2.js → TimeField-BnXwqr_O.js} +8 -12
  103. package/dist/TimeInput/index.d.ts +1 -1
  104. package/dist/TimeInput/index.js +1 -1
  105. package/dist/{TimeInput-BVrrBcMF.js → TimeInput-68-3BdYQ.js} +1 -1
  106. package/dist/Timestamp/index.d.ts +1 -1
  107. package/dist/Timestamp/index.js +1 -1
  108. package/dist/{Timestamp-Bf6iQTk6.js → Timestamp-DTr30OUF.js} +1 -1
  109. package/dist/ToggleButton/index.d.ts +1 -1
  110. package/dist/Token/index.d.ts +1 -1
  111. package/dist/Token/index.js +1 -1
  112. package/dist/{Token-CBrEN21_.js → Token-DP3bU-8c.js} +1 -1
  113. package/dist/Tokenizer/index.d.ts +1 -1
  114. package/dist/Tokenizer/index.js +1 -1
  115. package/dist/{Tokenizer-DxOCrbq3.js → Tokenizer-DT1Kj9dR.js} +1 -1
  116. package/dist/Toolbar/index.d.ts +1 -1
  117. package/dist/TopNav/index.d.ts +1 -1
  118. package/dist/TreeList/index.d.ts +1 -1
  119. package/dist/Typeahead/index.d.ts +1 -1
  120. package/dist/Typeahead/index.js +1 -1
  121. package/dist/{Typeahead-XpX5aA-Q.js → Typeahead-D4oT1wUP.js} +1 -1
  122. package/dist/{disabledInteraction-C9lrgFxB.js → disabledInteraction-CPzL8kVP.js} +20 -1
  123. package/dist/{index-Dacg7XTH.d.ts → index-8px-LKw_.d.ts} +2 -2
  124. package/dist/{index-D_K1wfRa.d.ts → index-B2kcUxGA.d.ts} +1 -1
  125. package/dist/{index-CL8JvxHW.d.ts → index-B3yTdknp.d.ts} +1 -1
  126. package/dist/{index-rszZajcw.d.ts → index-B449gOMC.d.ts} +2 -2
  127. package/dist/{index-RW8kvEwf.d.ts → index-B6eL2gOK.d.ts} +5 -5
  128. package/dist/{index-C3f1zsJR.d.ts → index-Bm_3wP0q.d.ts} +2 -2
  129. package/dist/{index-BaxM-pFP.d.ts → index-BnEhvmdR.d.ts} +4 -4
  130. package/dist/{index-DTyX3QfK.d.ts → index-C3dirxkN.d.ts} +4 -4
  131. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  132. package/dist/{index-WrrH8ulk.d.ts → index-CA9Nneq_.d.ts} +6 -6
  133. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  134. package/dist/{index-YKCx03zD.d.ts → index-CdvmnNMH.d.ts} +1 -1
  135. package/dist/{index-DLAG3m9W.d.ts → index-DXJ3U3ve.d.ts} +2 -2
  136. package/dist/{index-DR3eQt87.d.ts → index-Djd6glIa.d.ts} +206 -115
  137. package/dist/{index-BNaRK-s5.d.ts → index-DsaP4-eB.d.ts} +1 -1
  138. package/dist/{index-C_6RCsGf.d.ts → index-Gnewu6-J.d.ts} +1 -1
  139. package/dist/{index-B1WWphal.d.ts → index-IvAfdGCC.d.ts} +1 -1
  140. package/dist/{index-TA1zVibb.d.ts → index-MEix_m1o.d.ts} +4 -4
  141. package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
  142. package/dist/{index-B1eCxBCY.d.ts → index-TXcNH86P.d.ts} +1 -1
  143. package/dist/{index-CqSDC6Af.d.ts → index-aTBpXbot.d.ts} +6 -6
  144. package/dist/{index-ChOyJzJh.d.ts → index-cG1E0U2s.d.ts} +2 -2
  145. package/dist/{index-D5N9ikrS.d.ts → index-hCpxKePE.d.ts} +1 -1
  146. package/dist/{index-3t5RAfNP.d.ts → index-mkbGYz8f.d.ts} +2 -2
  147. package/dist/{index-C732aNMY.d.ts → index-qayqGnJT.d.ts} +3 -3
  148. package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
  149. package/dist/index.d.ts +68 -68
  150. package/dist/index.js +104 -102
  151. package/package.json +5 -1
  152. package/styles/drawer.css +77 -0
  153. package/styles/dropdown-menu.css +28 -0
  154. package/styles.css +1 -0
  155. package/dist/{index-CHx33xGa.d.ts → index-BJ9Wim6J.d.ts} +1 -1
@@ -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-DR3eQt87.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-BwfRe7_x.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 };
@@ -8,13 +8,13 @@ import { n as useCollator } from "./locale-D4DoSjrL.js";
8
8
  import { t as useScrollableArea } from "./useScrollableArea-BE8b3qm7.js";
9
9
  import { t as _sfc_main$18 } from "./Tooltip-sAM8i1eO.js";
10
10
  import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
11
- import { t as _sfc_main$19 } from "./CheckboxInput-DDORpsYN.js";
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-DR3eQt87.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-DR3eQt87.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-DR3eQt87.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-DR3eQt87.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-DR3eQt87.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-CHx33xGa.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-3t5RAfNP.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-mkbGYz8f.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-DR3eQt87.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 { 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-DR3eQt87.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,2 +1,2 @@
1
- import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-BaxM-pFP.js";
1
+ import { a as TypeaheadEmits, c as TypeaheadSize, i as BaseTypeaheadProps, l as TypeaheadSlots, n as _default$1, o as TypeaheadItemProps, r as _default, s as TypeaheadProps, t as _default$2, u as TypeaheadStatus } from "../index-BnEhvmdR.js";
2
2
  export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
@@ -1,3 +1,3 @@
1
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 };
@@ -139,8 +139,8 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
139
139
  props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
140
140
  modelValue: Value;
141
141
  }) & {
142
- onChange?: ((value: Value) => any) | undefined;
143
142
  onClick?: ((event: MouseEvent) => any) | undefined;
143
+ onChange?: ((value: Value) => any) | undefined;
144
144
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
145
145
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
146
146
  "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
@@ -150,7 +150,7 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
150
150
  expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
151
151
  attrs: any;
152
152
  slots: ComplexSelectorSlots<Value>;
153
- emit: (((evt: "change", value: Value) => void) & ((evt: "click", event: MouseEvent) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
153
+ emit: (((evt: "click", event: MouseEvent) => void) & ((evt: "change", value: Value) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
154
154
  }>) => import("vue").VNode & {
155
155
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
156
156
  };
@@ -10,12 +10,12 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
10
10
  }>, {
11
11
  type: "button" | "reset" | "submit";
12
12
  isDisabled: boolean;
13
- variant: ButtonVariant;
14
13
  elevation: ButtonElevation;
15
14
  isLoading: boolean;
16
15
  isIconOnly: boolean;
17
16
  isInterruptible: boolean;
18
17
  loadingLabel: string;
18
+ variant: ButtonVariant;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
@@ -28,10 +28,10 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
28
28
  onClick?: ((event: MouseEvent) => any) | undefined;
29
29
  }>, {
30
30
  block: boolean;
31
- isSelected: boolean;
32
31
  isDisabled: boolean;
33
32
  size: NavItemSize;
34
33
  isIconOnly: boolean;
34
+ isSelected: boolean;
35
35
  plain: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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
- isDisabled: boolean;
112
- variant: PaginationVariant;
113
111
  step: number;
112
+ isDisabled: boolean;
114
113
  size: PaginationSize;
114
+ variant: PaginationVariant;
115
115
  disabled: boolean;
116
116
  page: number;
117
117
  pageSize: number;
@@ -535,18 +535,18 @@ type __VLS_Slots$11 = ChatComposerSlots;
535
535
  declare const __VLS_base$11: import("vue").DefineComponent<ChatComposerProps, {
536
536
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
537
537
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
538
- change: (value: string) => any;
539
538
  submit: (value: string) => any;
540
539
  stop: () => any;
540
+ change: (value: string) => any;
541
541
  "update:modelValue": (value: string) => any;
542
542
  }, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
543
- onChange?: ((value: string) => any) | undefined;
544
543
  onSubmit?: ((value: string) => any) | undefined;
545
544
  onStop?: (() => any) | undefined;
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>;
@@ -583,14 +583,14 @@ type __VLS_WithSlots$10<T, S> = T & {
583
583
  //#endregion
584
584
  //#region src/Chat/ChatComposerInput.vue.d.ts
585
585
  declare const __VLS_export$15: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
586
- change: (value: string) => any;
587
586
  submit: (value: string) => any;
587
+ change: (value: string) => any;
588
588
  keydown: (event: KeyboardEvent) => any;
589
589
  "update:modelValue": (value: string) => any;
590
590
  files: (files: File[]) => any;
591
591
  }, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
592
- onChange?: ((value: string) => any) | undefined;
593
592
  onSubmit?: ((value: string) => any) | undefined;
593
+ onChange?: ((value: string) => any) | undefined;
594
594
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
595
595
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
596
596
  onFiles?: ((files: File[]) => any) | undefined;
@@ -35,10 +35,10 @@ 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
- isSelected: boolean;
39
- isDisabled: boolean;
40
38
  density: ListDensity;
39
+ isDisabled: boolean;
41
40
  as: ItemElement;
41
+ isSelected: boolean;
42
42
  align: ItemAlign;
43
43
  layout: ItemLayout;
44
44
  isHighlighted: boolean;
@@ -148,8 +148,8 @@ interface TypeaheadSlots<T extends SearchableItem = SearchableItem> {
148
148
  //#region src/Typeahead/BaseTypeahead.vue.d.ts
149
149
  declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
150
150
  props: import("vue").PublicProps & __VLS_PrettifyLocal$1<BaseTypeaheadProps<T> & {
151
- onChange?: ((value: T | null) => any) | undefined;
152
151
  onSearch?: ((query: string) => any) | undefined;
152
+ onChange?: ((value: T | null) => any) | undefined;
153
153
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
154
154
  "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
155
155
  onChangeQuery?: ((query: string) => any) | undefined;
@@ -162,7 +162,7 @@ declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullabl
162
162
  }>) => void;
163
163
  attrs: any;
164
164
  slots: TypeaheadSlots<T>;
165
- emit: ((evt: "change", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
165
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
166
166
  }>) => import("vue").VNode & {
167
167
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
168
168
  };
@@ -172,8 +172,8 @@ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [
172
172
  //#region src/Typeahead/Typeahead.vue.d.ts
173
173
  declare const __VLS_export$1: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
174
174
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
175
- onChange?: ((value: T | null) => any) | undefined;
176
175
  onSearch?: ((query: string) => any) | undefined;
176
+ onChange?: ((value: T | null) => any) | undefined;
177
177
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
178
178
  "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
179
179
  onChangeQuery?: ((query: string) => any) | undefined;
@@ -186,7 +186,7 @@ declare const __VLS_export$1: <T extends SearchableItem>(__VLS_props: NonNullabl
186
186
  }>) => void;
187
187
  attrs: any;
188
188
  slots: TypeaheadSlots<T>;
189
- emit: ((evt: "change", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
189
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
190
190
  }>) => import("vue").VNode & {
191
191
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
192
192
  };
@@ -391,23 +391,23 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
391
391
  focusTypeahead: () => void | undefined;
392
392
  blurTypeahead: () => void | undefined;
393
393
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
394
- change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
395
394
  blur: (event: FocusEvent) => any;
396
395
  focus: (event: FocusEvent) => any;
396
+ change: (filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any;
397
397
  "update:filters": (filters: PowerSearchFilter[]) => any;
398
398
  }, string, import("vue").PublicProps, Readonly<PowerSearchProps> & Readonly<{
399
- onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
400
399
  onBlur?: ((event: FocusEvent) => any) | undefined;
401
400
  onFocus?: ((event: FocusEvent) => any) | undefined;
401
+ onChange?: ((filters: PowerSearchFilter[], changeType: PowerSearchChangeType, index: number) => any) | undefined;
402
402
  "onUpdate:filters"?: ((filters: PowerSearchFilter[]) => any) | undefined;
403
403
  }>, {
404
404
  status: PowerSearchStatus;
405
405
  size: PowerSearchSize;
406
406
  statusVariant: PowerSearchStatusVariant;
407
- disabled: boolean;
407
+ hasClear: boolean;
408
408
  labelHidden: boolean;
409
+ disabled: boolean;
409
410
  clearable: boolean;
410
- hasClear: 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>;