@astryx-vue/core 0.36.1 → 0.37.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 (168) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-C4oB89RV.js → AlertDialog-DwITRN1M.js} +1 -1
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-CU12SF6s.js → AppShell-ClZ2Y8cu.js} +2 -2
  5. package/dist/AvatarGroup/index.d.ts +1 -1
  6. package/dist/Banner/index.d.ts +1 -1
  7. package/dist/BottomSheet/index.d.ts +1 -1
  8. package/dist/BottomSheet/index.js +2 -2
  9. package/dist/{BottomSheet-DCLOhzZP.js → BottomSheet-CDxV1Rkx.js} +3 -3
  10. package/dist/BottomSheet-Cr6FacYP.js +1853 -0
  11. package/dist/Breadcrumbs/index.js +2 -2
  12. package/dist/{Breadcrumbs-BfjWIfgO.js → Breadcrumbs-DaxgM0-F.js} +1 -1
  13. package/dist/ButtonGroup/index.d.ts +1 -1
  14. package/dist/Calendar/index.d.ts +1 -1
  15. package/dist/Carousel/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-f9HzZe5y.js → Chat-BRtDKajd.js} +230 -12
  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/Collapsible/index.js +1 -1
  23. package/dist/{Collapsible-Dxp-BWv-.js → Collapsible-DfVihLCR.js} +1 -1
  24. package/dist/CommandPalette/index.js +1 -1
  25. package/dist/{CommandPalette-PyPfsPLY.js → CommandPalette-CWaKVNGZ.js} +2 -1
  26. package/dist/ComplexSelector/index.js +1 -1
  27. package/dist/{ComplexSelector-B07QdP_p.js → ComplexSelector-D2QRdM57.js} +1 -1
  28. package/dist/ContextMenu/index.d.ts +1 -1
  29. package/dist/ContextMenu/index.js +2 -2
  30. package/dist/{ContextMenu-B6NH9NBS.js → ContextMenu-D-G53u7B.js} +4 -4
  31. package/dist/DateInput/index.d.ts +1 -1
  32. package/dist/DateInput/index.js +1 -1
  33. package/dist/{DateInput-TrPijW9a.js → DateInput-BHSp4fZS.js} +2 -2
  34. package/dist/DateRangeInput/index.d.ts +1 -1
  35. package/dist/DateRangeInput/index.js +1 -1
  36. package/dist/{DateRangeInput-bKPzsoHA.js → DateRangeInput-DP1QWK_6.js} +1 -1
  37. package/dist/DateTimeInput/index.d.ts +1 -1
  38. package/dist/DateTimeInput/index.js +1 -1
  39. package/dist/{DateTimeInput-5jZPqFu2.js → DateTimeInput-Bgx9lgWb.js} +3 -3
  40. package/dist/Dialog/index.d.ts +1 -1
  41. package/dist/Dialog/index.js +3 -3
  42. package/dist/{Dialog-CDAicnpK.js → Dialog-DCKT1dWC.js} +2 -1
  43. package/dist/{Dialog-dm_qZ9NI.js → Dialog-DRQrtKHT.js} +5 -82
  44. package/dist/{DialogHeader-CQfcOIfF.js → DialogHeader-C3Mc580J.js} +1 -1
  45. package/dist/Drawer/index.d.ts +1 -1
  46. package/dist/Drawer/index.js +1 -1
  47. package/dist/Drawer-CnFTUjln.js +422 -0
  48. package/dist/DropdownMenu/index.js +2 -2
  49. package/dist/{DropdownMenu-C-SLsVSO.js → DropdownMenu-DU_Rw88D.js} +4 -4
  50. package/dist/HoverCard/index.d.ts +1 -1
  51. package/dist/InfoTip/index.d.ts +1 -1
  52. package/dist/Layout/index.js +2 -2
  53. package/dist/{Layout-CpFgVnlQ.js → Layout-BDS2ZN6C.js} +1 -1
  54. package/dist/{LayoutPanel-Dhm0Hubb.js → LayoutPanel-D56PBM4I.js} +1 -1
  55. package/dist/Lightbox/index.js +1 -1
  56. package/dist/{Lightbox-BSzyDGkK.js → Lightbox-CnTXrgq6.js} +2 -2
  57. package/dist/Link/index.d.ts +1 -1
  58. package/dist/List/index.d.ts +1 -1
  59. package/dist/Markdown/index.d.ts +1 -1
  60. package/dist/MobileNav/index.js +1 -1
  61. package/dist/{MobileNavToggle-C1_IinAo.js → MobileNavToggle-CjlgmcSf.js} +2 -2
  62. package/dist/MoreMenu/index.d.ts +1 -1
  63. package/dist/MoreMenu/index.js +1 -1
  64. package/dist/{MoreMenu-DbYO8V7N.js → MoreMenu-CGTbwTyw.js} +1 -1
  65. package/dist/MultiSelector/index.d.ts +1 -1
  66. package/dist/MultiSelector/index.js +1 -1
  67. package/dist/{MultiSelector-CthCkW-w.js → MultiSelector-DUQMNBoZ.js} +1 -1
  68. package/dist/NavItem/index.d.ts +1 -1
  69. package/dist/NavMenu/index.js +2 -2
  70. package/dist/{NavMenu-g8ZVhLMG.js → NavMenu-BflnhBtX.js} +1 -1
  71. package/dist/{NavMenuItem-DJg9jfHm.js → NavMenuItem-CrFrczWe.js} +1 -1
  72. package/dist/NumberInput/index.d.ts +1 -1
  73. package/dist/NumberInput/index.js +1 -1
  74. package/dist/{NumberInput-BM52uE72.js → NumberInput-vWUcgJU8.js} +2 -0
  75. package/dist/OverflowList/index.d.ts +1 -1
  76. package/dist/OverflowList/index.js +1 -1
  77. package/dist/{OverflowList-nW6GCEsY.js → OverflowList-D9Ua6e3-.js} +1 -1
  78. package/dist/Overlay/index.d.ts +1 -1
  79. package/dist/Pagination/index.d.ts +1 -1
  80. package/dist/Pagination/index.js +1 -1
  81. package/dist/{Pagination-DFZivDZZ.js → Pagination-DBikmHyn.js} +3 -3
  82. package/dist/Popover/index.js +1 -1
  83. package/dist/{Popover-IvZGq1LC.js → Popover-CTCWhA_K.js} +3 -3
  84. package/dist/PowerSearch/index.d.ts +1 -1
  85. package/dist/PowerSearch/index.js +1 -1
  86. package/dist/{PowerSearch-CQdyB8_N.js → PowerSearch-CTNFHNnr.js} +10 -10
  87. package/dist/ProgressBar/index.d.ts +1 -1
  88. package/dist/Radio/index.d.ts +1 -1
  89. package/dist/RadioList/index.d.ts +1 -1
  90. package/dist/ScrollableArea/index.d.ts +1 -1
  91. package/dist/SelectableCard/index.d.ts +1 -1
  92. package/dist/Selector/index.d.ts +1 -1
  93. package/dist/Selector/index.js +1 -1
  94. package/dist/{Selector-icOfE3ja.js → Selector-BvxQXUYr.js} +1 -1
  95. package/dist/SideNav/index.d.ts +1 -1
  96. package/dist/SideNav/index.js +1 -1
  97. package/dist/{SideNav-ZZ5zCQz0.js → SideNav-D8jQrwtL.js} +1 -1
  98. package/dist/Stack/index.d.ts +1 -1
  99. package/dist/Stepper/index.d.ts +1 -1
  100. package/dist/Switch/index.d.ts +1 -1
  101. package/dist/TabList/index.d.ts +1 -1
  102. package/dist/TabList/index.js +1 -1
  103. package/dist/{TabList-C-HBxmkc.js → TabList-DjRutwar.js} +1 -1
  104. package/dist/Table/index.d.ts +1 -1
  105. package/dist/Table/index.js +1 -1
  106. package/dist/{Table-aMqVf_iH.js → Table-3GiSElIS.js} +8 -8
  107. package/dist/TextArea/index.d.ts +1 -1
  108. package/dist/TextArea/index.js +1 -1
  109. package/dist/{TextArea-YJtL9Fi6.js → TextArea-BtBC4IoD.js} +2 -0
  110. package/dist/TextInput/index.d.ts +1 -1
  111. package/dist/TextInput/index.js +1 -1
  112. package/dist/{TextInput-CuPxOApN.js → TextInput-cotkU2bC.js} +2 -0
  113. package/dist/{TimeField-DNxPI2cM.js → TimeField-BYuUKUNq.js} +1 -1
  114. package/dist/TimeInput/index.d.ts +1 -1
  115. package/dist/TimeInput/index.js +1 -1
  116. package/dist/{TimeInput-PJdyNX0T.js → TimeInput-Bqo_oHMl.js} +1 -1
  117. package/dist/Timer/index.d.ts +1 -1
  118. package/dist/Timestamp/index.d.ts +1 -1
  119. package/dist/Toast/index.js +1 -1
  120. package/dist/{Toast-W6aKxXlF.js → Toast-BSay0eZw.js} +14 -6
  121. package/dist/ToggleButton/index.d.ts +1 -1
  122. package/dist/Tokenizer/index.js +1 -1
  123. package/dist/{Tokenizer-CdyoUaoZ.js → Tokenizer-D-wBxbBE.js} +3 -3
  124. package/dist/Toolbar/index.d.ts +1 -1
  125. package/dist/Tooltip/index.d.ts +1 -1
  126. package/dist/TopNav/index.d.ts +1 -1
  127. package/dist/TopNav/index.js +1 -1
  128. package/dist/{TopNav-CxAm5bN5.js → TopNav-D7jH9iwk.js} +2 -2
  129. package/dist/TreeList/index.d.ts +1 -1
  130. package/dist/{accessibleName-CN1vKvS_.js → accessibleName-CHrrgpAy.js} +1 -1
  131. package/dist/composables/index.js +4 -4
  132. package/dist/{focusLeaving-DMkbxFkF.js → focusLeaving-BbZ69DYV.js} +1 -1
  133. package/dist/{focusReturn-DfZS7TCp.js → focusReturn-BeSRm0xD.js} +34 -3
  134. package/dist/{index-ZXrvTM3A.d.ts → index-0RIgvtdm.d.ts} +2 -2
  135. package/dist/{index-tdOyqA_U.d.ts → index-Ak1b0V24.d.ts} +1 -1
  136. package/dist/{index-DYabo8TI.d.ts → index-B44fLswd.d.ts} +2 -2
  137. package/dist/{index-B27k2e77.d.ts → index-B7Rd2RuL.d.ts} +44 -32
  138. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  139. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  140. package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
  141. package/dist/{index-x7g2WHHx.d.ts → index-BhpRhww0.d.ts} +3 -3
  142. package/dist/{index-rr6Rns7h.d.ts → index-CGRtGORf.d.ts} +1 -1
  143. package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
  144. package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
  145. package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
  146. package/dist/{index-JE1HrzdJ.d.ts → index-DVX2jlTQ.d.ts} +2 -2
  147. package/dist/{index-DofC9Rll.d.ts → index-Dk50Zh3F.d.ts} +2 -2
  148. package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
  149. package/dist/{index-BufuCsTx.d.ts → index-hwP1oWCA.d.ts} +2 -2
  150. package/dist/{index-C3JmGujU.d.ts → index-mK1ICsVg.d.ts} +1 -1
  151. package/dist/index.d.ts +17 -17
  152. package/dist/index.js +46 -46
  153. package/dist/{layerFocusReturn-CEvrMbxH.js → layerFocusReturn-uixUCSc8.js} +1 -1
  154. package/dist/{lazyBottomSheet-DlrpPOl8.js → lazyBottomSheet-C6Rw8yoX.js} +1 -1
  155. package/dist/{modalOutlet-Drr9a16b.js → modalOutlet-BwR9AAlm.js} +16 -1
  156. package/dist/position-DwHfneha.js +79 -0
  157. package/dist/rideKeyboard-BCzVooOd.js +1635 -0
  158. package/dist/sheetTransition-BEm1GCv1.js +76 -0
  159. package/dist/{useChatStreamScroll-DWhnCSP1.js → useChatStreamScroll-3mJvbNtI.js} +30 -4
  160. package/dist/{useFocusTrap-DcjriBe1.js → useFocusTrap-Bj9GskLh.js} +1 -1
  161. package/dist/{useMenuPress-zOinmIFS.js → useMenuPress-kjmot8Bn.js} +1 -1
  162. package/dist/useMobileKeyboard-BDPV51xl.js +806 -0
  163. package/dist/{useRestoreFocus-DS7uQWok.js → useRestoreFocus-m3rsqE4d.js} +1 -1
  164. package/package.json +1 -1
  165. package/styles/chat.css +6 -0
  166. package/styles/drawer.css +136 -44
  167. package/dist/BottomSheet-Chr9yCIL.js +0 -4353
  168. package/dist/Drawer-DKSqpR2p.js +0 -137
