@astryx-vue/core 0.7.15 → 0.7.17
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.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-BC87ww1T.js → AlertDialog-pPXTwJ2L.js} +3 -3
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CYS8WXJ9.js → AppShell-Cb-d6N6G.js} +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BLPUC07s.js → Avatar-CP5bJN1n.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-CbHpqPFH.js → Breadcrumbs-CXRXlVmX.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-CIbjO5sX.js → CheckboxList-or2OU4ua.js} +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-DYRnEj8W.js → CommandPalette-CM5VyZTp.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-C1dNw-kL.js → ContextMenu-DPY3WDdI.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BhxN-tp4.js → Dialog-D4V2ZnuS.js} +11 -7
- package/dist/{Dialog-Bn4eUNiy.js → Dialog-vPGLWE3o.js} +1 -1
- package/dist/{DialogHeader-BrskbLr4.js → DialogHeader-CAvunUP_.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-CDLPsaoR.js → Drawer-AYHh8GOH.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-CisXQME2.js → DropdownMenu-C1-Fx_uu.js} +2 -2
- package/dist/{DropdownMenu-JqLXEqmI.js → DropdownMenu-CjM_IQIU.js} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CiX7Vuv7.js → EmptyState-BmNR1hZq.js} +2 -2
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/Heading/index.d.ts +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-CMNl-rie.js → Heading-CwMG-5tj.js} +2 -2
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-M-Slj9ez.js → Link-DdLdry4N.js} +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-DDpbD0Sq.js → Markdown-u-bXd7Z_.js} +2 -2
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-Bmu1OpEL.js → MobileNavToggle-DgEwchpj.js} +30 -4
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-QWReDavJ.js → MoreMenu-CUWP3WTs.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CtS6Lb32.js → PowerSearch-nhD4sW-n.js} +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Bfzg2V4l.js → ProgressBar-Cmbhdfla.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CQ_0E3EQ.js → RadioGroup-BFIcWqN_.js} +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-BngWBEJ9.js → RadioList-B0UX3tZg.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-51VcU4uB.js → SideNav-XSwiuJVo.js} +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-BydlQrpY.js → StatusDot-DhNtAVEN.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-ChVsEuB0.js → Table-PpBwmDT3.js} +1 -1
- package/dist/Text/index.d.ts +1 -1
- package/dist/Text/index.js +1 -1
- package/dist/{Text-BA_BxREl.js → Text-D8ZIQxgB.js} +2 -2
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-BC4-JVWr.js → Thumbnail-BvXGkihb.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DnzK3Ba0.js → Timer-cp10vcti.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-BPFUaR4k.js → Timestamp-DAfry9GA.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/{Tooltip-mehHUt_U.js → Tooltip-sESBLZwR.js} +12 -4
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-C9iMSVz_.js → TopNav-Dwu7beKR.js} +1 -1
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/{index-mkbGYz8f.d.ts → index-3t5RAfNP.d.ts} +2 -2
- package/dist/{index-BhLLG-Gi.d.ts → index-B2kcUxGA.d.ts} +1 -1
- package/dist/{index-CHuSkU5Q.d.ts → index-B8wXa2fZ.d.ts} +2 -2
- package/dist/{index-BxWCX2pJ.d.ts → index-BOCb89V9.d.ts} +1 -1
- package/dist/{index-DoEZBirv.d.ts → index-BVhXf6GB.d.ts} +2 -2
- package/dist/{index-BnEhvmdR.d.ts → index-BaxM-pFP.d.ts} +4 -4
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-D97pQbua.d.ts → index-C1QW3jMW.d.ts} +1 -1
- package/dist/{index-Dl4Kx5Pl.d.ts → index-C7sam-SB.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-GpET2_oj.d.ts → index-Cq31D3fJ.d.ts} +1 -1
- package/dist/{index-U06REq7f.d.ts → index-Cv2pfNqQ.d.ts} +37 -37
- package/dist/{index-DAMHLkmd.d.ts → index-DB2tQa0s.d.ts} +1 -1
- package/dist/{index-8px-LKw_.d.ts → index-Dacg7XTH.d.ts} +2 -2
- package/dist/{index-BbArm3_c.d.ts → index-DdZxmFE2.d.ts} +1 -1
- package/dist/{index-CfSSGJgv.d.ts → index-Do0iakTm.d.ts} +6 -6
- package/dist/{index-BUlAPQW0.d.ts → index-IfsSCj8J.d.ts} +2 -2
- package/dist/{index-vhdPQJYw.d.ts → index-Zyk1puoO.d.ts} +2 -2
- package/dist/index.d.ts +19 -19
- package/dist/index.js +33 -33
- package/dist/{useMenuDrillIn-CjU_ZMhh.js → useMenuDrillIn-B6jh8tv8.js} +4 -3
- package/dist/useTruncation-C02rA1-c.js +102 -0
- package/package.json +1 -1
- package/styles/mobile-nav.css +8 -0
- package/dist/useTruncation-B5qXQzAP.js +0 -53
- package/dist/{index-BJ9Wim6J.d.ts → index-D8lv2BiD.d.ts} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-
|
|
1
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "../AlertDialog-pPXTwJ2L.js";
|
|
2
2
|
export { _sfc_main as AlertDialog, useImperativeAlertDialog };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Button-xMGOU3Wj.js";
|
|
2
2
|
import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
4
|
-
import { t as _sfc_main$3 } from "./Heading-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Dialog-D4V2ZnuS.js";
|
|
4
|
+
import { t as _sfc_main$3 } from "./Heading-CwMG-5tj.js";
|
|
5
5
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
6
6
|
import { t as _sfc_main$4 } from "./Stack-Bp-XN9J4.js";
|
|
7
|
-
import { t as _sfc_main$5 } from "./Text-
|
|
7
|
+
import { t as _sfc_main$5 } from "./Text-D8ZIQxgB.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, mergeProps, normalizeClass, openBlock, provide, ref, renderList, renderSlot, shallowRef, toDisplayString, unref, useId, useTemplateRef, withCtx } from "vue";
|
|
9
9
|
import "../styles/alert-dialog.css";
|
|
10
10
|
//#region src/AlertDialog/context.ts
|
package/dist/AppShell/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../AppShell-
|
|
1
|
+
import { t as _sfc_main } from "../AppShell-Cb-d6N6G.js";
|
|
2
2
|
export { _sfc_main as AppShell };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
2
2
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
3
3
|
import { a as _sfc_main$2, n as _sfc_main$4, r as _sfc_main$3, t as _sfc_main$5 } from "./LayoutPanel-zM5vjrKS.js";
|
|
4
|
-
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-
|
|
4
|
+
import { n as _sfc_main$7, t as _sfc_main$6 } from "./MobileNavToggle-DgEwchpj.js";
|
|
5
5
|
import { n as sideNavRenderModeKey } from "./context-BjNya0v8.js";
|
|
6
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeModels, mergeProps, openBlock, provide, reactive, ref, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
7
7
|
import "../styles/app-shell.css";
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Avatar-CP5bJN1n.js";
|
|
2
2
|
export { _sfc_main as Avatar, _sfc_main$1 as AvatarStatusDot };
|
|
@@ -3,7 +3,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./Tooltip-
|
|
6
|
+
import { t as _sfc_main$2 } from "./Tooltip-sESBLZwR.js";
|
|
7
7
|
import { a as resolveStatusDotVariant, i as resolveStatusDotMetrics, n as getInitials, o as AvatarGroupContext, r as resolveSize, t as composeAccessibleName } from "./utils-ClVseK2w.js";
|
|
8
8
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, mergeProps, normalizeStyle, onUnmounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useSlots, watch, withCtx } from "vue";
|
|
9
9
|
import "../styles/avatar.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-
|
|
1
|
+
import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
|
package/dist/Banner/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ao as BannerStatus, eo as _default, io as BannerSlots, no as BannerEmits, ro as BannerProps, to as BannerContainer } from "../index-
|
|
1
|
+
import { ao as BannerStatus, eo as _default, io as BannerSlots, no as BannerEmits, ro as BannerProps, to as BannerContainer } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as Banner, type BannerContainer, type BannerEmits, type BannerProps, type BannerSlots, type BannerStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-
|
|
1
|
+
import { a as BottomSheetMotion, c as BottomSheetPurpose, d as BottomSheetState, i as BottomSheetHeight, l as BottomSheetSlots, n as _default, o as BottomSheetPadding, r as BottomSheetEmits, s as BottomSheetProps, t as _default$1, u as BottomSheetSnapPoint } from "../index-BOCb89V9.js";
|
|
2
2
|
export { _default as BottomSheet, type BottomSheetEmits, type BottomSheetHeight, type BottomSheetMotion, type BottomSheetPadding, type BottomSheetProps, type BottomSheetPurpose, type BottomSheetSlots, type BottomSheetSnapPoint, type BottomSheetState, _default$1 as BottomSheetSwitcher };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2 } from "../useMenuDrillIn-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { i as _sfc_main$1, n as _sfc_main$3, r as _sfc_main$2 } from "../useMenuDrillIn-B6jh8tv8.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-CXRXlVmX.js";
|
|
3
3
|
export { _sfc_main as BreadcrumbItem, _sfc_main$1 as BreadcrumbMenuCheckboxItem, _sfc_main$2 as BreadcrumbMenuRadioGroup, _sfc_main$3 as BreadcrumbMenuRadioItem, _sfc_main$4 as Breadcrumbs };
|
|
@@ -2,7 +2,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
|
|
|
2
2
|
import { t as _sfc_main$2 } from "./Icon-Dosui-zD.js";
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { n as useDevWarning } from "./useDevWarning-DznOpOHT.js";
|
|
5
|
-
import { t as _sfc_main$3 } from "./DropdownMenu-
|
|
5
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-CjM_IQIU.js";
|
|
6
6
|
import { n as isNavigableHref } from "./link-DuuA2eCL.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
8
8
|
import "../styles/breadcrumbs.css";
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as ButtonProps, c as ButtonSizeValue, d as ButtonVariantMap, i as ButtonLinkElement, l as ButtonSlots, n as ButtonElevation, o as ButtonRootElement, r as ButtonEmits, s as ButtonSize, t as ButtonClickAction, u as ButtonVariant } from "../types-DnrU3HYQ.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-B2kcUxGA.js";
|
|
3
3
|
export { _default as Button, _default as default, type ButtonClickAction, type ButtonElevation, type ButtonEmits, type ButtonLinkElement, type ButtonProps, type ButtonRootElement, type ButtonSize, type ButtonSizeValue, type ButtonSlots, type ButtonVariant, type ButtonVariantMap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as ButtonGroupOrientation, Qa as ButtonGroupSlots, Xa as _default, Za as ButtonGroupProps } from "../index-
|
|
1
|
+
import { $a as ButtonGroupOrientation, Qa as ButtonGroupSlots, Xa as _default, Za as ButtonGroupProps } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
package/dist/Calendar/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ga as CalendarHandle, Ja as CalendarRangeValue, Ka as CalendarHandleRef, Ua as _default, Wa as CalendarEmits, Ya as CalendarSlots, qa as CalendarProps } from "../index-
|
|
1
|
+
import { Ga as CalendarHandle, Ja as CalendarRangeValue, Ka as CalendarHandleRef, Ua as _default, Wa as CalendarEmits, Ya as CalendarSlots, qa as CalendarProps } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as Calendar, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots };
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-
|
|
1
|
+
import { $ as ChatComposerTokenBadge, A as _default$8, At as ChatReasoningProps, B as ChatComposerDrawerEmits, Bt as ChatTypingIndicatorProps, C as _default$15, Ct as ChatMessageMetadataProps, D as _default$11, Dt as ChatMessageSlots, E as _default$12, Et as ChatMessageSender, F as _default$3, Ft as ChatToolCallItem, G as ChatComposerInputControl, H as ChatComposerDrawerSlots, I as _default$2, It as ChatToolCallStatus, J as ChatComposerInputProps, K as ChatComposerInputEmits, L as _default$1, Lt as ChatToolCallsEmits, M as _default$6, Mt as ChatSystemMessageProps, N as _default$5, Nt as ChatSystemMessageSlots, O as _default$10, Ot as ChatMessageStatus, P as _default$4, Pt as ChatSystemMessageVariant, Q as ChatComposerToken, R as _default, Rt as ChatToolCallsProps, S as _default$16, St as ChatMessageListSlots, T as _default$13, Tt as ChatMessageProps, U as ChatComposerElevation, V as ChatComposerDrawerProps, Vt as ChatUnreadDividerProps, W as ChatComposerEmits, X as ChatComposerSlots, Y as ChatComposerProps, Z as ChatComposerStatus, _ as useChatComposerContext, _t as ChatMessageBubbleProps, a as useChatPasteAsToken, at as ChatSendButtonEmits, b as useChatMessageContext, bt as ChatMessageListAlign, c as SpeechRecognitionError, ct as ChatTokenizedTextProps, d as useSpeechRecognition, dt as ChatLayoutProps, et as ChatComposerTokenCustom, f as TokenPortal, ft as ChatLayoutScrollButtonEmits, g as ChatComposerContextValue, gt as ChatMessageBubbleGroup, h as useChatComposerTokens, ht as ChatLayoutSlots, i as pastedTextLabel, it as ChatDictationButtonProps, j as _default$7, jt as ChatReasoningSlots, k as _default$9, kt as ChatReasoningEmits, l as UseSpeechRecognitionOptions, lt as ChatTokenizedTextSlots, m as UseChatComposerTokensReturn, mt as ChatLayoutScrollSlotProps, n as UseChatPasteAsTokenOptions, nt as ChatComposerTrigger, o as UseChatDictationOptions, ot as ChatSendButtonProps, p as UseChatComposerTokensOptions, pt as ChatLayoutScrollButtonProps, q as ChatComposerInputHandle, r as UseChatPasteAsTokenReturn, rt as ChatComposerTriggerItem, s as useChatDictation, st as ChatSendButtonSlots, t as PASTE_TOKEN_THRESHOLD, tt as ChatComposerTokenElementProps, u as UseSpeechRecognitionReturn, ut as ChatDensity, v as useChatLayoutContext, vt as ChatMessageBubbleSlots, w as _default$14, wt as ChatMessageMetadataSlots, x as _default$17, xt as ChatMessageListProps, y as useChatListContext, yt as ChatMessageBubbleVariant, z as ChatComposerDensity, zt as ChatToolCallsSlots } from "../index-Do0iakTm.js";
|
|
2
2
|
export { _default as ChatComposer, type ChatComposerContextValue, type ChatComposerDensity, _default$1 as ChatComposerDrawer, type ChatComposerDrawerEmits, type ChatComposerDrawerProps, type ChatComposerDrawerSlots, type ChatComposerElevation, type ChatComposerEmits, _default$2 as ChatComposerInput, type ChatComposerInputControl, type ChatComposerInputEmits, type ChatComposerInputHandle, type ChatComposerInputProps, type ChatComposerProps, type ChatComposerSlots, type ChatComposerStatus, type ChatComposerToken, type ChatComposerTokenBadge, type ChatComposerTokenCustom, _default$3 as ChatComposerTokenElement, type ChatComposerTokenElementProps, type ChatComposerTrigger, type ChatComposerTriggerItem, type ChatDensity, _default$4 as ChatDictationButton, type ChatDictationButtonProps, _default$5 as ChatLayout, type ChatLayoutProps, _default$6 as ChatLayoutScrollButton, type ChatLayoutScrollButtonEmits, type ChatLayoutScrollButtonProps, type ChatLayoutScrollSlotProps, type ChatLayoutSlots, _default$7 as ChatMessage, _default$8 as ChatMessageBubble, type ChatMessageBubbleGroup, type ChatMessageBubbleProps, type ChatMessageBubbleSlots, type ChatMessageBubbleVariant, _default$9 as ChatMessageList, type ChatMessageListAlign, type ChatMessageListProps, type ChatMessageListSlots, _default$10 as ChatMessageMetadata, type ChatMessageMetadataProps, type ChatMessageMetadataSlots, type ChatMessageProps, type ChatMessageSender, type ChatMessageSlots, type ChatMessageStatus, _default$11 as ChatReasoning, type ChatReasoningEmits, type ChatReasoningProps, type ChatReasoningSlots, _default$12 as ChatSendButton, type ChatSendButtonEmits, type ChatSendButtonProps, type ChatSendButtonSlots, _default$13 as ChatSystemMessage, type ChatSystemMessageProps, type ChatSystemMessageSlots, type ChatSystemMessageVariant, _default$14 as ChatTokenizedText, type ChatTokenizedTextProps, type ChatTokenizedTextSlots, type ChatToolCallItem, type ChatToolCallStatus, _default$15 as ChatToolCalls, type ChatToolCallsEmits, type ChatToolCallsProps, type ChatToolCallsSlots, _default$16 as ChatTypingIndicator, type ChatTypingIndicatorProps, _default$17 as ChatUnreadDivider, type ChatUnreadDividerProps, PASTE_TOKEN_THRESHOLD, type SpeechRecognitionError, type TokenPortal, type UseChatComposerTokensOptions, type UseChatComposerTokensReturn, type UseChatDictationOptions, type UseChatPasteAsTokenOptions, type UseChatPasteAsTokenReturn, type UseSpeechRecognitionOptions, type UseSpeechRecognitionReturn, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ba as CheckboxInputProps, Ha as CheckboxValue, Ia as _default, La as CheckboxInputChangeAction, Ra as CheckboxInputChangeEvent, Va as CheckboxInputSlots, za as CheckboxInputEmits } from "../index-
|
|
1
|
+
import { Ba as CheckboxInputProps, Ha as CheckboxValue, Ia as _default, La as CheckboxInputChangeAction, Ra as CheckboxInputChangeEvent, Va as CheckboxInputSlots, za as CheckboxInputEmits } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as CheckboxInput, type CheckboxInputChangeAction, type CheckboxInputChangeEvent, type CheckboxInputEmits, type CheckboxInputProps, type CheckboxInputSlots, type CheckboxValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Aa as _default$1, Fa as CheckboxListProps, Ma as CheckboxListEmits, Na as CheckboxListItemEmits, Pa as CheckboxListItemProps, ja as _default } from "../index-
|
|
1
|
+
import { Aa as _default$1, Fa as CheckboxListProps, Ma as CheckboxListEmits, Na as CheckboxListItemEmits, Pa as CheckboxListItemProps, ja as _default } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as CheckboxList, type CheckboxListEmits, _default$1 as CheckboxListItem, type CheckboxListItemEmits, type CheckboxListItemProps, type CheckboxListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxList-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../CheckboxList-or2OU4ua.js";
|
|
2
2
|
export { _sfc_main as CheckboxList, _sfc_main$1 as CheckboxListItem };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
3
|
-
import { t as _sfc_main$3 } from "./Tooltip-
|
|
3
|
+
import { t as _sfc_main$3 } from "./Tooltip-sESBLZwR.js";
|
|
4
4
|
import { r as useItemDescriptionId } from "./Item-DWMIjN8n.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxInput-D0SSjziv.js";
|
|
6
6
|
import { t as _sfc_main$5 } from "./Field-DRQuVVlH.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Da as ClickableCardEmits, Ea as _default, Oa as ClickableCardProps, ka as ClickableCardSlots } from "../index-
|
|
1
|
+
import { Da as ClickableCardEmits, Ea as _default, Oa as ClickableCardProps, ka as ClickableCardSlots } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-
|
|
1
|
+
import { a as _sfc_main$3, i as _sfc_main$4, n as _sfc_main$6, o as _sfc_main$2, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main } from "../CommandPalette-CM5VyZTp.js";
|
|
2
2
|
export { _sfc_main as CommandPalette, _sfc_main$1 as CommandPaletteEmpty, _sfc_main$2 as CommandPaletteFooter, _sfc_main$3 as CommandPaletteGroup, _sfc_main$4 as CommandPaletteInput, _sfc_main$5 as CommandPaletteItem, _sfc_main$6 as CommandPaletteList };
|
|
@@ -6,7 +6,7 @@ import { n as useAsyncSource } from "./useAsyncSource-Gk0VtE7_.js";
|
|
|
6
6
|
import { n as isKeyboardModality, r as trackInteractionModality } from "./interactionModality-ACpTMhak.js";
|
|
7
7
|
import { t as _sfc_main$8 } from "./Kbd-CV3LO2Ge.js";
|
|
8
8
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
9
|
-
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-
|
|
9
|
+
import { n as DIALOG_CONTEXT_KEY, t as _sfc_main$9 } from "./Dialog-D4V2ZnuS.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
11
11
|
import { t as _sfc_main$10 } from "./Spinner-D8YW_EgO.js";
|
|
12
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-
|
|
1
|
+
import { a as ComplexSelectorProps, c as ComplexSelectorState, i as ComplexSelectorHandleRef, l as ComplexSelectorTriggerProps, n as ComplexSelectorEmits, o as ComplexSelectorSlotProps, r as ComplexSelectorHandle, s as ComplexSelectorSlots, t as _default, u as ComplexSelectorVariant } from "../index-Dacg7XTH.js";
|
|
2
2
|
export { _default as ComplexSelector, _default as default, type ComplexSelectorEmits, type ComplexSelectorHandle, type ComplexSelectorHandleRef, type ComplexSelectorProps, type ComplexSelectorSlotProps, type ComplexSelectorSlots, type ComplexSelectorState, type ComplexSelectorTriggerProps, type ComplexSelectorVariant };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $i as ContextMenuCheckboxData, Ca as ContextMenuTriggerElement, Ji as _default$3, Ki as _default$7, Qi as useContextMenuSize, Sa as ContextMenuSubMenuSlots, Ta as ContextMenuWidth, Xi as _default, Yi as _default$2, Zi as useContextMenu, _a as ContextMenuSection, aa as ContextMenuGroupSlots, ba as ContextMenuSubMenuEmits, ca as ContextMenuItemIcon, da as ContextMenuItemTarget, ea as ContextMenuDividerData, fa as ContextMenuOption, ga as ContextMenuRadioOptionData, ha as ContextMenuRadioData, ia as ContextMenuGroupProps, la as ContextMenuItemProps, ma as ContextMenuProps, na as ContextMenuEmits, oa as ContextMenuItemData, pa as ContextMenuPresentation, qi as _default$4, ra as ContextMenuEntry, sa as ContextMenuItemEmits, ta as ContextMenuDividerProps, ua as ContextMenuItemSlots, va as ContextMenuSize, wa as ContextMenuVariant, xa as ContextMenuSubMenuProps, ya as ContextMenuSlots } from "../index-
|
|
1
|
+
import { $i as ContextMenuCheckboxData, Ca as ContextMenuTriggerElement, Ji as _default$3, Ki as _default$7, Qi as useContextMenuSize, Sa as ContextMenuSubMenuSlots, Ta as ContextMenuWidth, Xi as _default, Yi as _default$2, Zi as useContextMenu, _a as ContextMenuSection, aa as ContextMenuGroupSlots, ba as ContextMenuSubMenuEmits, ca as ContextMenuItemIcon, da as ContextMenuItemTarget, ea as ContextMenuDividerData, fa as ContextMenuOption, ga as ContextMenuRadioOptionData, ha as ContextMenuRadioData, ia as ContextMenuGroupProps, la as ContextMenuItemProps, ma as ContextMenuProps, na as ContextMenuEmits, oa as ContextMenuItemData, pa as ContextMenuPresentation, qi as _default$4, ra as ContextMenuEntry, sa as ContextMenuItemEmits, ta as ContextMenuDividerProps, ua as ContextMenuItemSlots, va as ContextMenuSize, wa as ContextMenuVariant, xa as ContextMenuSubMenuProps, ya as ContextMenuSlots } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-z0XU7pZS.js";
|
|
3
3
|
export { _default as ContextMenu, type ContextMenuCheckboxData, _default$1 as ContextMenuCheckboxItem, _default$2 as ContextMenuDivider, type ContextMenuDividerData, type ContextMenuDividerProps, type ContextMenuEmits, type ContextMenuEntry, _default$3 as ContextMenuGroup, type ContextMenuGroupProps, type ContextMenuGroupSlots, _default$4 as ContextMenuItem, type ContextMenuItemData, type ContextMenuItemEmits, type ContextMenuItemIcon, type ContextMenuItemProps, type ContextMenuItemSlots, type ContextMenuItemTarget, type ContextMenuOption, type ContextMenuPresentation, type ContextMenuProps, type ContextMenuRadioData, _default$5 as ContextMenuRadioGroup, _default$6 as ContextMenuRadioItem, type ContextMenuRadioOptionData, type ContextMenuSection, type ContextMenuSize, type ContextMenuSlots, _default$7 as ContextMenuSubMenu, type ContextMenuSubMenuEmits, type ContextMenuSubMenuProps, type ContextMenuSubMenuSlots, type ContextMenuTriggerElement, type ContextMenuVariant, type ContextMenuWidth, useContextMenu, useContextMenuSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as useContextMenuSize, i as _sfc_main$1, n as _sfc_main$6, r as _sfc_main$5, u as useContextMenu } from "../useMenuDrillIn-
|
|
2
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-
|
|
1
|
+
import { d as useContextMenuSize, i as _sfc_main$1, n as _sfc_main$6, r as _sfc_main$5, u as useContextMenu } from "../useMenuDrillIn-B6jh8tv8.js";
|
|
2
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$7, r as _sfc_main$4, t as _sfc_main } from "../ContextMenu-DPY3WDdI.js";
|
|
3
3
|
export { _sfc_main as ContextMenu, _sfc_main$1 as ContextMenuCheckboxItem, _sfc_main$2 as ContextMenuDivider, _sfc_main$3 as ContextMenuGroup, _sfc_main$4 as ContextMenuItem, _sfc_main$5 as ContextMenuRadioGroup, _sfc_main$6 as ContextMenuRadioItem, _sfc_main$7 as ContextMenuSubMenu, useContextMenu, useContextMenuSize };
|
|
@@ -9,7 +9,7 @@ import { o as resetMenuPress, s as useLongPress, t as useMenuPress } from "./use
|
|
|
9
9
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
10
10
|
import { t as _sfc_main$8 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
11
11
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
12
|
-
import { c as contextMenuContextKey, d as useContextMenuSize, i as _sfc_main$9, l as submenuAncestorOpenKey, n as _sfc_main$11, r as _sfc_main$10, t as useMenuDrillIn, u as useContextMenu } from "./useMenuDrillIn-
|
|
12
|
+
import { c as contextMenuContextKey, d as useContextMenuSize, i as _sfc_main$9, l as submenuAncestorOpenKey, n as _sfc_main$11, r as _sfc_main$10, t as useMenuDrillIn, u as useContextMenu } from "./useMenuDrillIn-B6jh8tv8.js";
|
|
13
13
|
import { t as _sfc_main$12 } from "./Divider-mOZ6vIQw.js";
|
|
14
14
|
import { t as _sfc_main$13 } from "./Spinner-D8YW_EgO.js";
|
|
15
15
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bi as DateInputNativePicker, Gi as DateInputStatusType, Hi as DateInputProps, Ii as _default, Li as DateInputEmits, Ri as DateInputFormat, Ui as DateInputSlots, Vi as DateInputPresentation, Wi as DateInputStatus, zi as DateInputFormatName } from "../index-
|
|
1
|
+
import { Bi as DateInputNativePicker, Gi as DateInputStatusType, Hi as DateInputProps, Ii as _default, Li as DateInputEmits, Ri as DateInputFormat, Ui as DateInputSlots, Vi as DateInputPresentation, Wi as DateInputStatus, zi as DateInputFormatName } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as DateInput, type DateInputEmits, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fi as DateRangePreset, Mi as DateRange, Ni as DateRangeInputEmits, Pi as DateRangeInputProps, ji as _default } from "../index-
|
|
1
|
+
import { Fi as DateRangePreset, Mi as DateRange, Ni as DateRangeInputEmits, Pi as DateRangeInputProps, ji as _default } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as DateTimeInputSize, Di as _default, Oi as DateTimeInputEmits, ki as DateTimeInputProps } from "../index-
|
|
1
|
+
import { Ai as DateTimeInputSize, Di as _default, Oi as DateTimeInputEmits, ki as DateTimeInputProps } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
package/dist/Dialog/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Dialog-
|
|
2
|
-
import { t as _sfc_main$1 } from "../DialogHeader-
|
|
3
|
-
import { t as useImperativeDialog } from "../Dialog-
|
|
1
|
+
import { t as _sfc_main } from "../Dialog-D4V2ZnuS.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "../DialogHeader-CAvunUP_.js";
|
|
3
|
+
import { t as useImperativeDialog } from "../Dialog-vPGLWE3o.js";
|
|
4
4
|
export { _sfc_main as Dialog, _sfc_main$1 as DialogHeader, useImperativeDialog };
|
|
@@ -160,16 +160,17 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
160
160
|
removeModalOutlet(modalOutlet);
|
|
161
161
|
modalOutlet = null;
|
|
162
162
|
}
|
|
163
|
+
function initialFocusTarget() {
|
|
164
|
+
const dialog = dialogRef.value;
|
|
165
|
+
if (!dialog) return null;
|
|
166
|
+
return dialog.querySelector("[data-autofocus]") ?? dialog.querySelector("[data-dialog-default-focus]") ?? null;
|
|
167
|
+
}
|
|
163
168
|
useFocusTrap({
|
|
164
169
|
container: dialogRef,
|
|
165
170
|
isEnabled: isDialogOpen,
|
|
166
|
-
initialFocus:
|
|
167
|
-
const dialog = dialogRef.value;
|
|
168
|
-
if (!dialog) return null;
|
|
169
|
-
return dialog.querySelector("[data-autofocus]") ?? dialog.querySelector("[data-dialog-default-focus]") ?? null;
|
|
170
|
-
}
|
|
171
|
+
initialFocus: initialFocusTarget
|
|
171
172
|
});
|
|
172
|
-
useRestoreFocus({
|
|
173
|
+
const { save: saveFocus, restore: restoreFocus } = useRestoreFocus({
|
|
173
174
|
isEnabled: ref(true),
|
|
174
175
|
shouldRestore: shouldRestoreFocus
|
|
175
176
|
});
|
|
@@ -178,8 +179,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
178
179
|
const dialog = dialogRef.value;
|
|
179
180
|
if (!dialog || dialog.open) return;
|
|
180
181
|
triggerElement = document.activeElement;
|
|
182
|
+
saveFocus();
|
|
181
183
|
applyEntryDirection(dialog);
|
|
182
184
|
dialog.showModal();
|
|
185
|
+
initialFocusTarget()?.focus({ preventScroll: true });
|
|
183
186
|
attachModalOutlet(dialog);
|
|
184
187
|
lockScroll();
|
|
185
188
|
}
|
|
@@ -187,6 +190,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
187
190
|
if (props.isInline) return;
|
|
188
191
|
const dialog = dialogRef.value;
|
|
189
192
|
if (dialog?.open) dialog.close();
|
|
193
|
+
restoreFocus();
|
|
190
194
|
detachModalOutlet();
|
|
191
195
|
unlockScroll();
|
|
192
196
|
}
|
|
@@ -201,7 +205,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
201
205
|
watch(() => props.isOpen, (open) => {
|
|
202
206
|
if (open) openDialog();
|
|
203
207
|
else closeDialog();
|
|
204
|
-
});
|
|
208
|
+
}, { flush: "post" });
|
|
205
209
|
onMounted(() => {
|
|
206
210
|
if (props.isOpen) openDialog();
|
|
207
211
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./IconButton-BmMIccb4.js";
|
|
2
2
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
3
|
-
import { n as DIALOG_CONTEXT_KEY } from "./Dialog-
|
|
3
|
+
import { n as DIALOG_CONTEXT_KEY } from "./Dialog-D4V2ZnuS.js";
|
|
4
4
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, inject, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, renderSlot, toDisplayString, useAttrs, useId, useSlots, withCtx } from "vue";
|
|
5
5
|
import "../styles/dialog-header.css";
|
|
6
6
|
//#region src/Dialog/DialogHeader.vue
|
package/dist/Divider/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-
|
|
1
|
+
import { i as DividerVariant, n as DividerOrientation, r as DividerProps, t as _default } from "../index-C8wfe0Mr.js";
|
|
2
2
|
export { _default as Divider, type DividerOrientation, type DividerProps, type DividerVariant };
|
package/dist/Drawer/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ci as DrawerHeaderSlots, Ei as DrawerSlots, Si as DrawerHeaderProps, Ti as DrawerProps, bi as DrawerEmits, vi as _default$1, wi as DrawerPlacement, xi as DrawerHeaderEmits, yi as _default } from "../index-
|
|
1
|
+
import { Ci as DrawerHeaderSlots, Ei as DrawerSlots, Si as DrawerHeaderProps, Ti as DrawerProps, bi as DrawerEmits, vi as _default$1, wi as DrawerPlacement, xi as DrawerHeaderEmits, yi as _default } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as Drawer, type DrawerEmits, _default$1 as DrawerHeader, type DrawerHeaderEmits, type DrawerHeaderProps, type DrawerHeaderSlots, type DrawerPlacement, type DrawerProps, type DrawerSlots };
|
package/dist/Drawer/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-
|
|
1
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Drawer-AYHh8GOH.js";
|
|
2
2
|
export { _sfc_main as Drawer, _sfc_main$1 as DrawerHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _sfc_main$2 } from "./Dialog-
|
|
2
|
-
import { t as _sfc_main$3 } from "./DialogHeader-
|
|
1
|
+
import { t as _sfc_main$2 } from "./Dialog-D4V2ZnuS.js";
|
|
2
|
+
import { t as _sfc_main$3 } from "./DialogHeader-CAvunUP_.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useAttrs, useSlots, withCtx } from "vue";
|
|
4
4
|
import "../styles/drawer.css";
|
|
5
5
|
//#region src/Drawer/Drawer.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as _sfc_main$1, n as _sfc_main$6, o as useDropdownMenuContext, r as _sfc_main$5, s as useDropdownMenuRadioGroup } from "../useMenuDrillIn-
|
|
2
|
-
import { c as _sfc_main$2, i as _sfc_main$4, s as _sfc_main$3, t as _sfc_main } from "../DropdownMenu-
|
|
3
|
-
import { t as _sfc_main$7 } from "../DropdownMenu-
|
|
1
|
+
import { i as _sfc_main$1, n as _sfc_main$6, o as useDropdownMenuContext, r as _sfc_main$5, s as useDropdownMenuRadioGroup } from "../useMenuDrillIn-B6jh8tv8.js";
|
|
2
|
+
import { c as _sfc_main$2, i as _sfc_main$4, s as _sfc_main$3, t as _sfc_main } from "../DropdownMenu-CjM_IQIU.js";
|
|
3
|
+
import { t as _sfc_main$7 } from "../DropdownMenu-C1-Fx_uu.js";
|
|
4
4
|
export { _sfc_main as DropdownMenu, _sfc_main$1 as DropdownMenuCheckboxItem, _sfc_main$2 as DropdownMenuDivider, _sfc_main$3 as DropdownMenuGroup, _sfc_main$4 as DropdownMenuItem, _sfc_main$5 as DropdownMenuRadioGroup, _sfc_main$6 as DropdownMenuRadioItem, _sfc_main$7 as DropdownMenuSubMenu, useDropdownMenuContext, useDropdownMenuRadioGroup };
|
|
@@ -5,8 +5,8 @@ import { a as isMenuPressActivation } from "./useMenuPress-8foxY8z4.js";
|
|
|
5
5
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
6
6
|
import { t as _sfc_main$2 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
7
7
|
import { t as _sfc_main$3 } from "./Item-DWMIjN8n.js";
|
|
8
|
-
import { o as useDropdownMenuContext } from "./useMenuDrillIn-
|
|
9
|
-
import { a as MENU_ITEM_ROLES, i as _sfc_main$5, l as _sfc_main$4, n as useMenuRegions, o as activateMenuItem, r as useMenuFocus } from "./DropdownMenu-
|
|
8
|
+
import { o as useDropdownMenuContext } from "./useMenuDrillIn-B6jh8tv8.js";
|
|
9
|
+
import { a as MENU_ITEM_ROLES, i as _sfc_main$5, l as _sfc_main$4, n as useMenuRegions, o as activateMenuItem, r as useMenuFocus } from "./DropdownMenu-CjM_IQIU.js";
|
|
10
10
|
import { n as clampInlineSize, r as isIntrinsicInlineSize } from "./inlineSize-BNe8wggI.js";
|
|
11
11
|
import { t as _sfc_main$6 } from "./Spinner-D8YW_EgO.js";
|
|
12
12
|
import { t as useSubmenuMode } from "./useSubmenuMode-CZN9qrUo.js";
|
|
@@ -12,7 +12,7 @@ import { t as useTypeahead } from "./useTypeahead-BvtflkRk.js";
|
|
|
12
12
|
import { t as _sfc_main$9 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
13
13
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
14
14
|
import { t as _sfc_main$10 } from "./Item-DWMIjN8n.js";
|
|
15
|
-
import { a as dropdownMenuContextKey, i as _sfc_main$12, n as _sfc_main$11, o as useDropdownMenuContext, r as _sfc_main$13, t as useMenuDrillIn } from "./useMenuDrillIn-
|
|
15
|
+
import { a as dropdownMenuContextKey, i as _sfc_main$12, n as _sfc_main$11, o as useDropdownMenuContext, r as _sfc_main$13, t as useMenuDrillIn } from "./useMenuDrillIn-B6jh8tv8.js";
|
|
16
16
|
import { n as clampInlineSize, r as isIntrinsicInlineSize, t as LAYER_MAX_INLINE_SIZE } from "./inlineSize-BNe8wggI.js";
|
|
17
17
|
import { t as _sfc_main$14 } from "./Divider-mOZ6vIQw.js";
|
|
18
18
|
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineAsyncComponent, defineComponent, guardReactiveProps, h, inject, markRaw, mergeModels, mergeProps, nextTick, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, reactive, ref, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useSlots, vShow, watch, withCtx, withDirectives } from "vue";
|
package/dist/EmptyState/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../EmptyState-
|
|
1
|
+
import { t as _sfc_main } from "../EmptyState-BmNR1hZq.js";
|
|
2
2
|
export { _sfc_main as EmptyState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as _sfc_main$1 } from "./Heading-
|
|
2
|
-
import { t as _sfc_main$2 } from "./Text-
|
|
1
|
+
import { t as _sfc_main$1 } from "./Heading-CwMG-5tj.js";
|
|
2
|
+
import { t as _sfc_main$2 } from "./Text-D8ZIQxgB.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, renderSlot, toDisplayString, useTemplateRef, withCtx } from "vue";
|
|
4
4
|
import "../styles/empty-state.css";
|
|
5
5
|
//#region src/EmptyState/EmptyState.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _i as FileInputValue, di as _default, fi as FileInputEmits, gi as FileInputStatus, hi as FileInputSize, mi as FileInputProps, pi as FileInputMode } from "../index-
|
|
1
|
+
import { _i as FileInputValue, di as _default, fi as FileInputEmits, gi as FileInputStatus, hi as FileInputSize, mi as FileInputProps, pi as FileInputMode } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as FileInput, type FileInputEmits, type FileInputMode, type FileInputProps, type FileInputSize, type FileInputStatus, type FileInputValue };
|
package/dist/Heading/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-
|
|
1
|
+
import { a as HeadingLevel, c as HeadingType, d as HeadingWrap, i as HeadingJustify, l as HeadingWeight, n as HeadingColor, o as HeadingProps, r as HeadingDisplay, s as HeadingTruncateTooltip, t as _default, u as HeadingWordBreak } from "../index-C1QW3jMW.js";
|
|
2
2
|
export { _default as Heading, type HeadingColor, type HeadingDisplay, type HeadingJustify, type HeadingLevel, type HeadingProps, type HeadingTruncateTooltip, type HeadingType, type HeadingWeight, type HeadingWordBreak, type HeadingWrap };
|
package/dist/Heading/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Heading-
|
|
1
|
+
import { t as _sfc_main } from "../Heading-CwMG-5tj.js";
|
|
2
2
|
export { _sfc_main as Heading };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-
|
|
2
|
-
import { t as _sfc_main$1 } from "./Tooltip-
|
|
1
|
+
import { n as useTruncation, t as truncatePlacement } from "./useTruncation-C02rA1-c.js";
|
|
2
|
+
import { t as _sfc_main$1 } from "./Tooltip-sESBLZwR.js";
|
|
3
3
|
import { computed, createBlock, defineComponent, mergeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useAttrs, withCtx } from "vue";
|
|
4
4
|
import "../styles/heading.css";
|
|
5
5
|
//#region src/Heading/Heading.vue
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-
|
|
1
|
+
import { a as HoverCardAlignment, c as HoverCardHoverIndication, d as HoverCardSlots, f as HoverCardTouchTrigger, i as _default, l as HoverCardPlacement, n as UseHoverCardReturn, o as HoverCardEmits, r as useHoverCard, s as HoverCardFocusTrigger, t as UseHoverCardOptions, u as HoverCardProps } from "../index-Cq31D3fJ.js";
|
|
2
2
|
export { _default as HoverCard, type HoverCardAlignment, type HoverCardEmits, type HoverCardFocusTrigger, type HoverCardHoverIndication, type HoverCardPlacement, type HoverCardProps, type HoverCardSlots, type HoverCardTouchTrigger, type UseHoverCardOptions, type UseHoverCardReturn, useHoverCard };
|
package/dist/Link/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as LinkWeight, i as LinkSize, n as LinkProps, r as LinkRoot, t as LinkColor } from "../types-CbiqoBoG.js";
|
|
2
|
-
import { t as _default } from "../index-
|
|
2
|
+
import { t as _default } from "../index-B8wXa2fZ.js";
|
|
3
3
|
export { _default as Link, type LinkColor, type LinkProps, type LinkRoot, type LinkSize, type LinkWeight };
|
package/dist/Link/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Link-
|
|
1
|
+
import { t as _sfc_main } from "../Link-DdLdry4N.js";
|
|
2
2
|
export { _sfc_main as Link };
|
|
@@ -3,7 +3,7 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
3
3
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
5
5
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./Tooltip-
|
|
6
|
+
import { t as _sfc_main$2 } from "./Tooltip-sESBLZwR.js";
|
|
7
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, useAttrs, withCtx } from "vue";
|
|
8
8
|
import "../styles/link.css";
|
|
9
9
|
//#region src/Link/Link.vue
|
package/dist/Markdown/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "../publicParser-C8RBKNLA.js";
|
|
2
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-
|
|
2
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main } from "../Markdown-u-bXd7Z_.js";
|
|
3
3
|
import { n as uniqueSlug, t as slugify } from "../slug-DAK6hdbr.js";
|
|
4
4
|
export { _sfc_main as Markdown, applyInlinePlugins, applyMarkdownPlugins, createIncrementalState, decodeMarkdownCharacterReferences, defineMarkdownPlugin, isMarkdownExtensionNode, parseInline, parseInlineAst, parseMarkdown, parseMarkdownAst, parseMarkdownIncremental, slugify, uniqueSlug, visitMarkdownNodes };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./VisuallyHidden-C7NN3VEP.js";
|
|
2
2
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./Heading-
|
|
3
|
+
import { t as _sfc_main$2 } from "./Heading-CwMG-5tj.js";
|
|
4
4
|
import { t as _sfc_main$3 } from "./Blockquote-DRoKdcxZ.js";
|
|
5
5
|
import { t as _sfc_main$4 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
6
6
|
import { t as useIndicator } from "./useIndicator-fTOZfYVI.js";
|
|
7
7
|
import { f as _sfc_main$5, s as parseFenceLanguage, t as _sfc_main$6 } from "./CodeBlock-Dnv5SexJ.js";
|
|
8
|
-
import { t as _sfc_main$7 } from "./Link-
|
|
8
|
+
import { t as _sfc_main$7 } from "./Link-DdLdry4N.js";
|
|
9
9
|
import { _ as plainText, d as parseMarkdown, f as parseMarkdownIncremental, h as sanitizeMarkdownLinkUrl, l as applyProtocolTransforms, m as sanitizeMarkdownImageUrl, p as linkOpensInNewTab, s as applyMarkdownSyntax, u as createIncrementalMarkdownState } from "./publicParser-C8RBKNLA.js";
|
|
10
10
|
import { l as isMarkdownPluginEntry, t as collectProtocolRenderers, u as isMarkdownSourceLinesPlugin } from "./protocol-DHxY0NI8.js";
|
|
11
11
|
import { n as uniqueSlug, t as slugify } from "./slug-DAK6hdbr.js";
|
package/dist/MobileNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-
|
|
1
|
+
import { n as _sfc_main, r as mobileNavKey, t as _sfc_main$1 } from "../MobileNavToggle-DgEwchpj.js";
|
|
2
2
|
export { _sfc_main as MobileNav, _sfc_main$1 as MobileNavToggle, mobileNavKey };
|
|
@@ -54,6 +54,7 @@ const _hoisted_5 = {
|
|
|
54
54
|
ref: "body",
|
|
55
55
|
class: "astryx-mobile-nav__body"
|
|
56
56
|
};
|
|
57
|
+
const CLOSE_DELAY_MS = 300;
|
|
57
58
|
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
58
59
|
name: "AstryxMobileNav",
|
|
59
60
|
__name: "MobileNav",
|
|
@@ -86,8 +87,10 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
86
87
|
const dialogId = computed(() => props.id || generatedId);
|
|
87
88
|
const labelId = computed(() => `${dialogId.value}-label`);
|
|
88
89
|
const accessibleName = computed(() => props.label || props.header || messages.value.nav.mobileNav);
|
|
89
|
-
const
|
|
90
|
+
const closing = ref(false);
|
|
91
|
+
const trapEnabled = computed(() => isOpen.value || closing.value);
|
|
90
92
|
const sideIsStart = computed(() => resolvedSide.value === "start");
|
|
93
|
+
let closeTimer;
|
|
91
94
|
useScrollLock(isOpen);
|
|
92
95
|
useRestoreFocus({
|
|
93
96
|
isEnabled: computed(() => true),
|
|
@@ -112,17 +115,37 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
112
115
|
}
|
|
113
116
|
return "start";
|
|
114
117
|
}
|
|
118
|
+
function clearCloseTimer() {
|
|
119
|
+
if (closeTimer !== void 0) clearTimeout(closeTimer);
|
|
120
|
+
closeTimer = void 0;
|
|
121
|
+
}
|
|
122
|
+
function finishClose(dialog) {
|
|
123
|
+
clearCloseTimer();
|
|
124
|
+
if (typeof dialog.close === "function" && dialog.open) dialog.close();
|
|
125
|
+
else dialog.removeAttribute("open");
|
|
126
|
+
closing.value = false;
|
|
127
|
+
}
|
|
128
|
+
function reduceMotion() {
|
|
129
|
+
return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
130
|
+
}
|
|
115
131
|
function syncDialog(open) {
|
|
116
132
|
const dialog = dialogRef.value;
|
|
117
133
|
if (!dialog) return;
|
|
118
134
|
if (open) {
|
|
135
|
+
clearCloseTimer();
|
|
136
|
+
closing.value = false;
|
|
119
137
|
resolvedSide.value = resolveSide(props.side);
|
|
120
138
|
if (typeof dialog.showModal === "function" && !dialog.open) dialog.showModal();
|
|
121
139
|
else dialog.setAttribute("open", "");
|
|
122
140
|
return;
|
|
123
141
|
}
|
|
124
|
-
if (
|
|
125
|
-
|
|
142
|
+
if (!dialog.open || reduceMotion()) {
|
|
143
|
+
finishClose(dialog);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
closing.value = true;
|
|
147
|
+
clearCloseTimer();
|
|
148
|
+
closeTimer = setTimeout(finishClose, CLOSE_DELAY_MS, dialog);
|
|
126
149
|
}
|
|
127
150
|
function setOpen(next) {
|
|
128
151
|
if (isOpen.value === next) return;
|
|
@@ -138,21 +161,24 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
|
138
161
|
if (event.target === dialogRef.value) setOpen(false);
|
|
139
162
|
}
|
|
140
163
|
watch(isOpen, (open) => {
|
|
164
|
+
if (!open && dialogRef.value?.open && !reduceMotion()) closing.value = true;
|
|
141
165
|
nextTick(() => syncDialog(open));
|
|
142
166
|
});
|
|
143
167
|
onMounted(() => {
|
|
144
168
|
if (isOpen.value) syncDialog(true);
|
|
145
169
|
});
|
|
146
170
|
onBeforeUnmount(() => {
|
|
171
|
+
clearCloseTimer();
|
|
147
172
|
const dialog = dialogRef.value;
|
|
148
173
|
if (dialog?.open && typeof dialog.close === "function") dialog.close();
|
|
174
|
+
closing.value = false;
|
|
149
175
|
});
|
|
150
176
|
return (_ctx, _cache) => {
|
|
151
177
|
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" eslint-disable-next-line vue-a11y/click-events-have-key-events, vue-a11y/no-static-element-interactions -- 点在 dialog 自身上等于点遮罩;键盘用户走原生 cancel。 "), createElementVNode("dialog", {
|
|
152
178
|
id: dialogId.value,
|
|
153
179
|
ref_key: "dialogRef",
|
|
154
180
|
ref: dialogRef,
|
|
155
|
-
class: normalizeClass(["astryx-mobile-nav astryx-layer", sideIsStart.value ? "astryx-mobile-nav--start" : "astryx-mobile-nav--end"]),
|
|
181
|
+
class: normalizeClass(["astryx-mobile-nav astryx-layer", [sideIsStart.value ? "astryx-mobile-nav--start" : "astryx-mobile-nav--end", { "astryx-mobile-nav--closing": closing.value }]]),
|
|
156
182
|
style: normalizeStyle({ "--astryx-mobile-nav-width": `${__props.width}px` }),
|
|
157
183
|
"aria-modal": "true",
|
|
158
184
|
"aria-labelledby": _ctx.$slots.header || __props.header ? labelId.value : void 0,
|
package/dist/MoreMenu/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as MoreMenuDivider, Qr as _default, ai as MoreMenuOption, ci as MoreMenuResolvedPresentation, ei as MoreMenuEmits, ii as MoreMenuItemVariant, li as MoreMenuSection, ni as MoreMenuInitialFocus, oi as MoreMenuPresentation, ri as MoreMenuItem, si as MoreMenuProps, ti as MoreMenuIcon, ui as MoreMenuSlots } from "../index-
|
|
1
|
+
import { $r as MoreMenuDivider, Qr as _default, ai as MoreMenuOption, ci as MoreMenuResolvedPresentation, ei as MoreMenuEmits, ii as MoreMenuItemVariant, li as MoreMenuSection, ni as MoreMenuInitialFocus, oi as MoreMenuPresentation, ri as MoreMenuItem, si as MoreMenuProps, ti as MoreMenuIcon, ui as MoreMenuSlots } from "../index-Cv2pfNqQ.js";
|
|
2
2
|
export { _default as MoreMenu, type MoreMenuDivider, type MoreMenuEmits, type MoreMenuIcon, type MoreMenuInitialFocus, type MoreMenuItem, type MoreMenuItemVariant, type MoreMenuOption, type MoreMenuPresentation, type MoreMenuProps, type MoreMenuResolvedPresentation, type MoreMenuSection, type MoreMenuSlots };
|
package/dist/MoreMenu/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../MoreMenu-
|
|
1
|
+
import { t as _sfc_main } from "../MoreMenu-CUWP3WTs.js";
|
|
2
2
|
export { _sfc_main as MoreMenu };
|
|
@@ -7,7 +7,7 @@ import { t as _sfc_main$6 } from "./IconButton-BmMIccb4.js";
|
|
|
7
7
|
import { s as useAstryxMessages } from "./context-dY6CBI-t.js";
|
|
8
8
|
import { n as useOverflow } from "./useOverflow-VrwF5oek.js";
|
|
9
9
|
import { t as _sfc_main$7 } from "./LayerContentBoundary-CvsKxwwm.js";
|
|
10
|
-
import { t as _sfc_main$8 } from "./Heading-
|
|
10
|
+
import { t as _sfc_main$8 } from "./Heading-CwMG-5tj.js";
|
|
11
11
|
import { t as useScrollbars } from "./useScrollbars-C2NJ6Qwq.js";
|
|
12
12
|
import { t as _sfc_main$9 } from "./Divider-mOZ6vIQw.js";
|
|
13
13
|
import { n as _sfc_main$11, t as _sfc_main$10 } from "./ListItem-Cq_nU1YV.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-
|
|
1
|
+
import { _ as MultiSelectorSlots, a as MultiSelectorCreateChange, b as MultiSelectorTriggerDisplay, c as MultiSelectorHandle, d as MultiSelectorOptionData, f as MultiSelectorPresentation, g as MultiSelectorSize, h as MultiSelectorSelectedItem, i as MultiSelectorCheckboxPosition, l as MultiSelectorHandleRef, m as MultiSelectorSection, n as flattenOptions, o as MultiSelectorDivider, p as MultiSelectorProps, r as _default, s as MultiSelectorEmits, t as SELECT_ALL_VALUE, u as MultiSelectorOption, v as MultiSelectorStatus, x as MultiSelectorVariant, y as MultiSelectorStatusVariant } from "../index-BVhXf6GB.js";
|
|
2
2
|
export { _default as MultiSelector, type MultiSelectorCheckboxPosition, type MultiSelectorCreateChange, type MultiSelectorDivider, type MultiSelectorEmits, type MultiSelectorHandle, type MultiSelectorHandleRef, type MultiSelectorOption, type MultiSelectorOptionData, type MultiSelectorPresentation, type MultiSelectorProps, type MultiSelectorSection, type MultiSelectorSelectedItem, type MultiSelectorSize, type MultiSelectorSlots, type MultiSelectorStatus, type MultiSelectorStatusVariant, type MultiSelectorTriggerDisplay, type MultiSelectorVariant, SELECT_ALL_VALUE, flattenOptions };
|