@astryx-vue/core 0.45.1 → 0.45.3

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 (96) hide show
  1. package/dist/AvatarGroup/index.d.ts +1 -1
  2. package/dist/Banner/index.d.ts +1 -1
  3. package/dist/BottomSheet/index.d.ts +1 -1
  4. package/dist/Breadcrumbs/index.js +2 -2
  5. package/dist/{Breadcrumbs-CxVd4tga.js → Breadcrumbs-Bk3b_Olo.js} +1 -1
  6. package/dist/Button/index.d.ts +1 -1
  7. package/dist/ButtonGroup/index.d.ts +1 -1
  8. package/dist/Calendar/index.d.ts +1 -1
  9. package/dist/Carousel/index.d.ts +1 -1
  10. package/dist/Center/index.d.ts +1 -1
  11. package/dist/Chat/index.d.ts +1 -1
  12. package/dist/Chat/index.js +1 -1
  13. package/dist/{Chat-Bo3jDoY2.js → Chat-CTc9Hs1X.js} +63 -18
  14. package/dist/CheckboxInput/index.d.ts +1 -1
  15. package/dist/CheckboxList/index.d.ts +1 -1
  16. package/dist/ClickableCard/index.d.ts +1 -1
  17. package/dist/ComplexSelector/index.d.ts +1 -1
  18. package/dist/ContextMenu/index.d.ts +1 -1
  19. package/dist/ContextMenu/index.js +2 -2
  20. package/dist/{ContextMenu-CERvzywk.js → ContextMenu-CqnGrEb6.js} +36 -18
  21. package/dist/DateInput/index.d.ts +1 -1
  22. package/dist/DateRangeInput/index.d.ts +1 -1
  23. package/dist/DateTimeInput/index.d.ts +1 -1
  24. package/dist/Dialog/index.d.ts +1 -1
  25. package/dist/Drawer/index.d.ts +1 -1
  26. package/dist/DropdownMenu/index.d.ts +1 -1
  27. package/dist/DropdownMenu/index.js +2 -2
  28. package/dist/{DropdownMenu-B_wM21MY.js → DropdownMenu-DKr8RC2H.js} +122 -87
  29. package/dist/Heading/index.d.ts +1 -1
  30. package/dist/InfoTip/index.d.ts +1 -1
  31. package/dist/Link/index.d.ts +1 -1
  32. package/dist/List/index.d.ts +1 -1
  33. package/dist/Markdown/index.d.ts +1 -1
  34. package/dist/MetadataList/index.d.ts +1 -1
  35. package/dist/MoreMenu/index.d.ts +1 -1
  36. package/dist/MultiSelector/index.d.ts +1 -1
  37. package/dist/NavItem/index.d.ts +1 -1
  38. package/dist/NumberInput/index.d.ts +1 -1
  39. package/dist/OverflowList/index.d.ts +1 -1
  40. package/dist/Pagination/index.d.ts +1 -1
  41. package/dist/Popover/index.d.ts +1 -1
  42. package/dist/PowerSearch/index.d.ts +1 -1
  43. package/dist/ProgressBar/index.d.ts +1 -1
  44. package/dist/Radio/index.d.ts +1 -1
  45. package/dist/RadioList/index.d.ts +1 -1
  46. package/dist/Resizable/index.d.ts +1 -1
  47. package/dist/ScrollableArea/index.d.ts +1 -1
  48. package/dist/SelectableCard/index.d.ts +1 -1
  49. package/dist/Selector/index.d.ts +1 -1
  50. package/dist/SideNav/index.d.ts +1 -1
  51. package/dist/Stack/index.d.ts +1 -1
  52. package/dist/Stepper/index.d.ts +1 -1
  53. package/dist/Switch/index.d.ts +1 -1
  54. package/dist/TabList/index.d.ts +1 -1
  55. package/dist/Table/index.d.ts +1 -1
  56. package/dist/Text/index.d.ts +1 -1
  57. package/dist/TextArea/index.d.ts +1 -1
  58. package/dist/TextInput/index.d.ts +1 -1
  59. package/dist/TimeInput/index.d.ts +1 -1
  60. package/dist/Timestamp/index.d.ts +1 -1
  61. package/dist/ToggleButton/index.d.ts +1 -1
  62. package/dist/Token/index.d.ts +1 -1
  63. package/dist/Tokenizer/index.d.ts +1 -1
  64. package/dist/Toolbar/index.d.ts +1 -1
  65. package/dist/TopNav/index.d.ts +1 -1
  66. package/dist/TreeList/index.d.ts +1 -1
  67. package/dist/{accessibleName-CuQ2Zyti.js → accessibleName-DHGLl8Iq.js} +111 -29
  68. package/dist/{index-a6o69uPN.d.ts → index-Ak1b0V24.d.ts} +1 -1
  69. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  70. package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
  71. package/dist/{index-DZMs9KqG.d.ts → index-BMoR8Uoh.d.ts} +1 -1
  72. package/dist/{index-BbHuan0g.d.ts → index-BZ_lQz43.d.ts} +1 -1
  73. package/dist/{index-r-SMqLfv.d.ts → index-BtReVAyz.d.ts} +63 -58
  74. package/dist/{index-B_XTzQhm.d.ts → index-C5HUsKnf.d.ts} +2 -2
  75. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  76. package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
  77. package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
  78. package/dist/{index-Dy4tHTUG.d.ts → index-CRVO1inY.d.ts} +7 -7
  79. package/dist/{index-0rops6Vo.d.ts → index-Cg6pihUE.d.ts} +2 -2
  80. package/dist/{index-UG4bxHcx.d.ts → index-CkkybuPJ.d.ts} +2 -2
  81. package/dist/{index-BAp4nVVN.d.ts → index-CpLGbFCR.d.ts} +1 -1
  82. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  83. package/dist/{index-knkRQYho.d.ts → index-DHQtLCGt.d.ts} +2 -0
  84. package/dist/{index-CCa_dvoF.d.ts → index-Ds4dOCSy.d.ts} +3 -3
  85. package/dist/{index-COs_GSkP.d.ts → index-PydsflFS.d.ts} +8 -8
  86. package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
  87. package/dist/{index-C9iidKbL.d.ts → index-cgAit2pF.d.ts} +3 -3
  88. package/dist/{index-K9yFjQxo.d.ts → index-dgfLDqBm.d.ts} +2 -2
  89. package/dist/{index-C3JmGujU.d.ts → index-mK1ICsVg.d.ts} +1 -1
  90. package/dist/{index-NOXYEdOI.d.ts → index-utZGF4GR.d.ts} +1 -1
  91. package/dist/index.d.ts +24 -24
  92. package/dist/index.js +5 -5
  93. package/package.json +1 -1
  94. package/styles/context-menu.css +15 -4
  95. package/styles/dropdown-menu.css +35 -5
  96. package/dist/{index-se0cvXjc.d.ts → index-DKlE9Iqk.d.ts} +2 -2