@@ -6,7 +6,7 @@ import { t as PanGestureRecognizer } from "./PanGestureRecognizer-C-gk9mOy.js";
6
6
  import { n as focusElement, r as getFocusables } from "./focus-x7mxEqjR.js";
7
7
  import { t as _sfc_main$3 } from "./IconButton-4BXILpv-.js";
8
8
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
9
- import { n as useActiveModalOutlet, r as whenModalSettled } from "./modalOutlet-Drr9a16b.js";
9
+ import { a as whenModalSettled, i as useTopLayerEntries, r as useActiveModalOutlet } from "./modalOutlet-BwR9AAlm.js";
10
10
  import { t as useGestureRecognizer } from "./useGestureRecognizer-Di-YKr93.js";
11
11
  import { t as toastMessages } from "./toast-BvAnX6Vc.js";
12
12
  import { n as useTheme, o as parseColor, s as pickMediaMode, t as _sfc_main$4 } from "./MediaTheme-CBkEmVe4.js";
@@ -669,16 +669,24 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
669
669
  * 元素的参照物,toast 会被按对话框的位置摆一次,动画结束才弹回原来的角落。等的
670
670
  * 这段时间视口留在原处,先把顶层顺序放到对话框上面,用户看到的位置就不变。
671
671
  */
672
+ /** 视口重新进一次顶层,排到此刻所有顶层元素的最上面。 */
673
+ function reenterTopLayer() {
674
+ const element = viewportRef.value;
675
+ if (element == null || typeof element.hidePopover !== "function") return;
676
+ try {
677
+ element.hidePopover();
678
+ element.showPopover();
679
+ } catch {}
680
+ }
681
+ watch(useTopLayerEntries(), () => {
682
+ if (mountTarget.value === "body") reenterTopLayer();
683
+ });
672
684
  watch(activeModal, async (modal) => {
673
685
  if (modal == null) {
674
686
  mountTarget.value = "body";
675
687
  return;
676
688
  }
677
- const element = viewportRef.value;
678
- if (element != null && typeof element.hidePopover === "function") try {
679
- element.hidePopover();
680
- element.showPopover();
681
- } catch {}
689
+ reenterTopLayer();
682
690
  await whenModalSettled(modal);
683
691
  await afterTwoFrames();
684
692
  if (activeModal.value === modal) mountTarget.value = modal;
@@ -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-B27k2e77.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-B7Rd2RuL.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 { t as _sfc_main } from "../Tokenizer-CdyoUaoZ.js";
1
+ import { t as _sfc_main } from "../Tokenizer-D-wBxbBE.js";
2
2
  export { _sfc_main as Tokenizer };
@@ -12,14 +12,14 @@ import { t as useInputStatusIcon } from "./useInputStatusIcon-CXP2kRSe.js";
12
12
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
13
13
  import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
14
14
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
15
- import { t as _sfc_main$7 } from "./Dialog-dm_qZ9NI.js";
15
+ import { t as _sfc_main$7 } from "./Dialog-DRQrtKHT.js";
16
16
  import { t as _sfc_main$8 } from "./Heading-BZ0ydu2s.js";
17
17
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
18
18
  import { t as _sfc_main$9 } from "./Stack-DPB-Ztf7.js";
19
19
  import { t as _sfc_main$10 } from "./Text-bvai__ae.js";
20
20
  import { t as _sfc_main$11 } from "./CheckboxIndicator-fH4d-JE1.js";
21
21
  import { t as useHeldPresentation } from "./useHeldPresentation-CaIKTwUh.js";
22
- import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-DlrpPOl8.js";
22
+ import { n as preloadBottomSheet, t as LazyBottomSheet } from "./lazyBottomSheet-C6Rw8yoX.js";
23
23
  import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
24
24
  import { n as spinnerOwnerKey, t as _sfc_main$12 } from "./Spinner-D1adu3uH.js";
25
25
  import { t as _sfc_main$13 } from "./Field-CZndbiqR.js";
@@ -29,7 +29,7 @@ import { t as _sfc_main$14 } from "./EmptyState-DU7uOI2G.js";
29
29
  import { t as _sfc_main$15 } from "./Token-Dk6MPUkH.js";
30
30
  import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BU1CKW7m.js";
31
31
  import { i as _sfc_main$16, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-B14t0HGE.js";
32
- import { t as _sfc_main$17 } from "./TextInput-CuPxOApN.js";
32
+ import { t as _sfc_main$17 } from "./TextInput-cotkU2bC.js";
33
33
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
34
34
  import "../styles/layer.css";
35
35
  import "../styles/alert-dialog.css";
@@ -1,3 +1,3 @@
1
- import { T as _default } from "../index-B27k2e77.js";
1
+ import { T as _default } from "../index-B7Rd2RuL.js";
2
2
  import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-CKDaU_se.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-DYabo8TI.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-B44fLswd.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-B27k2e77.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-B7Rd2RuL.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 _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-CxAm5bN5.js";
1
+ import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-D7jH9iwk.js";
2
2
  export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
@@ -7,13 +7,13 @@ import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
7
7
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
8
8
  import { t as useListFocus } from "./useListFocus-Ccd_HU9T.js";
9
9
  import { t as navMessages } from "./nav-DpKQUHqR.js";
10
- import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-C1_IinAo.js";
10
+ import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-CjlgmcSf.js";
11
11
  import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
12
12
  import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
13
13
  import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
14
14
  import { t as _sfc_main$12 } from "./NavItem-DTO-BEfc.js";
15
15
  import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-BpYjtYo5.js";
16
- import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-DJg9jfHm.js";
16
+ import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-CrFrczWe.js";
17
17
  import { t as _sfc_main$16 } from "./NavHeadingSurface-CK9zMjFC.js";
18
18
  import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
19
19
  import "../styles/top-nav.css";
@@ -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-C4S65SAW.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-CKnr0JlT.js";
2
2
  export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
@@ -1,6 +1,6 @@
1
1
  import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
2
2
  import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
3
- import { t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
3
+ import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
4
4
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
5
5
  import { r as keepDisabledRowUnfocused } from "./menuActivation-BQqnzKAX.js";
6
6
  import { t as _sfc_main$5 } from "./Item-CKYsTbM4.js";
@@ -12,7 +12,7 @@ import { t as useAnimatedLayout } from "../useAnimatedLayout-Dq-cttfe.js";
12
12
  import { t as useAnnounce } from "../announce-GU01Oix2.js";
13
13
  import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
14
14
  import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-7GTcK8ep.js";
15
- import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-DWhnCSP1.js";
15
+ import { i as useChatNewMessages, r as CHAT_MESSAGE_CLASS, t as useChatStreamScroll } from "../useChatStreamScroll-3mJvbNtI.js";
16
16
  import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
17
17
  import { t as useCombobox } from "../useCombobox-BbDP75hw.js";
18
18
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
@@ -20,21 +20,21 @@ import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l
20
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
21
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
22
22
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
23
- import { t as useFocusTrap } from "../useFocusTrap-DcjriBe1.js";
23
+ import { t as useFocusTrap } from "../useFocusTrap-Bj9GskLh.js";
24
24
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
25
25
  import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-7-uUaJ7x.js";
26
26
  import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
27
27
  import { t as useInputStatusIcon } from "../useInputStatusIcon-CXP2kRSe.js";
28
28
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
29
29
  import { t as useListFocus } from "../useListFocus-Ccd_HU9T.js";
30
- import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-zOinmIFS.js";
30
+ import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-kjmot8Bn.js";
31
31
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
32
32
  import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
33
33
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
34
34
  import { n as computeOverflow, t as useOverflow } from "../useOverflow-GU0pxGaU.js";
35
35
  import { t as usePendingChange } from "../usePendingChange-ib-h8FZK.js";
36
36
  import { t as useResolvedLabelHidden } from "../useResolvedLabelHidden-B2rlWiaI.js";
37
- import { t as useRestoreFocus } from "../useRestoreFocus-DS7uQWok.js";
37
+ import { t as useRestoreFocus } from "../useRestoreFocus-m3rsqE4d.js";
38
38
  import { t as useScrollableArea } from "../useScrollableArea-BaHkGWbX.js";
39
39
  import { t as useScrollLock } from "../scrollLock-CoVg9lLU.js";
40
40
  import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
@@ -1,4 +1,4 @@
1
- import { n as isFocusDetached, t as focusForLastInput } from "./focusReturn-DfZS7TCp.js";
1
+ import { r as isFocusDetached, t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
2
2
  import { watch } from "vue";
3
3
  //#region src/composables/internal/focusLeaving.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
1
  import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
2
+ import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
2
3
  //#region src/composables/internal/focusReturn.ts
3
4
  /**
4
5
  * 焦点归还的两个小工具。浮层关闭、把焦点还给触发器时用。
@@ -24,10 +25,11 @@ function isTextEntry(element) {
24
25
  * 用鼠标或手指关掉浮层后,焦点回到触发器上,但触发器不会突然亮起一圈焦点环。
25
26
  * 文本输入类元素例外:它们本来就要画出「打字会落在这里」,多一次 blur 还可能触发校验,
26
27
  * 所以一律直接聚焦。`options` 原样交给 `focus()`,例如 `preventScroll`。
28
+ * `modality` 是调用方已经读到的上一次输入,不传就读页面当前的。
27
29
  */
28
- function focusForLastInput(element, options) {
30
+ function focusForLastInput(element, options, modality) {
29
31
  trackInteractionModality();
30
- if (isTextEntry(element) || getInteractionModality() !== "pointer") {
32
+ if (isTextEntry(element) || (modality ?? getInteractionModality()) !== "pointer") {
31
33
  element.focus(options);
32
34
  return;
33
35
  }
@@ -37,5 +39,34 @@ function focusForLastInput(element, options) {
37
39
  focusVisible: false
38
40
  });
39
41
  }
42
+ const temporaryFocus = /* @__PURE__ */ new WeakMap();
43
+ /** 撤掉本模块给 `element` 临时加的焦点停靠位;没有就什么都不做。 */
44
+ function releaseTemporaryFocus(element) {
45
+ temporaryFocus.get(element)?.();
46
+ }
47
+ /**
48
+ * 像 `focusForLastInput` 一样聚焦 `element`。它本来不可聚焦时,临时给一个
49
+ * `tabindex="-1"`,焦点一离开就撤掉,所以点击或 Tab 平时都落不到它身上。
50
+ * 返回撤销函数。
51
+ */
52
+ function focusForLastInputTemporarily(element, options, modality = getInteractionModality(element.ownerDocument)) {
53
+ releaseTemporaryFocus(element);
54
+ if (!(!element.hasAttribute("tabindex") && element.tabIndex < 0 && !element.isContentEditable && !element.matches(FOCUSABLE_SELECTOR))) {
55
+ focusForLastInput(element, options, modality);
56
+ return () => {};
57
+ }
58
+ element.setAttribute("tabindex", "-1");
59
+ const dispose = () => {
60
+ if (temporaryFocus.get(element) !== dispose) return;
61
+ temporaryFocus.delete(element);
62
+ element.removeEventListener("blur", dispose);
63
+ if (element.getAttribute("tabindex") === "-1") element.removeAttribute("tabindex");
64
+ };
65
+ temporaryFocus.set(element, dispose);
66
+ focusForLastInput(element, options, modality);
67
+ if (element.ownerDocument.activeElement === element) element.addEventListener("blur", dispose, { once: true });
68
+ else dispose();
69
+ return dispose;
70
+ }
40
71
  //#endregion
41
- export { isFocusDetached as n, focusForLastInput as t };
72
+ export { focusForLastInputTemporarily as n, isFocusDetached as r, focusForLastInput as t };
@@ -121,10 +121,10 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
121
121
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
122
122
  onPageSizeChange?: ((pageSize: number) => any) | undefined;
123
123
  }>, {
124
- step: number;
125
- isDisabled: boolean;
126
124
  size: PaginationSize;
125
+ isDisabled: boolean;
127
126
  variant: PaginationVariant;
127
+ step: number;
128
128
  disabled: boolean;
129
129
  page: number;
130
130
  pageSize: number;
@@ -101,8 +101,8 @@ type __VLS_WithSlots$1<T, S> = T & {
101
101
  //#region src/Stepper/Stepper.vue.d.ts
102
102
  type __VLS_Slots = StepperSlots;
103
103
  declare const __VLS_base: import("vue").DefineComponent<StepperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepperProps> & Readonly<{}>, {
104
- density: StepperDensity;
105
104
  orientation: StepperOrientation;
105
+ density: StepperDensity;
106
106
  indicatorPosition: StepperIndicatorPosition;
107
107
  hasCollapsibleLabels: boolean;
108
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -66,16 +66,16 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
66
66
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
67
67
  }>, {
68
68
  anchor: HTMLElement | null;
69
- content: string;
70
69
  isOpen: boolean;
71
70
  placement: TooltipPlacement;
72
71
  alignment: TooltipAlignment;
72
+ content: string;
73
73
  isDefaultOpen: boolean;
74
+ isEnabled: boolean;
74
75
  delay: number;
75
76
  hideDelay: number;
76
77
  focusTrigger: TooltipFocusTrigger;
77
78
  touchTrigger: TooltipTouchTrigger;
78
- isEnabled: boolean;
79
79
  hasHoverIndication: boolean | "auto";
80
80
  anchorsOnSelf: boolean;
81
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,7 +8,7 @@ import { c as TextType, l as TextWeight, n as TextColor, o as TextSize } from ".
8
8
  import { f as LinkColor, o as AvatarShape, p as LinkProps, s as AvatarSize } from "./index-Dc52pmSr.js";
9
9
  import { r as BadgeVariant } from "./index-CuFLztiI.js";
10
10
  import "./index-CFfXQMkd.js";
11
- import "./index-JE1HrzdJ.js";
11
+ import "./index-DVX2jlTQ.js";
12
12
  import "./index-BaK0mywG.js";
13
13
  import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
14
14
  import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
@@ -37,14 +37,14 @@ import { a as PaddingInput, i as SectionVariant, o as SizeValue } from "./types-
37
37
  import { B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, M as TablePlugin, N as TableProps, R as TableRowProps, T as TableFilterState, V as TableSlots, W as TableSortState, _ as TableCellProps, et as ToolbarOrientation, h as ProportionalWidth, i as ResizableRegion, it as ToolbarVariant, m as PixelWidth, nt as ToolbarSize, p as ColumnWidth, rt as ToolbarSlots, tt as ToolbarProps, v as TableColumn, z as TableSelectionToolbarProps } from "./useResizable-CKDaU_se.js";
38
38
  import { u as MenuDrillIn } from "./index-DvCLTiDV.js";
39
39
  import { i as EntryErrorBehavior } from "./index-DcisK4t8.js";
40
- import { f as DialogPurpose, l as DialogPadding } from "./index-CBOv5j3c.js";
40
+ import { f as DialogPurpose, l as DialogPadding } from "./index-CbA8rR_b.js";
41
41
  import "./index-C8wfe0Mr.js";
42
42
  import "./index--Xrukl7L.js";
43
43
  import "./index-BZUVNr2c.js";
44
44
  import "./index-DHUCHxn2.js";
45
45
  import "./index-C-kIxNCq.js";
46
46
  import "./index-C89cIh4E.js";
47
- import "./index-DofC9Rll.js";
47
+ import "./index-Dk50Zh3F.js";
48
48
  import "./index-CXOAA8us.js";
49
49
  import "./index-BMVI4cM5.js";
50
50
  import "./index-DkYOGpsC.js";
@@ -54,41 +54,41 @@ import "./index-fuztfDLA.js";
54
54
  import "./index-DAz4l6Jw.js";
55
55
  import "./index-CCpcerMA.js";
56
56
  import "./index-CitZGSn0.js";
57
- import "./index-rr6Rns7h.js";
57
+ import "./index-CGRtGORf.js";
58
58
  import "./index-tXYy8MJ0.js";
59
59
  import { k as MarkdownAstDataValue, l as MarkdownPluginEntry, t as MarkdownExtensionNode } from "./protocol-DwUmpC5G.js";
60
60
  import "./index-utZGF4GR.js";
61
61
  import "./index-C5fbwY7Y.js";
62
- import "./index-BufuCsTx.js";
63
- import "./index-BfFpUr1B.js";
62
+ import "./index-hwP1oWCA.js";
63
+ import "./index-ZKBj_1nu.js";
64
64
  import { h as NavMenuFocusRequest } from "./index-BIQZa2BD.js";
65
65
  import "./index-B1t1oQWH.js";
66
- import "./index-BuubzuE8.js";
67
- import "./index-ZXrvTM3A.js";
66
+ import "./index-BDZCJ9ri.js";
67
+ import "./index-0RIgvtdm.js";
68
68
  import "./index-CilCxEvD.js";
69
- import "./index-CdvmnNMH.js";
69
+ import "./index-COgrQZIL.js";
70
70
  import "./index-CZ29Xu_E.js";
71
71
  import "./index-fAZaRruV.js";
72
72
  import "./index-CEv_AvOg.js";
73
73
  import "./index-C93nwgTW.js";
74
- import "./index-x7g2WHHx.js";
74
+ import "./index-BhpRhww0.js";
75
75
  import "./index-q7fVtnQc.js";
76
76
  import "./index-JGPd3Ghy.js";
77
77
  import "./index-DZCpswvp.js";
78
78
  import "./index-BVi16JNo.js";
79
- import "./index-BgT6mH3U.js";
79
+ import "./index-BB9acgK8.js";
80
80
  import "./index-CMiF_a__.js";
81
- import "./index-tdOyqA_U.js";
82
- import "./index-C3JmGujU.js";
81
+ import "./index-Ak1b0V24.js";
82
+ import "./index-mK1ICsVg.js";
83
83
  import "./index-CtYlR9Cu.js";
84
84
  import "./index-EUzmHHm6.js";
85
85
  import "./index-CtlkhQ55.js";
86
- import "./index-X4S7_dmq.js";
86
+ import "./index-BA8exXNP.js";
87
87
  import "./index-bk5kfP_c.js";
88
88
  import "./index-BqhgeAT4.js";
89
89
  import "./index-J83fLEyo.js";
90
- import "./index-DYabo8TI.js";
91
- import "./index-C4S65SAW.js";
90
+ import "./index-B44fLswd.js";
91
+ import "./index-CKnr0JlT.js";
92
92
  import "./index-1yvu_vpF.js";
93
93
  import "./index-DGV6SCWO.js";
94
94
  import { CSSProperties, Component, ComputedRef, InjectionKey, MaybeRefOrGetter, PropType, Ref, ShallowRef, StyleValue, VNode, VNodeChild } from "vue";
@@ -175,8 +175,8 @@ type __VLS_Slots$63 = ButtonGroupSlots;
175
175
  declare const __VLS_base$63: import("vue").DefineComponent<ButtonGroupProps, {
176
176
  element: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
177
177
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
178
- isDisabled: boolean;
179
178
  orientation: ButtonGroupOrientation;
179
+ isDisabled: boolean;
180
180
  elevation: ButtonElevation;
181
181
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
182
182
  declare const __VLS_export$77: __VLS_WithSlots$63<typeof __VLS_base$63, __VLS_Slots$63>;
@@ -285,8 +285,8 @@ declare const __VLS_base$62: import("vue").DefineComponent<CalendarProps, Calend
285
285
  mode: "single" | "range";
286
286
  numberOfMonths: 1 | 2;
287
287
  weekStartsOn: WeekStartsOn;
288
- minRangeSpan: number;
289
288
  disabled: boolean;
289
+ minRangeSpan: number;
290
290
  range: CalendarRangeValue | null;
291
291
  hasOutsideDays: boolean;
292
292
  hasWeekNumbers: boolean;
@@ -1063,8 +1063,8 @@ declare const __VLS_base$60: import("vue").DefineComponent<ChatComposerProps, {
1063
1063
  onStop?: (() => any) | undefined;
1064
1064
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1065
1065
  }>, {
1066
- density: ChatDensity;
1067
1066
  elevation: ChatComposerElevation;
1067
+ density: ChatDensity;
1068
1068
  statusPosition: "top" | "bottom";
1069
1069
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1070
1070
  declare const __VLS_export$74: __VLS_WithSlots$60<typeof __VLS_base$60, __VLS_Slots$60>;
@@ -2090,15 +2090,15 @@ declare const __VLS_base$44: import("vue").DefineComponent<__VLS_PublicProps$12,
2090
2090
  open: () => void;
2091
2091
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2092
2092
  openChange: (isOpen: boolean) => any;
2093
- select: (item: ContextMenuItemData, event: MouseEvent) => any;
2094
2093
  "update:isOpen": (...args: unknown[]) => any;
2094
+ select: (item: ContextMenuItemData, event: MouseEvent) => any;
2095
2095
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$12> & Readonly<{
2096
2096
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
2097
- onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
2098
2097
  "onUpdate:isOpen"?: ((...args: unknown[]) => any) | undefined;
2098
+ onSelect?: ((item: ContextMenuItemData, event: MouseEvent) => any) | undefined;
2099
2099
  }>, {
2100
- isDisabled: boolean;
2101
2100
  size: ContextMenuSize;
2101
+ isDisabled: boolean;
2102
2102
  presentation: ContextMenuPresentation;
2103
2103
  triggerAs: ContextMenuTriggerElement;
2104
2104
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -2534,7 +2534,10 @@ interface DrawerProps {
2534
2534
  isOpen: boolean;
2535
2535
  /** 抽屉的无障碍名称。 */
2536
2536
  label: string;
2537
- /** 贴哪一边。@default 'end' */
2537
+ /**
2538
+ * 贴哪一边。打开期间改了它,面板等关上之后才换边:退场总是从进场的那一侧滑出。
2539
+ * @default 'end'
2540
+ */
2538
2541
  placement?: DrawerPlacement;
2539
2542
  /** 首选宽度。数字为像素,字符串原样使用。@default 400 */
2540
2543
  width?: number | string;
@@ -2546,13 +2549,21 @@ interface DrawerProps {
2546
2549
  * @default 'info'
2547
2550
  */
2548
2551
  purpose?: DialogPurpose;
2552
+ /**
2553
+ * 是否带遮罩。
2554
+ * - `true`:模态。遮罩挡住页面,焦点关在面板里,页面不能滚动,点遮罩按 `purpose` 关闭。
2555
+ * - `false`:非模态。没有遮罩,焦点不关在面板里,旁边的页面照常能点、能滚。
2556
+ * Escape 照样关闭(`purpose` 为 `required` 时除外)。没有遮罩可点,记得放一个看得见的关闭按钮。
2557
+ * @default true
2558
+ */
2559
+ hasScrim?: boolean;
2549
2560
  }
2550
2561
  interface DrawerHeaderProps {
2551
2562
  /** 标题。它会命名抽屉。 */
2552
2563
  title: string;
2553
2564
  /** 标题下方的副标题。为空字符串时不渲染。 */
2554
2565
  subtitle?: string;
2555
- /** 是否显示关闭按钮。默认跟随是否监听 `close`。 */
2566
+ /** 是否显示关闭按钮。默认跟随是否监听 `openChange`。 */
2556
2567
  hasCloseButton?: boolean;
2557
2568
  /** 关闭按钮的无障碍名称。不传时跟界面语言走。 */
2558
2569
  closeButtonLabel?: string;
@@ -2589,6 +2600,7 @@ declare const __VLS_base$39: import("vue").DefineComponent<DrawerProps, {}, {},
2589
2600
  placement: DrawerPlacement;
2590
2601
  padding: DialogPadding;
2591
2602
  purpose: DialogPurpose;
2603
+ hasScrim: boolean;
2592
2604
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
2593
2605
  declare const __VLS_export$44: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
2594
2606
  declare const _default$44: typeof __VLS_export$44;
@@ -3928,9 +3940,9 @@ declare const __VLS_base$32: import("vue").DefineComponent<PowerSearchProps, {
3928
3940
  presentation: PowerSearchPresentation;
3929
3941
  hasClear: boolean;
3930
3942
  labelHidden: boolean;
3943
+ overflow: PowerSearchOverflow;
3931
3944
  disabled: boolean;
3932
3945
  clearable: boolean;
3933
- overflow: PowerSearchOverflow;
3934
3946
  readOnly: boolean;
3935
3947
  maxTokenLength: number;
3936
3948
  maxSearchResults: number;
@@ -4453,8 +4465,8 @@ declare const __VLS_base$25: import("vue").DefineComponent<SideNavProps, {}, {},
4453
4465
  onCollapsedChange?: ((isCollapsed: boolean) => any) | undefined;
4454
4466
  onWidthChange?: ((width: number) => any) | undefined;
4455
4467
  }>, {
4456
- resizable: boolean | ResizableRegion | SideNavResizable;
4457
4468
  collapsible: boolean | SideNavCollapsible;
4469
+ resizable: boolean | ResizableRegion | SideNavResizable;
4458
4470
  isCollapsed: boolean;
4459
4471
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4460
4472
  declare const __VLS_export$29: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
@@ -4502,8 +4514,8 @@ declare const __VLS_base$22: import("vue").DefineComponent<SideNavItemProps, {},
4502
4514
  }, string, import("vue").PublicProps, Readonly<SideNavItemProps> & Readonly<{
4503
4515
  onClick?: ((event: MouseEvent) => any) | undefined;
4504
4516
  }>, {
4505
- isDisabled: boolean;
4506
4517
  size: NavItemSize;
4518
+ isDisabled: boolean;
4507
4519
  collapsible: boolean | SideNavItemCollapsible;
4508
4520
  isSelected: boolean;
4509
4521
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -5231,10 +5243,10 @@ declare const __VLS_base$12: import("vue").DefineComponent<__VLS_PublicProps$4,
5231
5243
  }>, {
5232
5244
  loadingLabel: string;
5233
5245
  statusVariant: FieldStatusPlacement;
5234
- rows: number;
5235
5246
  hasSpellCheck: boolean;
5236
- resize: TextAreaResize;
5237
5247
  hasAutoCorrect: boolean;
5248
+ rows: number;
5249
+ resize: TextAreaResize;
5238
5250
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5239
5251
  declare const __VLS_export$15: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
5240
5252
  declare const _default$15: typeof __VLS_export$15;
@@ -5504,8 +5516,8 @@ interface TimestampProps {
5504
5516
  //#region src/Timestamp/Timestamp.vue.d.ts
5505
5517
  declare const __VLS_export$12: import("vue").DefineComponent<TimestampProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimestampProps> & Readonly<{}>, {
5506
5518
  type: TextType;
5507
- format: TimestampFormat;
5508
5519
  color: TimestampColor;
5520
+ format: TimestampFormat;
5509
5521
  autoThreshold: number;
5510
5522
  hasTooltip: boolean;
5511
5523
  isTimezoneShown: boolean;
@@ -5751,9 +5763,9 @@ declare const __VLS_base$9: import("vue").DefineComponent<__VLS_PublicProps, {},
5751
5763
  onChange?: ((value: ToggleButtonGroupValue) => any) | undefined;
5752
5764
  }>, {
5753
5765
  type: ToggleButtonGroupType;
5754
- isDisabled: boolean;
5755
5766
  orientation: ToggleButtonGroupOrientation;
5756
5767
  size: ButtonSize;
5768
+ isDisabled: boolean;
5757
5769
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5758
5770
  declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
5759
5771
  declare const _default$10: typeof __VLS_export$10;
@@ -5962,8 +5974,8 @@ declare const __VLS_export$6: import("vue").DefineComponent<TopNavItemProps, {},
5962
5974
  }, string, import("vue").PublicProps, Readonly<TopNavItemProps> & Readonly<{
5963
5975
  onClick?: ((event: MouseEvent) => any) | undefined;
5964
5976
  }>, {
5965
- isDisabled: boolean;
5966
5977
  size: NavItemSize;
5978
+ isDisabled: boolean;
5967
5979
  isIconOnly: boolean;
5968
5980
  isSelected: boolean;
5969
5981
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -45,8 +45,8 @@ interface TimerProps {
45
45
  //#region src/Timer/Timer.vue.d.ts
46
46
  declare const __VLS_export: import("vue").DefineComponent<TimerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimerProps> & Readonly<{}>, {
47
47
  type: TimerType;
48
- format: "clock" | "elapsed";
49
48
  color: TimerColor;
49
+ format: "clock" | "elapsed";
50
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
51
  declare const _default: typeof __VLS_export;
52
52
  //#endregion
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
18
18
  };
19
19
  declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
20
20
  as: StackElement;
21
- wrap: StackWrap;
22
21
  direction: StackDirection;
22
+ wrap: StackWrap;
23
23
  isScrollable: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
@@ -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;
@@ -174,11 +174,11 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
174
174
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
175
175
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
176
176
  }>, {
177
+ isLoading: boolean;
178
+ variant: SelectorVariant;
177
179
  status: SelectorStatusInput;
178
180
  isOptional: boolean;
179
181
  indicatorPosition: SelectorIndicatorPosition;
180
- isLoading: boolean;
181
- variant: SelectorVariant;
182
182
  modelValue: string | number | null;
183
183
  isLabelHidden: boolean;
184
184
  isRequired: boolean;
@@ -186,8 +186,8 @@ declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {
186
186
  presentation: SelectorPresentation;
187
187
  isReadOnly: boolean;
188
188
  disabled: boolean;
189
- clearable: boolean;
190
189
  searchable: boolean;
190
+ clearable: boolean;
191
191
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
192
192
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
193
193
  declare const _default: typeof __VLS_export;
@@ -36,9 +36,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<ItemProps, {
36
36
  blur: typeof blur;
37
37
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ItemProps> & Readonly<{}>, {
38
38
  isDisabled: boolean;
39
+ as: ItemElement;
39
40
  density: ListDensity;
40
41
  layout: ItemLayout;
41
- as: ItemElement;
42
42
  isSelected: boolean;
43
43
  align: ItemAlign;
44
44
  isHighlighted: boolean;
@@ -63,8 +63,8 @@ interface TreeListSlots {
63
63
  //#region src/TreeList/TreeList.vue.d.ts
64
64
  type __VLS_Slots = TreeListSlots;
65
65
  declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
66
- density: TreeListDensity;
67
66
  variant: TreeListVariant;
67
+ density: TreeListDensity;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
69
69
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
70
70
  declare const _default: typeof __VLS_export;
@@ -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
- isDisabled: boolean;
47
46
  size: ProgressBarSize;
47
+ isDisabled: boolean;
48
48
  value: number;
49
49
  variant: ProgressBarVariant;
50
50
  isLabelHidden: boolean;