@@ -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-r-SMqLfv.js";
1
+ import { a as AvatarGroupOverflowSlots, i as AvatarGroupOverflowProps, n as _default, o as AvatarGroupProps, r as AvatarGroupOverflowEmits, t as _default$1 } from "../index-BtReVAyz.js";
2
2
  export { _default as AvatarGroup, _default$1 as AvatarGroupOverflow, type AvatarGroupOverflowEmits, type AvatarGroupOverflowProps, type AvatarGroupOverflowSlots, type AvatarGroupProps };
@@ -1,2 +1,2 @@
1
- import { Al as BannerStatus, Dl as BannerEmits, El as BannerContainer, Ol as BannerProps, Tl as _default, kl as BannerSlots } from "../index-r-SMqLfv.js";
1
+ import { Al as BannerStatus, Dl as BannerEmits, El as BannerContainer, Ol as BannerProps, Tl as _default, kl as BannerSlots } from "../index-BtReVAyz.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-CCa_dvoF.js";
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-Ds4dOCSy.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 { c as _sfc_main$1, o as _sfc_main$3, s as _sfc_main$2 } from "../accessibleName-CuQ2Zyti.js";
2
- import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-CxVd4tga.js";
1
+ import { d as _sfc_main$2, f as _sfc_main$1, u as _sfc_main$3 } from "../accessibleName-DHGLl8Iq.js";
2
+ import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-Bk3b_Olo.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 };
@@ -3,7 +3,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
3
3
  import { t as _sfc_main$2 } from "./Icon-BUSj1-Th.js";
4
4
  import { n as useLinkComponent } from "./context-C_peZbXf.js";
5
5
  import { n as useDevWarning } from "./useDevWarning-B2fsk2B-.js";
6
- import { t as _sfc_main$3 } from "./DropdownMenu-B_wM21MY.js";
6
+ import { t as _sfc_main$3 } from "./DropdownMenu-DKr8RC2H.js";
7
7
  import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
8
8
  import { n as isNavigableHref } from "./link-DuuA2eCL.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, onMounted, onScopeDispose, onUpdated, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, toRaw, unref, useId, useSlots, useTemplateRef, watch, withCtx } from "vue";
@@ -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-DRpOiAlm.js";
2
- import { t as _default } from "../index-BAp4nVVN.js";
2
+ import { t as _default } from "../index-CpLGbFCR.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 { Cl as ButtonGroupSlots, Sl as ButtonGroupProps, wl as ButtonGroupOrientation, xl as _default } from "../index-r-SMqLfv.js";
1
+ import { Cl as ButtonGroupSlots, Sl as ButtonGroupProps, wl as ButtonGroupOrientation, xl as _default } from "../index-BtReVAyz.js";
2
2
  export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
@@ -1,2 +1,2 @@
1
- import { _l as CalendarHandleRef, al as UseCalendarNavigationReturn, bl as CalendarSlots, cl as UseCalendarDaysOptions, dl as UseCalendarConstraintsOptions, fl as UseCalendarConstraintsReturn, gl as CalendarHandle, hl as CalendarEmits, il as UseCalendarNavigationOptions, ll as UseCalendarDaysReturn, ml as _default, ol as useCalendarNavigation, pl as useCalendarConstraints, sl as CalendarDay, ul as useCalendarDays, vl as CalendarProps, yl as CalendarRangeValue } from "../index-r-SMqLfv.js";
1
+ import { _l as CalendarHandleRef, al as UseCalendarNavigationReturn, bl as CalendarSlots, cl as UseCalendarDaysOptions, dl as UseCalendarConstraintsOptions, fl as UseCalendarConstraintsReturn, gl as CalendarHandle, hl as CalendarEmits, il as UseCalendarNavigationOptions, ll as UseCalendarDaysReturn, ml as _default, ol as useCalendarNavigation, pl as useCalendarConstraints, sl as CalendarDay, ul as useCalendarDays, vl as CalendarProps, yl as CalendarRangeValue } from "../index-BtReVAyz.js";
2
2
  export { _default as Calendar, type CalendarDay, type CalendarEmits, type CalendarHandle, type CalendarHandleRef, type CalendarProps, type CalendarRangeValue, type CalendarSlots, type UseCalendarConstraintsOptions, type UseCalendarConstraintsReturn, type UseCalendarDaysOptions, type UseCalendarDaysReturn, type UseCalendarNavigationOptions, type UseCalendarNavigationReturn, useCalendarConstraints, useCalendarDays, useCalendarNavigation };
@@ -1,2 +1,2 @@
1
- import { $c as _default, el as CarouselGap, nl as CarouselProps, rl as CarouselSlots, tl as CarouselHandle } from "../index-r-SMqLfv.js";
1
+ import { $c as _default, el as CarouselGap, nl as CarouselProps, rl as CarouselSlots, tl as CarouselHandle } from "../index-BtReVAyz.js";
2
2
  export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };
@@ -1,2 +1,2 @@
1
- import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-ZbNwGVkS.js";
1
+ import { a as CenterSlots, i as CenterSizeValue, n as CenterAxis, r as CenterProps, t as _default } from "../index-BKnyTWPM.js";
2
2
  export { _default as Center, type CenterAxis, type CenterProps, type CenterSizeValue, type CenterSlots };
@@ -1,2 +1,2 @@
1
- import { $s as ChatComposerDrawerSlots, Ac as ChatMessageBubbleVariant, As as useChatListContext, Bc as ChatReasoningEmits, Bs as _default$9, Cc as ChatLayoutScrollButtonEmits, Cs as TokenPortal, Dc as ChatMessageBubbleGroup, Ds as ChatComposerContextValue, Ec as ChatLayoutSlots, Es as useChatComposerTokens, Fc as ChatMessageMetadataSlots, Fs as _default$14, Gc as ChatSystemMessageVariant, Gs as _default$4, Hc as ChatReasoningSlots, Hs as _default$7, Ic as ChatMessageProps, Is as _default$13, Jc as ChatToolCallsEmits, Js as _default$1, Kc as ChatToolCallItem, Ks as _default$3, Lc as ChatMessageSender, Ls as _default$12, Mc as ChatMessageListProps, Ms as _default$17, Nc as ChatMessageListSlots, Ns as _default$16, Oc as ChatMessageBubbleProps, Os as useChatComposerContext, Pc as ChatMessageMetadataProps, Ps as _default$15, Qc as ChatUnreadDividerProps, Qs as ChatComposerDrawerProps, Rc as ChatMessageSlots, Rs as _default$11, Sc as ChatLayoutProps, Ss as useSpeechRecognition, Tc as ChatLayoutScrollSlotProps, Ts as UseChatComposerTokensReturn, Uc as ChatSystemMessageProps, Us as _default$6, Vc as ChatReasoningProps, Vs as _default$8, Wc as ChatSystemMessageSlots, Ws as _default$5, Xc as ChatToolCallsSlots, Xs as ChatComposerDensity, Yc as ChatToolCallsProps, Ys as _default, Zc as ChatTypingIndicatorProps, Zs as ChatComposerDrawerEmits, _c as ChatSendButtonProps, _s as UseChatDictationOptions, ac as ChatComposerInputProps, bc as ChatTokenizedTextSlots, bs as UseSpeechRecognitionOptions, cc as ChatComposerStatus, dc as ChatComposerTokenCustom, ec as ChatComposerElevation, fc as ChatComposerTokenElementProps, fs as PASTE_TOKEN_THRESHOLD, gc as ChatSendButtonEmits, gs as useChatPasteAsToken, hc as ChatDictationButtonProps, hs as pastedTextLabel, ic as ChatComposerInputHandle, jc as ChatMessageListAlign, js as useChatMessageContext, kc as ChatMessageBubbleSlots, ks as useChatLayoutContext, lc as ChatComposerToken, mc as ChatComposerTriggerItem, ms as UseChatPasteAsTokenReturn, nc as ChatComposerInputControl, oc as ChatComposerProps, pc as ChatComposerTrigger, ps as UseChatPasteAsTokenOptions, qc as ChatToolCallStatus, qs as _default$2, rc as ChatComposerInputEmits, sc as ChatComposerSlots, tc as ChatComposerEmits, uc as ChatComposerTokenBadge, vc as ChatSendButtonSlots, vs as useChatDictation, wc as ChatLayoutScrollButtonProps, ws as UseChatComposerTokensOptions, xc as ChatDensity, xs as UseSpeechRecognitionReturn, yc as ChatTokenizedTextProps, ys as SpeechRecognitionError, zc as ChatMessageStatus, zs as _default$10 } from "../index-r-SMqLfv.js";
1
+ import { $s as ChatComposerDrawerSlots, Ac as ChatMessageBubbleVariant, As as useChatListContext, Bc as ChatReasoningEmits, Bs as _default$9, Cc as ChatLayoutScrollButtonEmits, Cs as TokenPortal, Dc as ChatMessageBubbleGroup, Ds as ChatComposerContextValue, Ec as ChatLayoutSlots, Es as useChatComposerTokens, Fc as ChatMessageMetadataSlots, Fs as _default$14, Gc as ChatSystemMessageVariant, Gs as _default$4, Hc as ChatReasoningSlots, Hs as _default$7, Ic as ChatMessageProps, Is as _default$13, Jc as ChatToolCallsEmits, Js as _default$1, Kc as ChatToolCallItem, Ks as _default$3, Lc as ChatMessageSender, Ls as _default$12, Mc as ChatMessageListProps, Ms as _default$17, Nc as ChatMessageListSlots, Ns as _default$16, Oc as ChatMessageBubbleProps, Os as useChatComposerContext, Pc as ChatMessageMetadataProps, Ps as _default$15, Qc as ChatUnreadDividerProps, Qs as ChatComposerDrawerProps, Rc as ChatMessageSlots, Rs as _default$11, Sc as ChatLayoutProps, Ss as useSpeechRecognition, Tc as ChatLayoutScrollSlotProps, Ts as UseChatComposerTokensReturn, Uc as ChatSystemMessageProps, Us as _default$6, Vc as ChatReasoningProps, Vs as _default$8, Wc as ChatSystemMessageSlots, Ws as _default$5, Xc as ChatToolCallsSlots, Xs as ChatComposerDensity, Yc as ChatToolCallsProps, Ys as _default, Zc as ChatTypingIndicatorProps, Zs as ChatComposerDrawerEmits, _c as ChatSendButtonProps, _s as UseChatDictationOptions, ac as ChatComposerInputProps, bc as ChatTokenizedTextSlots, bs as UseSpeechRecognitionOptions, cc as ChatComposerStatus, dc as ChatComposerTokenCustom, ec as ChatComposerElevation, fc as ChatComposerTokenElementProps, fs as PASTE_TOKEN_THRESHOLD, gc as ChatSendButtonEmits, gs as useChatPasteAsToken, hc as ChatDictationButtonProps, hs as pastedTextLabel, ic as ChatComposerInputHandle, jc as ChatMessageListAlign, js as useChatMessageContext, kc as ChatMessageBubbleSlots, ks as useChatLayoutContext, lc as ChatComposerToken, mc as ChatComposerTriggerItem, ms as UseChatPasteAsTokenReturn, nc as ChatComposerInputControl, oc as ChatComposerProps, pc as ChatComposerTrigger, ps as UseChatPasteAsTokenOptions, qc as ChatToolCallStatus, qs as _default$2, rc as ChatComposerInputEmits, sc as ChatComposerSlots, tc as ChatComposerEmits, uc as ChatComposerTokenBadge, vc as ChatSendButtonSlots, vs as useChatDictation, wc as ChatLayoutScrollButtonProps, ws as UseChatComposerTokensOptions, xc as ChatDensity, xs as UseSpeechRecognitionReturn, yc as ChatTokenizedTextProps, ys as SpeechRecognitionError, zc as ChatMessageStatus, zs as _default$10 } from "../index-BtReVAyz.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 { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-Bo3jDoY2.js";
1
+ import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$1, a as _sfc_main$15, b as _sfc_main$2, c as _sfc_main$11, d as _sfc_main$8, f as _sfc_main$7, g as _sfc_main$3, h as _sfc_main$4, i as _sfc_main$16, l as _sfc_main$10, m as _sfc_main$6, n as useSpeechRecognition, o as _sfc_main$14, p as _sfc_main$5, r as _sfc_main$17, s as _sfc_main$13, t as useChatDictation, u as _sfc_main$9, v as _sfc_main, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$12 } from "../Chat-CTc9Hs1X.js";
2
2
  export { _sfc_main as ChatComposer, _sfc_main$1 as ChatComposerDrawer, _sfc_main$2 as ChatComposerInput, _sfc_main$3 as ChatComposerTokenElement, _sfc_main$4 as ChatDictationButton, _sfc_main$5 as ChatLayout, _sfc_main$6 as ChatLayoutScrollButton, _sfc_main$7 as ChatMessage, _sfc_main$8 as ChatMessageBubble, _sfc_main$9 as ChatMessageList, _sfc_main$10 as ChatMessageMetadata, _sfc_main$11 as ChatReasoning, _sfc_main$12 as ChatSendButton, _sfc_main$13 as ChatSystemMessage, _sfc_main$14 as ChatTokenizedText, _sfc_main$15 as ChatToolCalls, _sfc_main$16 as ChatTypingIndicator, _sfc_main$17 as ChatUnreadDivider, PASTE_TOKEN_THRESHOLD, pastedTextLabel, useChatComposerContext, useChatComposerTokens, useChatDictation, useChatLayoutContext, useChatListContext, useChatMessageContext, useChatPasteAsToken, useSpeechRecognition };
@@ -702,6 +702,22 @@ function tokenAncestor(node) {
702
702
  }
703
703
  return null;
704
704
  }
705
+ function createTokenSpan(token) {
706
+ const span = document.createElement("span");
707
+ const id = `token-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`;
708
+ span.setAttribute("data-astryx-token", "");
709
+ span.setAttribute("data-astryx-token-value", token.value);
710
+ span.setAttribute("data-astryx-token-id", id);
711
+ span.contentEditable = "false";
712
+ span.style.display = "inline-flex";
713
+ span.style.alignItems = "center";
714
+ span.style.height = "1lh";
715
+ span.style.verticalAlign = "top";
716
+ return {
717
+ id,
718
+ span
719
+ };
720
+ }
705
721
  /**
706
722
  * Inline chips inside the composer. The DOM span is the source of truth for
707
723
  * serialization; Vue teleports the visible badge into it.
@@ -714,16 +730,7 @@ function useChatComposerTokens(options) {
714
730
  const selection = ensureCaretInside(editable);
715
731
  if (!selection || selection.rangeCount === 0) return void 0;
716
732
  const range = selection.getRangeAt(0);
717
- const span = document.createElement("span");
718
- const id = `token-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`;
719
- span.setAttribute("data-astryx-token", "");
720
- span.setAttribute("data-astryx-token-value", token.value);
721
- span.setAttribute("data-astryx-token-id", id);
722
- span.contentEditable = "false";
723
- span.style.display = "inline-flex";
724
- span.style.alignItems = "center";
725
- span.style.height = "1lh";
726
- span.style.verticalAlign = "top";
733
+ const { id, span } = createTokenSpan(token);
727
734
  range.deleteContents();
728
735
  range.insertNode(span);
729
736
  const space = document.createTextNode(TRAILING_SPACE);
@@ -740,6 +747,40 @@ function useChatComposerTokens(options) {
740
747
  }];
741
748
  return id;
742
749
  }
750
+ function restoreValue(value, triggers = []) {
751
+ const editable = options.editable.value;
752
+ if (!editable) return;
753
+ const fragment = document.createDocumentFragment();
754
+ const restored = [];
755
+ let text = "";
756
+ for (const part of value.split(/(\s+)/)) {
757
+ if (!part) continue;
758
+ let token = null;
759
+ if (!/^\s+$/.test(part)) for (const trigger of triggers) {
760
+ const parsed = trigger.deserialize?.(part);
761
+ if (parsed?.value === part) {
762
+ token = parsed;
763
+ break;
764
+ }
765
+ }
766
+ if (token) {
767
+ if (text) {
768
+ fragment.append(text);
769
+ text = "";
770
+ }
771
+ const { id, span } = createTokenSpan(token);
772
+ fragment.append(span);
773
+ restored.push({
774
+ id,
775
+ span,
776
+ token
777
+ });
778
+ } else text += part;
779
+ }
780
+ if (text) fragment.append(text);
781
+ editable.replaceChildren(fragment);
782
+ portals.value = restored;
783
+ }
743
784
  function handleKeyDown(event) {
744
785
  if (event.key !== "Backspace") return false;
745
786
  const selection = window.getSelection();
@@ -813,6 +854,7 @@ function useChatComposerTokens(options) {
813
854
  return {
814
855
  portals,
815
856
  insertToken,
857
+ restoreValue,
816
858
  expandToken,
817
859
  handleKeyDown,
818
860
  handlePaste,
@@ -850,7 +892,7 @@ function useComposerHistory(options) {
850
892
  if (event.key === "ArrowUp") {
851
893
  if (index === -1) draft = serializeComposer(editable);
852
894
  index = index === -1 ? history.length - 1 : Math.max(0, index - 1);
853
- editable.textContent = history[index] ?? "";
895
+ options.restore(history[index] ?? "");
854
896
  selectAllContents(editable);
855
897
  options.onRecall();
856
898
  event.preventDefault();
@@ -860,11 +902,11 @@ function useComposerHistory(options) {
860
902
  const next = index + 1;
861
903
  if (next >= history.length) {
862
904
  index = -1;
863
- editable.textContent = draft;
905
+ options.restore(draft);
864
906
  if (draft) selectAllContents(editable);
865
907
  } else {
866
908
  index = next;
867
- editable.textContent = history[next] ?? "";
909
+ options.restore(history[next] ?? "");
868
910
  selectAllContents(editable);
869
911
  }
870
912
  options.onRecall();
@@ -1286,6 +1328,9 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
1286
1328
  editable: editableRef,
1287
1329
  onEmitChange: () => publish(readValue())
1288
1330
  });
1331
+ function restoreValue(value) {
1332
+ tokens.restoreValue(value, triggers.value);
1333
+ }
1289
1334
  function publish(next) {
1290
1335
  if (disabled.value) return;
1291
1336
  pendingEcho.value = next;
@@ -1332,7 +1377,8 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
1332
1377
  const history = useComposerHistory({
1333
1378
  enabled: historyEnabled,
1334
1379
  editable: editableRef,
1335
- onRecall: () => publish(readValue())
1380
+ onRecall: () => publish(readValue()),
1381
+ restore: restoreValue
1336
1382
  });
1337
1383
  const menu = useTriggerMenu({
1338
1384
  triggers,
@@ -1415,7 +1461,7 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
1415
1461
  history.remember(text);
1416
1462
  submitValue(text);
1417
1463
  tokens.clearPortals();
1418
- editable.textContent = "";
1464
+ restoreValue("");
1419
1465
  isEmpty.value = true;
1420
1466
  menu.reset();
1421
1467
  publish("");
@@ -1479,8 +1525,7 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
1479
1525
  if (serializeComposer(editable) !== next) {
1480
1526
  pendingEcho.value = void 0;
1481
1527
  const focused = document.activeElement === editable;
1482
- tokens.clearPortals();
1483
- editable.textContent = next;
1528
+ restoreValue(next);
1484
1529
  if (focused) placeCaretAtEnd(editable);
1485
1530
  isEmpty.value = next.length === 0;
1486
1531
  menu.handleInput();
@@ -1494,7 +1539,7 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
1494
1539
  const next = sourceValue.value;
1495
1540
  const editable = editableRef.value;
1496
1541
  if (editable && next && serializeComposer(editable) !== next) {
1497
- editable.textContent = next;
1542
+ restoreValue(next);
1498
1543
  isEmpty.value = next.length === 0;
1499
1544
  }
1500
1545
  });
@@ -1,2 +1,2 @@
1
- import { as as _default, cs as CheckboxInputEmits, ds as CheckboxValue, ls as CheckboxInputProps, os as CheckboxInputChangeAction, ss as CheckboxInputChangeEvent, us as CheckboxInputSlots } from "../index-r-SMqLfv.js";
1
+ import { as as _default, cs as CheckboxInputEmits, ds as CheckboxValue, ls as CheckboxInputProps, os as CheckboxInputChangeAction, ss as CheckboxInputChangeEvent, us as CheckboxInputSlots } from "../index-BtReVAyz.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 { $o as _default$1, es as _default, is as CheckboxListProps, ns as CheckboxListItemEmits, rs as CheckboxListItemProps, ts as CheckboxListEmits } from "../index-r-SMqLfv.js";
1
+ import { $o as _default$1, es as _default, is as CheckboxListProps, ns as CheckboxListItemEmits, rs as CheckboxListItemProps, ts as CheckboxListEmits } from "../index-BtReVAyz.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 { Qo as ClickableCardSlots, Xo as ClickableCardEmits, Yo as _default, Zo as ClickableCardProps } from "../index-r-SMqLfv.js";
1
+ import { Qo as ClickableCardSlots, Xo as ClickableCardEmits, Yo as _default, Zo as ClickableCardProps } from "../index-BtReVAyz.js";
2
2
  export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
@@ -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-K9yFjQxo.js";
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-dgfLDqBm.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 { Ao as ContextMenuItemEmits, Bo as ContextMenuSection, Co as ContextMenuDividerData, Do as ContextMenuGroupProps, Eo as ContextMenuEntry, Fo as ContextMenuOption, Go as ContextMenuSubMenuSlots, Ho as ContextMenuSlots, Io as ContextMenuPresentation, Jo as ContextMenuWidth, Ko as ContextMenuTriggerElement, Lo as ContextMenuProps, Mo as ContextMenuItemProps, No as ContextMenuItemSlots, Oo as ContextMenuGroupSlots, Po as ContextMenuItemTarget, Ro as ContextMenuRadioData, So as ContextMenuCheckboxData, To as ContextMenuEmits, Uo as ContextMenuSubMenuEmits, Vo as ContextMenuSize, Wo as ContextMenuSubMenuProps, _o as _default$3, bo as useContextMenu, go as _default$4, ho as _default$7, jo as ContextMenuItemIcon, ko as ContextMenuItemData, qo as ContextMenuVariant, vo as _default$2, wo as ContextMenuDividerProps, xo as useContextMenuSize, yo as _default, zo as ContextMenuRadioOptionData } from "../index-r-SMqLfv.js";
1
+ import { Ao as ContextMenuItemEmits, Bo as ContextMenuSection, Co as ContextMenuDividerData, Do as ContextMenuGroupProps, Eo as ContextMenuEntry, Fo as ContextMenuOption, Go as ContextMenuSubMenuSlots, Ho as ContextMenuSlots, Io as ContextMenuPresentation, Jo as ContextMenuWidth, Ko as ContextMenuTriggerElement, Lo as ContextMenuProps, Mo as ContextMenuItemProps, No as ContextMenuItemSlots, Oo as ContextMenuGroupSlots, Po as ContextMenuItemTarget, Ro as ContextMenuRadioData, So as ContextMenuCheckboxData, To as ContextMenuEmits, Uo as ContextMenuSubMenuEmits, Vo as ContextMenuSize, Wo as ContextMenuSubMenuProps, _o as _default$3, bo as useContextMenu, go as _default$4, ho as _default$7, jo as ContextMenuItemIcon, ko as ContextMenuItemData, qo as ContextMenuVariant, vo as _default$2, wo as ContextMenuDividerProps, xo as useContextMenuSize, yo as _default, zo as ContextMenuRadioOptionData } from "../index-BtReVAyz.js";
2
2
  import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-B5KrNlZl.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 { c as _sfc_main$1, h as useContextMenuSize, m as useContextMenu, o as _sfc_main$6, s as _sfc_main$5 } from "../accessibleName-CuQ2Zyti.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-CERvzywk.js";
1
+ import { d as _sfc_main$5, f as _sfc_main$1, u as _sfc_main$6, v as useContextMenu, y as useContextMenuSize } from "../accessibleName-DHGLl8Iq.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-CqnGrEb6.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 };
@@ -10,12 +10,12 @@ import { c as resetMenuPress, l as useLongPress, n as useMenuPress } from "./use
10
10
  import { t as useOverflow } from "./useOverflow-GU0pxGaU.js";
11
11
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
12
12
  import { n as isModifiedClick, r as keepDisabledRowUnfocused, t as activateMenuItem } from "./menuActivation-BQqnzKAX.js";
13
- import { a as useDropdownMenuMessages, c as _sfc_main$8, f as contextMenuContextKey, h as useContextMenuSize, i as useSubmenuMode, m as useContextMenu, o as _sfc_main$10, p as submenuAncestorOpenKey, r as useMenuDrillIn, s as _sfc_main$9, t as readAccessibleName } from "./accessibleName-CuQ2Zyti.js";
13
+ import { _ as submenuAncestorOpenKey, a as readMenuDirection, c as _sfc_main$8, d as _sfc_main$10, f as _sfc_main$9, g as contextMenuContextKey, i as useSubmenuMode, l as useDropdownMenuMessages, o as submenuCloseKey, r as useMenuDrillIn, s as submenuOpenKey, t as readAccessibleName, u as _sfc_main$11, v as useContextMenu, y as useContextMenuSize } from "./accessibleName-DHGLl8Iq.js";
14
14
  import { t as useHeldPresentation } from "./useHeldPresentation-0Z0Untra.js";
15
15
  import { t as LazyBottomSheet } from "./lazyBottomSheet-BaF3XOW9.js";
16
- import { t as _sfc_main$11 } from "./Divider-mOZ6vIQw.js";
16
+ import { t as _sfc_main$12 } from "./Divider-mOZ6vIQw.js";
17
17
  import { t as createHideTimer } from "./hoverIntent-DMHGb85c.js";
18
- import { t as _sfc_main$12 } from "./Spinner-CQXQ0RqS.js";
18
+ import { t as _sfc_main$13 } from "./Spinner-CQXQ0RqS.js";
19
19
  import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
20
20
  import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, toDisplayString, toRaw, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
21
21
  import "../styles/context-menu.css";
@@ -26,7 +26,7 @@ const _sfc_main$5 = /*@__PURE__*/ defineComponent({
26
26
  props: { variant: { default: "subtle" } },
27
27
  setup(__props) {
28
28
  return (_ctx, _cache) => {
29
- return openBlock(), createBlock(_sfc_main$11, {
29
+ return openBlock(), createBlock(_sfc_main$12, {
30
30
  class: "astryx-context-menu-divider",
31
31
  variant: __props.variant
32
32
  }, null, 8, ["variant"]);
@@ -510,7 +510,8 @@ const _hoisted_9 = [
510
510
  "aria-labelledby",
511
511
  "data-overflow",
512
512
  "data-placement",
513
- "data-size"
513
+ "data-size",
514
+ "dir"
514
515
  ];
515
516
  const GAP$1 = 4;
516
517
  const _sfc_main$2 = /*@__PURE__*/ defineComponent({
@@ -558,6 +559,10 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
558
559
  const row = useTemplateRef("row");
559
560
  const flyout = useTemplateRef("flyout");
560
561
  const isOpen = ref(false);
562
+ const flyoutDir = ref();
563
+ watch(isOpen, (open) => {
564
+ if (open) flyoutDir.value = readMenuDirection(row.value);
565
+ }, { flush: "sync" });
561
566
  const flyoutId = `astryx-context-menu-submenu-${useId()}`;
562
567
  const slots = useSlots();
563
568
  const stringLabel = computed(() => typeof props.label === "string" && props.label !== "" ? props.label : void 0);
@@ -582,7 +587,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
582
587
  anchor: row,
583
588
  layer: flyout,
584
589
  isOpen: showsFlyout,
585
- placement: computed(() => "end"),
590
+ placement: computed(() => flyoutDir.value === "rtl" ? "start" : "end"),
586
591
  alignment: computed(() => "start"),
587
592
  gap: GAP$1
588
593
  });
@@ -658,7 +663,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
658
663
  }
659
664
  function onRowKeyDown(event) {
660
665
  if (props.isDisabled || isImeKeyEvent(event)) return;
661
- if (event.key === "Enter" || event.key === " " || event.key === "ArrowRight") {
666
+ if (event.key === "Enter" || event.key === " " || event.key === submenuOpenKey(row.value)) {
662
667
  event.preventDefault();
663
668
  open(true);
664
669
  return;
@@ -684,7 +689,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
684
689
  }
685
690
  function onFlyoutKeyDown(event) {
686
691
  if (isImeKeyEvent(event)) return;
687
- if (event.key === "ArrowLeft") {
692
+ if (event.key === submenuCloseKey(event.currentTarget)) {
688
693
  event.preventDefault();
689
694
  close(true);
690
695
  return;
@@ -741,7 +746,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
741
746
  class: "astryx-context-menu-item__label",
742
747
  "data-menu-item-label": ""
743
748
  }, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(__props.label), 1)])], 8, _hoisted_4$1), __props.description != null || _ctx.$slots.description ? (openBlock(), createElementBlock("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])])) : createCommentVNode("v-if", true)]),
744
- createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "endContent", {}, () => [__props.hasSpinner ? (openBlock(), createElementBlock("span", _hoisted_7, [createVNode(_sfc_main$12, { size: "sm" })])) : (openBlock(), createBlock(_sfc_main$6, {
749
+ createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "endContent", {}, () => [__props.hasSpinner ? (openBlock(), createElementBlock("span", _hoisted_7, [createVNode(_sfc_main$13, { size: "sm" })])) : (openBlock(), createBlock(_sfc_main$6, {
745
750
  key: 1,
746
751
  class: "astryx-context-menu-item__chevron",
747
752
  icon: "chevronRight",
@@ -768,10 +773,12 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
768
773
  onClick: _cache[2] || (_cache[2] = ($event) => close(true))
769
774
  }, {
770
775
  icon: withCtx(() => [createVNode(_sfc_main$6, {
776
+ class: "astryx-menu-direction-mirror",
771
777
  color: "secondary",
772
778
  icon: "chevronLeft",
773
779
  size: "sm"
774
780
  })]),
781
+ label: withCtx(() => [createVNode(_sfc_main$8, { parent: unref(menu)?.menuLabel.value }, null, 8, ["parent"])]),
775
782
  _: 1
776
783
  }, 8, ["label"]), renderSlot(_ctx.$slots, "default", {}, () => [createVNode(_sfc_main$1, {
777
784
  items: __props.items ?? [],
@@ -795,6 +802,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
795
802
  "data-overflow": unref(hasOverflow) || void 0,
796
803
  "data-placement": unref(position).placement,
797
804
  "data-size": unref(size),
805
+ dir: flyoutDir.value,
798
806
  role: "menu",
799
807
  style: normalizeStyle(flyoutStyle.value),
800
808
  tabindex: "-1",
@@ -870,7 +878,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
870
878
  return (_ctx, _cache) => {
871
879
  const _component_ContextMenuItems = resolveComponent("ContextMenuItems", true);
872
880
  return openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (option, index) => {
873
- return openBlock(), createElementBlock(Fragment, { key: keyOf(option, index) }, [isDivider(option) ? (openBlock(), createBlock(_sfc_main$5, { key: 0 })) : isCheckbox(option) ? (openBlock(), createBlock(_sfc_main$8, {
881
+ return openBlock(), createElementBlock(Fragment, { key: keyOf(option, index) }, [isDivider(option) ? (openBlock(), createBlock(_sfc_main$5, { key: 0 })) : isCheckbox(option) ? (openBlock(), createBlock(_sfc_main$9, {
874
882
  key: 1,
875
883
  description: option.description,
876
884
  "has-close-on-select": option.hasCloseOnSelect,
@@ -887,7 +895,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
887
895
  "label",
888
896
  "model-value",
889
897
  "onUpdate:modelValue"
890
- ])) : isRadio(option) ? (openBlock(), createBlock(_sfc_main$9, {
898
+ ])) : isRadio(option) ? (openBlock(), createBlock(_sfc_main$10, {
891
899
  key: 2,
892
900
  "has-close-on-select": option.hasCloseOnSelect,
893
901
  label: option.label,
@@ -895,7 +903,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
895
903
  "onUpdate:modelValue": ($event) => onRadioModel(option, $event)
896
904
  }, {
897
905
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(option.items, (choice, choiceIndex) => {
898
- return openBlock(), createBlock(_sfc_main$10, {
906
+ return openBlock(), createBlock(_sfc_main$11, {
899
907
  key: choice.id ?? choiceIndex,
900
908
  description: choice.description,
901
909
  icon: choice.icon,
@@ -952,10 +960,16 @@ const _hoisted_1 = [
952
960
  "data-overflow",
953
961
  "data-placement",
954
962
  "data-size",
955
- "data-width"
963
+ "data-width",
964
+ "dir",
965
+ "role"
956
966
  ];
957
967
  const _hoisted_2 = ["hidden", "inert"];
958
- const _hoisted_3 = ["aria-label"];
968
+ const _hoisted_3 = [
969
+ "role",
970
+ "aria-label",
971
+ "dir"
972
+ ];
959
973
  const _hoisted_4 = ["hidden", "inert"];
960
974
  const GAP = 0;
961
975
  const DEFAULT_MIN_WIDTH = 160;
@@ -1007,6 +1021,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1007
1021
  const trigger = useTemplateRef("trigger");
1008
1022
  const cursorAnchor = useTemplateRef("cursorAnchor");
1009
1023
  const panel = useTemplateRef("panel");
1024
+ const menuDir = ref();
1010
1025
  useScrollbars(panel);
1011
1026
  const cursorPoint = ref({
1012
1027
  x: 0,
@@ -1099,6 +1114,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1099
1114
  x: localX,
1100
1115
  y: localY
1101
1116
  };
1117
+ menuDir.value = readMenuDirection(trigger.value);
1102
1118
  previouslyFocused = trigger.value?.ownerDocument.activeElement instanceof HTMLElement ? trigger.value.ownerDocument.activeElement : null;
1103
1119
  setOpen(true);
1104
1120
  }
@@ -1208,14 +1224,15 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1208
1224
  id: menuId,
1209
1225
  ref_key: "panel",
1210
1226
  ref: panel,
1211
- "aria-label": menuName.value,
1227
+ "aria-label": unref(isDrilled) ? void 0 : menuName.value,
1212
1228
  class: normalizeClass(["astryx-context-menu", unref(attrs).class]),
1213
1229
  "data-overflow": unref(hasOverflow) || void 0,
1214
1230
  "data-placement": unref(position).placement,
1215
1231
  "data-size": __props.size,
1216
1232
  "data-width": __props.menuWidth != null ? "custom" : void 0,
1217
1233
  "data-astryx-menu-press": "",
1218
- role: "menu",
1234
+ dir: menuDir.value,
1235
+ role: unref(isDrilled) ? "none" : "menu",
1219
1236
  style: normalizeStyle([panelStyle.value, unref(attrs).style]),
1220
1237
  tabindex: "-1",
1221
1238
  onContextmenu: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"])),
@@ -1248,8 +1265,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
1248
1265
  }, {
1249
1266
  default: withCtx(() => [createElementVNode("div", {
1250
1267
  class: "astryx-context-menu-sheet",
1251
- role: "menu",
1252
- "aria-label": menuName.value
1268
+ role: unref(isDrilled) ? "none" : "menu",
1269
+ "aria-label": unref(isDrilled) ? void 0 : menuName.value,
1270
+ dir: menuDir.value
1253
1271
  }, [createElementVNode("div", {
1254
1272
  class: "astryx-dropdown-menu-tree",
1255
1273
  hidden: unref(isDrilled) || void 0,
@@ -1,2 +1,2 @@
1
- import { ao as DateInputEntryError, co as DateInputFormatName, do as DateInputProps, fo as DateInputSlots, io as _default, lo as DateInputNativePicker, mo as DateInputStatusType, oo as DateInputEmits, po as DateInputStatus, so as DateInputFormat, uo as DateInputPresentation } from "../index-r-SMqLfv.js";
1
+ import { ao as DateInputEntryError, co as DateInputFormatName, do as DateInputProps, fo as DateInputSlots, io as _default, lo as DateInputNativePicker, mo as DateInputStatusType, oo as DateInputEmits, po as DateInputStatus, so as DateInputFormat, uo as DateInputPresentation } from "../index-BtReVAyz.js";
2
2
  export { _default as DateInput, type DateInputEmits, type DateInputEntryError, type DateInputFormat, type DateInputFormatName, type DateInputNativePicker, type DateInputPresentation, type DateInputProps, type DateInputSlots, type DateInputStatus, type DateInputStatusType };
@@ -1,2 +1,2 @@
1
- import { $a as _default, eo as DateRange, no as DateRangeInputProps, ro as DateRangePreset, to as DateRangeInputEmits } from "../index-r-SMqLfv.js";
1
+ import { $a as _default, eo as DateRange, no as DateRangeInputProps, ro as DateRangePreset, to as DateRangeInputEmits } from "../index-BtReVAyz.js";
2
2
  export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
@@ -1,2 +1,2 @@
1
- import { Qa as DateTimeInputSize, Xa as DateTimeInputEmits, Ya as _default, Za as DateTimeInputProps } from "../index-r-SMqLfv.js";
1
+ import { Qa as DateTimeInputSize, Xa as DateTimeInputEmits, Ya as _default, Za as DateTimeInputProps } from "../index-BtReVAyz.js";
2
2
  export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
@@ -1,2 +1,2 @@
1
- import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-CbA8rR_b.js";
1
+ import { a as _default$1, c as DialogHeaderProps, d as DialogProps, f as DialogPurpose, i as useDialogContext, l as DialogPadding, m as DialogContext, n as ImperativeDialogReturn, o as _default, p as DialogVariant, r as useImperativeDialog, s as DialogBlockPosition, t as ImperativeDialogOptions, u as DialogPosition } from "../index-CBOv5j3c.js";
2
2
  export { _default as Dialog, type DialogBlockPosition, type DialogContext, _default$1 as DialogHeader, type DialogHeaderProps, type DialogPadding, type DialogPosition, type DialogProps, type DialogPurpose, type DialogVariant, type ImperativeDialogOptions, type ImperativeDialogReturn, useDialogContext, useImperativeDialog };
@@ -1,2 +1,2 @@
1
- import { Ba as _default$1, Ga as DrawerHeaderSlots, Ha as DrawerEmits, Ja as DrawerSlots, Ka as DrawerPlacement, Ua as DrawerHeaderEmits, Va as _default, Wa as DrawerHeaderProps, qa as DrawerProps } from "../index-r-SMqLfv.js";
1
+ import { Ba as _default$1, Ga as DrawerHeaderSlots, Ha as DrawerEmits, Ja as DrawerSlots, Ka as DrawerPlacement, Ua as DrawerHeaderEmits, Va as _default, Wa as DrawerHeaderProps, qa as DrawerProps } from "../index-BtReVAyz.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 };
@@ -1,3 +1,3 @@
1
1
  import { A as DropdownMenuRadioGroupSlots, C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, M as DropdownMenuRadioItemSlots, N as DropdownMenuSubMenuEmits, O as DropdownMenuRadioGroupEmits, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, a as DropdownMenuCheckboxData, b as DropdownMenuCheckboxItemProps, c as DropdownMenuEntry, d as DropdownMenuPresentation, f as DropdownMenuProps, g as DropdownMenuSize, h as DropdownMenuSection, i as DropdownMenuButtonProps, j as DropdownMenuRadioItemProps, k as DropdownMenuRadioGroupProps, l as DropdownMenuItemData, m as DropdownMenuRadioOptionData, n as _default$5, o as DropdownMenuDividerData, p as DropdownMenuRadioData, r as _default$1, s as DropdownMenuEmits, t as _default$6, u as DropdownMenuOption, v as DropdownMenuTriggerProps, w as DropdownMenuItemEmits, x as DropdownMenuCheckboxItemSlots, y as DropdownMenuCheckboxItemEmits } from "../DropdownMenuRadioItem.vue-B5KrNlZl.js";
2
- import { a as _default, c as useDropdownMenuContext, i as _default$2, l as useDropdownMenuRadioGroup, n as _default$4, o as DropdownMenuContextValue, r as _default$3, s as DropdownMenuRadioGroupContext, t as _default$7 } from "../index-knkRQYho.js";
2
+ import { a as _default, c as useDropdownMenuContext, i as _default$2, l as useDropdownMenuRadioGroup, n as _default$4, o as DropdownMenuContextValue, r as _default$3, s as DropdownMenuRadioGroupContext, t as _default$7 } from "../index-DHQtLCGt.js";
3
3
  export { _default as DropdownMenu, type DropdownMenuButtonProps, type DropdownMenuCheckboxData, _default$1 as DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemEmits, type DropdownMenuCheckboxItemProps, type DropdownMenuCheckboxItemSlots, type DropdownMenuContextValue, _default$2 as DropdownMenuDivider, type DropdownMenuDividerData, type DropdownMenuEmits, type DropdownMenuEntry, _default$3 as DropdownMenuGroup, type DropdownMenuGroupProps, type DropdownMenuGroupSlots, _default$4 as DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuItemEmits, type DropdownMenuItemProps, type DropdownMenuItemSlots, type DropdownMenuItemVariant, type DropdownMenuOption, type DropdownMenuPresentation, type DropdownMenuProps, type DropdownMenuRadioData, _default$5 as DropdownMenuRadioGroup, type DropdownMenuRadioGroupContext, type DropdownMenuRadioGroupEmits, type DropdownMenuRadioGroupProps, type DropdownMenuRadioGroupSlots, _default$6 as DropdownMenuRadioItem, type DropdownMenuRadioItemProps, type DropdownMenuRadioItemSlots, type DropdownMenuRadioOptionData, type DropdownMenuSection, type DropdownMenuSize, type DropdownMenuSlots, _default$7 as DropdownMenuSubMenu, type DropdownMenuSubMenuEmits, type DropdownMenuSubMenuPresentation, type DropdownMenuSubMenuProps, type DropdownMenuSubMenuSlots, type DropdownMenuTriggerProps, useDropdownMenuContext, useDropdownMenuRadioGroup };
@@ -1,3 +1,3 @@
1
- import { c as _sfc_main$1, d as useDropdownMenuRadioGroup, o as _sfc_main$6, s as _sfc_main$5, u as useDropdownMenuContext } from "../accessibleName-CuQ2Zyti.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 "../DropdownMenu-B_wM21MY.js";
1
+ import { d as _sfc_main$5, f as _sfc_main$1, h as useDropdownMenuRadioGroup, m as useDropdownMenuContext, u as _sfc_main$6 } from "../accessibleName-DHGLl8Iq.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 "../DropdownMenu-DKr8RC2H.js";
3
3
  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 };