@astryx-vue/core 0.36.1 → 0.36.2
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-C4oB89RV.js → AlertDialog-Dz8T0KIa.js} +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-CU12SF6s.js → AppShell-ClZ2Y8cu.js} +2 -2
- 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/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DCLOhzZP.js → BottomSheet-CRHPDrmS.js} +3 -3
- package/dist/BottomSheet-CYsGu9GP.js +1926 -0
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-BfjWIfgO.js → Breadcrumbs-nO9YHygD.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/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-f9HzZe5y.js → Chat-BRtDKajd.js} +230 -12
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Dxp-BWv-.js → Collapsible-DfVihLCR.js} +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-PyPfsPLY.js → CommandPalette-D07roA0D.js} +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-B07QdP_p.js → ComplexSelector-7OdAby6v.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-B6NH9NBS.js → ContextMenu-BIJyyObZ.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-TrPijW9a.js → DateInput-BNKoPL3j.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-bKPzsoHA.js → DateRangeInput-CGDlPnUb.js} +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-5jZPqFu2.js → DateTimeInput-CRWUAh75.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-dm_qZ9NI.js → Dialog-BxijA4zr.js} +2 -2
- package/dist/{Dialog-CDAicnpK.js → Dialog-CXa-tu02.js} +1 -1
- package/dist/{DialogHeader-CQfcOIfF.js → DialogHeader-D7f97ksG.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-DKSqpR2p.js → Drawer-C3t7NKiF.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-C-SLsVSO.js → DropdownMenu-Bklf6ekH.js} +4 -4
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-CpFgVnlQ.js → Layout-BDS2ZN6C.js} +1 -1
- package/dist/{LayoutPanel-Dhm0Hubb.js → LayoutPanel-D56PBM4I.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-BSzyDGkK.js → Lightbox-CnTXrgq6.js} +2 -2
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-C1_IinAo.js → MobileNavToggle-CjlgmcSf.js} +2 -2
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DbYO8V7N.js → MoreMenu-CGTbwTyw.js} +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-CthCkW-w.js → MultiSelector-BjFYfRqV.js} +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-g8ZVhLMG.js → NavMenu-BflnhBtX.js} +1 -1
- package/dist/{NavMenuItem-DJg9jfHm.js → NavMenuItem-CrFrczWe.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BM52uE72.js → NumberInput-vWUcgJU8.js} +2 -0
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-nW6GCEsY.js → OverflowList-D9Ua6e3-.js} +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DFZivDZZ.js → Pagination-DGcl38z9.js} +3 -3
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-IvZGq1LC.js → Popover-DlCqmkYD.js} +3 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CQdyB8_N.js → PowerSearch-BKhXYPRO.js} +10 -10
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-icOfE3ja.js → Selector-CHq3XHwH.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-ZZ5zCQz0.js → SideNav-D8jQrwtL.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-C-HBxmkc.js → TabList-DjRutwar.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-aMqVf_iH.js → Table-waEj3x_o.js} +8 -8
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-YJtL9Fi6.js → TextArea-BtBC4IoD.js} +2 -0
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-CuPxOApN.js → TextInput-cotkU2bC.js} +2 -0
- package/dist/{TimeField-DNxPI2cM.js → TimeField-BXQCZIwP.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-PJdyNX0T.js → TimeInput-C_ZssG1D.js} +1 -1
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CdyoUaoZ.js → Tokenizer-hmGkGVG7.js} +3 -3
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CxAm5bN5.js → TopNav-D7jH9iwk.js} +2 -2
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/{accessibleName-CN1vKvS_.js → accessibleName-CHrrgpAy.js} +1 -1
- package/dist/composables/index.js +4 -4
- package/dist/{focusLeaving-DMkbxFkF.js → focusLeaving-BbZ69DYV.js} +1 -1
- package/dist/{focusReturn-DfZS7TCp.js → focusReturn-BeSRm0xD.js} +34 -3
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-x7g2WHHx.d.ts → index-BGUuyAMO.d.ts} +10 -10
- package/dist/{index-CBOv5j3c.d.ts → index-BQ3cm7mP.d.ts} +2 -2
- package/dist/{index-BufuCsTx.d.ts → index-BRr4ANpr.d.ts} +8 -8
- package/dist/{index-DHUCHxn2.d.ts → index-BWWirRm3.d.ts} +1 -1
- package/dist/{index--kbwaSXW.d.ts → index-BWzEt0gT.d.ts} +2 -2
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-B27k2e77.d.ts → index-C0smuLQ8.d.ts} +80 -80
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-CilCxEvD.d.ts → index-C6Iv6sgd.d.ts} +3 -3
- package/dist/{index-1yvu_vpF.d.ts → index-CAJMHw-g.d.ts} +4 -4
- package/dist/{index-ZXrvTM3A.d.ts → index-CArP_6wv.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-CJdOt5Cc.d.ts} +2 -2
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-C3JmGujU.d.ts → index-Cm36VS1A.d.ts} +3 -3
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-rr6Rns7h.d.ts → index-D2B3ysZr.d.ts} +2 -2
- package/dist/{index-J83fLEyo.d.ts → index-DA3DMFds.d.ts} +4 -4
- package/dist/{index-tdOyqA_U.d.ts → index-DlH0BI35.d.ts} +2 -2
- package/dist/{index-JE1HrzdJ.d.ts → index-DsWEyz1N.d.ts} +1 -1
- package/dist/{index-DYabo8TI.d.ts → index-SWw-WMTO.d.ts} +2 -2
- package/dist/{index-CdvmnNMH.d.ts → index-Xc3q9f84.d.ts} +2 -2
- package/dist/{index-C93nwgTW.d.ts → index-gmY3A_Iw.d.ts} +1 -1
- package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/index.d.ts +26 -26
- package/dist/index.js +45 -45
- package/dist/{layerFocusReturn-CEvrMbxH.js → layerFocusReturn-uixUCSc8.js} +1 -1
- package/dist/{lazyBottomSheet-DlrpPOl8.js → lazyBottomSheet-zUe1mYmM.js} +1 -1
- package/dist/rideKeyboard-BCzVooOd.js +1635 -0
- package/dist/{useChatStreamScroll-DWhnCSP1.js → useChatStreamScroll-3mJvbNtI.js} +30 -4
- package/dist/{useFocusTrap-DcjriBe1.js → useFocusTrap-Bj9GskLh.js} +1 -1
- package/dist/{useMenuPress-zOinmIFS.js → useMenuPress-kjmot8Bn.js} +1 -1
- package/dist/useMobileKeyboard-BDPV51xl.js +806 -0
- package/dist/{useRestoreFocus-DS7uQWok.js → useRestoreFocus-m3rsqE4d.js} +1 -1
- package/package.json +1 -1
- package/styles/chat.css +6 -0
- package/dist/BottomSheet-Chr9yCIL.js +0 -4353
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as _sfc_main$3, o as _sfc_main$2, s as _sfc_main$1 } from "../accessibleName-
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-
|
|
1
|
+
import { a as _sfc_main$3, o as _sfc_main$2, s as _sfc_main$1 } from "../accessibleName-CHrrgpAy.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-nO9YHygD.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-Dk0jccgU.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-
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-Bklf6ekH.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";
|
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-DRpOiAlm.js";
|
|
2
|
-
import { t as _default } from "../index
|
|
2
|
+
import { t as _default } from "../index-BWzEt0gT.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-
|
|
1
|
+
import { Cl as ButtonGroupSlots, Sl as ButtonGroupProps, wl as ButtonGroupOrientation, xl as _default } from "../index-C0smuLQ8.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 { _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-
|
|
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-C0smuLQ8.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 };
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CardSlots, i as CardSizeValue, n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap, t as _default } from "../index-
|
|
1
|
+
import { a as CardSlots, i as CardSizeValue, n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap, t as _default } from "../index-Bgk1Rj2A.js";
|
|
2
2
|
export { _default as Card, type CardElevation, type CardProps, type CardSizeValue, type CardSlots, type CardVariant, type CardVariantMap };
|
package/dist/Carousel/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $c as _default, el as CarouselGap, nl as CarouselProps, rl as CarouselSlots, tl as CarouselHandle } from "../index-
|
|
1
|
+
import { $c as _default, el as CarouselGap, nl as CarouselProps, rl as CarouselSlots, tl as CarouselHandle } from "../index-C0smuLQ8.js";
|
|
2
2
|
export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };
|
package/dist/Chat/index.d.ts
CHANGED
|
@@ -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-
|
|
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-C0smuLQ8.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 };
|
package/dist/Chat/index.js
CHANGED
|
@@ -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-
|
|
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-BRtDKajd.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 };
|
|
@@ -5,16 +5,23 @@ import { t as _sfc_main$24 } from "./Icon-Dk0jccgU.js";
|
|
|
5
5
|
import { t as _sfc_main$25 } from "./Button-V6i-PeBt.js";
|
|
6
6
|
import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-CegXF2Zo.js";
|
|
7
7
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
8
|
-
import { a as trackInteractionModality, r as isKeyboardModality } from "./interactionModality-4Km2ibsq.js";
|
|
8
|
+
import { a as trackInteractionModality, r as isKeyboardModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
9
9
|
import { t as _sfc_main$26 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
10
|
+
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
11
|
+
import { n as createMotionEngine } from "./animator-Bptiubcx.js";
|
|
10
12
|
import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
|
|
13
|
+
import { t as TOUCH_QUERY } from "./touchQueries-xy5IeZfe.js";
|
|
14
|
+
import { t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
11
15
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
12
|
-
import {
|
|
16
|
+
import { i as useChatNewMessages, n as isFollowingNewest, t as useChatStreamScroll } from "./useChatStreamScroll-3mJvbNtI.js";
|
|
17
|
+
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
18
|
+
import { n as focusForLastInputTemporarily } from "./focusReturn-BeSRm0xD.js";
|
|
13
19
|
import { a as useAstryxLocale, o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
14
20
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
15
21
|
import { r as TOUCH_POINTER_TYPES } from "./useTouchTriggerInternal-C_mowlpv.js";
|
|
16
22
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
17
23
|
import { t as _sfc_main$27 } from "./Badge-BbPS_49c.js";
|
|
24
|
+
import { F as subscribeKeyboardHeight, I as layoutViewportHeight, M as getKeyboardHeight, P as isTextEntryControl, S as followsKeyboard, _ as refuseFocusReveal, c as claimTapFocus, g as keyboardProfileOf, j as findTextEntryControl, m as getKeyboardLayoutGuide, r as deliverTap, s as watchPans, t as rideKeyboard } from "./rideKeyboard-BCzVooOd.js";
|
|
18
25
|
import { r as withholdCallerHandlers } from "./disabledInteraction-Bqoyhoss.js";
|
|
19
26
|
import { t as _sfc_main$28 } from "./Divider-mOZ6vIQw.js";
|
|
20
27
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
@@ -23,10 +30,56 @@ import { t as useAnnounceRenderedText } from "./announceRenderedText-CslZ0cev.js
|
|
|
23
30
|
import { t as _sfc_main$29 } from "./Spinner-D1adu3uH.js";
|
|
24
31
|
import { t as chatMessages } from "./chat-BUFYB3bA.js";
|
|
25
32
|
import { t as _sfc_main$30 } from "./HoverCard-BhHZE9q6.js";
|
|
26
|
-
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toValue, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
33
|
+
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toValue, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
27
34
|
import "../styles/layer.css";
|
|
28
35
|
import "../styles/popover.css";
|
|
29
36
|
import "../styles/chat.css";
|
|
37
|
+
//#region src/Chat/chatKeyboardFocus.ts
|
|
38
|
+
/** Marks ChatLayout's composer region, the keyboard surface. */
|
|
39
|
+
const KEYBOARD_SURFACE_ATTRIBUTE = "data-astryx-keyboard-surface";
|
|
40
|
+
const OWN_TAPS = "[contenteditable=\"false\"], button, a, [role=\"button\"], [data-astryx-token]";
|
|
41
|
+
/**
|
|
42
|
+
* The composer's text a touch landed in, when that tap would bring up the
|
|
43
|
+
* keyboard and the text has no focus yet. It is contenteditable text, or a
|
|
44
|
+
* text control passed as the composer's input. The browser would reveal
|
|
45
|
+
* either by scrolling the page.
|
|
46
|
+
*/
|
|
47
|
+
function editableToClaim(target) {
|
|
48
|
+
let node = target;
|
|
49
|
+
if (node != null && node.nodeType !== 1) node = node.parentNode;
|
|
50
|
+
const element = node;
|
|
51
|
+
if (element == null || typeof element.closest !== "function") return null;
|
|
52
|
+
const editable = isTextEntryControl(element) ? element : element.closest("[contenteditable]:not([contenteditable=\"false\"])");
|
|
53
|
+
if (editable == null || !isTextEntryControl(editable)) return null;
|
|
54
|
+
const own = element.closest(OWN_TAPS);
|
|
55
|
+
if (own != null && editable.contains(own)) return null;
|
|
56
|
+
const active = editable.ownerDocument.activeElement;
|
|
57
|
+
return active === editable || editable.contains(active) ? null : editable;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Done's park: focus rests on the composer region. It is focusable for the
|
|
61
|
+
* park alone, so a click or a tap beside the composer never focuses it. The
|
|
62
|
+
* region gives the focus stop up as soon as focus leaves it. It shows the
|
|
63
|
+
* focus ring only after keyboard input, as other script focus does.
|
|
64
|
+
*/
|
|
65
|
+
function parkFocus(region, modality) {
|
|
66
|
+
if (modality !== "keyboard") {
|
|
67
|
+
region.style.setProperty("outline", "none");
|
|
68
|
+
region.addEventListener("blur", () => region.style.removeProperty("outline"), { once: true });
|
|
69
|
+
}
|
|
70
|
+
focusForLastInputTemporarily(region, { preventScroll: true }, modality);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Focuses `element` the way its surface wants. Inside ChatLayout's composer
|
|
74
|
+
* region, under a finger in a top-level page, focus skips the browser's
|
|
75
|
+
* reveal, which on iOS scrolls the whole page. Elsewhere the browser's own
|
|
76
|
+
* focus applies.
|
|
77
|
+
*/
|
|
78
|
+
function focusInKeyboardSurface(element) {
|
|
79
|
+
if (element.closest(`[data-astryx-keyboard-surface]`) != null && followsKeyboard(element.ownerDocument.defaultView)) element.focus({ preventScroll: true });
|
|
80
|
+
else element.focus();
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
30
83
|
//#region src/composables/internal/tapStop.ts
|
|
31
84
|
/**
|
|
32
85
|
* @file tapStop.ts
|
|
@@ -1263,7 +1316,7 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
|
|
|
1263
1316
|
const editable = editableRef.value;
|
|
1264
1317
|
if (!editable) return;
|
|
1265
1318
|
const existing = getSelectionRangeInside(editable);
|
|
1266
|
-
editable
|
|
1319
|
+
focusInKeyboardSurface(editable);
|
|
1267
1320
|
if (existing) {
|
|
1268
1321
|
restoreSelectionRange(existing);
|
|
1269
1322
|
return;
|
|
@@ -1273,7 +1326,7 @@ const _sfc_main$20 = /*@__PURE__*/ defineComponent({
|
|
|
1273
1326
|
function focusAtEnd() {
|
|
1274
1327
|
const editable = editableRef.value;
|
|
1275
1328
|
if (!editable) return;
|
|
1276
|
-
editable
|
|
1329
|
+
focusInKeyboardSurface(editable);
|
|
1277
1330
|
placeCaretAtEnd(editable);
|
|
1278
1331
|
}
|
|
1279
1332
|
const history = useComposerHistory({
|
|
@@ -1676,7 +1729,8 @@ const _sfc_main$18 = /*@__PURE__*/ defineComponent({
|
|
|
1676
1729
|
inputControl.value.focus();
|
|
1677
1730
|
return;
|
|
1678
1731
|
}
|
|
1679
|
-
body.value?.querySelector("[contenteditable=\"true\"], textarea")
|
|
1732
|
+
const editable = body.value?.querySelector("[contenteditable=\"true\"], textarea");
|
|
1733
|
+
if (editable) focusInKeyboardSurface(editable);
|
|
1680
1734
|
}
|
|
1681
1735
|
function onPointerDown() {
|
|
1682
1736
|
keyboardFocus.value = false;
|
|
@@ -2005,6 +2059,153 @@ const _sfc_main$14 = /*@__PURE__*/ defineComponent({
|
|
|
2005
2059
|
}
|
|
2006
2060
|
});
|
|
2007
2061
|
//#endregion
|
|
2062
|
+
//#region src/Chat/useChatKeyboard.ts
|
|
2063
|
+
/** A compositor animator that follows the element a ref names. */
|
|
2064
|
+
function useElementAnimator(element) {
|
|
2065
|
+
const animator = createMotionEngine(null);
|
|
2066
|
+
watch(element, (next) => animator.attach(next ?? null), {
|
|
2067
|
+
immediate: true,
|
|
2068
|
+
flush: "sync"
|
|
2069
|
+
});
|
|
2070
|
+
onScopeDispose(() => animator.attach(null));
|
|
2071
|
+
return animator;
|
|
2072
|
+
}
|
|
2073
|
+
/**
|
|
2074
|
+
* Keeps ChatLayout's composer on top of the software keyboard.
|
|
2075
|
+
*
|
|
2076
|
+
* @example
|
|
2077
|
+
* ```
|
|
2078
|
+
* const keyboard = useChatKeyboard({ root, scrollRef, dock, messages, composer, isSelfScrolling, scrollToBottom })
|
|
2079
|
+
* // the dock's `bottom` and the message area's end padding read keyboard.lift
|
|
2080
|
+
* ```
|
|
2081
|
+
*/
|
|
2082
|
+
function useChatKeyboard(options) {
|
|
2083
|
+
const { root, scrollRef, composer, scrollToBottom } = options;
|
|
2084
|
+
const dock = useElementAnimator(options.dock);
|
|
2085
|
+
const messages = useElementAnimator(options.messages);
|
|
2086
|
+
const lift = shallowRef(0);
|
|
2087
|
+
let liftTaken = 0;
|
|
2088
|
+
let riding = false;
|
|
2089
|
+
let rideCount = 0;
|
|
2090
|
+
let dockTarget = null;
|
|
2091
|
+
let messagesTarget = null;
|
|
2092
|
+
let atEndBefore = false;
|
|
2093
|
+
let scrollBefore = 0;
|
|
2094
|
+
const isTouch = useMediaQuery(TOUCH_QUERY);
|
|
2095
|
+
useAttachment(root, (rootElement) => {
|
|
2096
|
+
const win = rootElement.ownerDocument.defaultView;
|
|
2097
|
+
if (win == null) return () => {};
|
|
2098
|
+
const isSelfScrolling = toValue(options.isSelfScrolling);
|
|
2099
|
+
const liftFor = (inset) => {
|
|
2100
|
+
if (inset <= 0) return 0;
|
|
2101
|
+
const viewportBottom = layoutViewportHeight(win);
|
|
2102
|
+
const bottom = isSelfScrolling ? rootElement.getBoundingClientRect().bottom : viewportBottom;
|
|
2103
|
+
return Math.max(0, bottom - (viewportBottom - inset));
|
|
2104
|
+
};
|
|
2105
|
+
const isAtEnd = () => {
|
|
2106
|
+
const scroller = scrollRef.value;
|
|
2107
|
+
return scroller != null && isFollowingNewest(scroller);
|
|
2108
|
+
};
|
|
2109
|
+
const commit = () => {
|
|
2110
|
+
if (riding) return;
|
|
2111
|
+
const next = liftFor(getKeyboardHeight(win));
|
|
2112
|
+
if (Math.abs(next - liftTaken) < .5) return;
|
|
2113
|
+
atEndBefore = isAtEnd();
|
|
2114
|
+
scrollBefore = scrollRef.value?.scrollTop ?? 0;
|
|
2115
|
+
lift.value = next;
|
|
2116
|
+
};
|
|
2117
|
+
const follow = (transition) => {
|
|
2118
|
+
const target = liftTaken - liftFor(transition.to);
|
|
2119
|
+
const atEnd = isAtEnd();
|
|
2120
|
+
dockTarget = target;
|
|
2121
|
+
messagesTarget = atEnd ? target : null;
|
|
2122
|
+
if (!transition.animated) {
|
|
2123
|
+
rideCount += 1;
|
|
2124
|
+
riding = false;
|
|
2125
|
+
dock.set({ y: target });
|
|
2126
|
+
if (atEnd) messages.set({ y: target });
|
|
2127
|
+
commit();
|
|
2128
|
+
return;
|
|
2129
|
+
}
|
|
2130
|
+
const shown = { y: target };
|
|
2131
|
+
riding = true;
|
|
2132
|
+
rideCount += 1;
|
|
2133
|
+
const ride = rideCount;
|
|
2134
|
+
const rides = [rideKeyboard(dock, shown, transition)?.finished ?? Promise.resolve(true)];
|
|
2135
|
+
if (atEnd) rides.push(rideKeyboard(messages, shown, transition)?.finished ?? Promise.resolve(true));
|
|
2136
|
+
Promise.all(rides).then(async (done) => {
|
|
2137
|
+
if (!done.every(Boolean) || ride !== rideCount) return;
|
|
2138
|
+
const element = dock.element;
|
|
2139
|
+
await Promise.all((element?.getAnimations?.() ?? []).map(async (animation) => animation.finished.catch(() => void 0)));
|
|
2140
|
+
if (ride === rideCount) {
|
|
2141
|
+
riding = false;
|
|
2142
|
+
commit();
|
|
2143
|
+
}
|
|
2144
|
+
}).catch(() => void 0);
|
|
2145
|
+
};
|
|
2146
|
+
const unsubscribe = isTouch.value && keyboardProfileOf(win) === "chromium" ? getKeyboardLayoutGuide(win).subscribe(follow) : void 0;
|
|
2147
|
+
let reportedHeight = getKeyboardHeight(win);
|
|
2148
|
+
const unsubscribeHeight = subscribeKeyboardHeight(win, (event) => {
|
|
2149
|
+
if (event.type === "viewport" && event.height !== reportedHeight) {
|
|
2150
|
+
reportedHeight = event.height;
|
|
2151
|
+
commit();
|
|
2152
|
+
}
|
|
2153
|
+
});
|
|
2154
|
+
commit();
|
|
2155
|
+
return () => {
|
|
2156
|
+
unsubscribeHeight();
|
|
2157
|
+
unsubscribe?.();
|
|
2158
|
+
riding = false;
|
|
2159
|
+
};
|
|
2160
|
+
}, () => `${toValue(options.isSelfScrolling)}|${isTouch.value}`);
|
|
2161
|
+
watch(lift, (next) => {
|
|
2162
|
+
const moved = next - liftTaken;
|
|
2163
|
+
if (Math.abs(moved) < .5) return;
|
|
2164
|
+
liftTaken = next;
|
|
2165
|
+
const dockRode = dockTarget;
|
|
2166
|
+
const messagesRode = messagesTarget;
|
|
2167
|
+
dockTarget = null;
|
|
2168
|
+
messagesTarget = null;
|
|
2169
|
+
if (dockRode != null) dock.set({ y: dockRode + moved });
|
|
2170
|
+
const scroller = scrollRef.value;
|
|
2171
|
+
if (scroller == null) return;
|
|
2172
|
+
if (messagesRode != null) messages.set({ y: 0 });
|
|
2173
|
+
if (atEndBefore) scrollToBottom({ behavior: "instant" });
|
|
2174
|
+
const shifted = scroller.scrollTop - scrollBefore;
|
|
2175
|
+
if (messagesRode != null && Math.abs(messagesRode + shifted) >= .5) messages.set({ y: messagesRode + shifted });
|
|
2176
|
+
}, { flush: "post" });
|
|
2177
|
+
useAttachment(composer, (region) => {
|
|
2178
|
+
const win = region.ownerDocument.defaultView;
|
|
2179
|
+
if (!isTouch.value || !followsKeyboard(win)) return () => {};
|
|
2180
|
+
const doc = region.ownerDocument;
|
|
2181
|
+
trackInteractionModality(doc);
|
|
2182
|
+
const stopTaps = claimTapFocus(region, {
|
|
2183
|
+
claim: editableToClaim,
|
|
2184
|
+
deliver: deliverTap
|
|
2185
|
+
});
|
|
2186
|
+
const pans = watchPans(win, (focused) => region.contains(focused));
|
|
2187
|
+
const unsubscribePans = subscribeKeyboardHeight(win, (event) => {
|
|
2188
|
+
if (event.type === "viewport") pans.report(event.height);
|
|
2189
|
+
});
|
|
2190
|
+
region.setAttribute("role", "group");
|
|
2191
|
+
const stopTakeover = refuseFocusReveal(doc, {
|
|
2192
|
+
isActive: () => isCoarsePointer(win),
|
|
2193
|
+
claim: (destination) => findTextEntryControl(destination, region),
|
|
2194
|
+
park: (origin) => {
|
|
2195
|
+
if (findTextEntryControl(origin, region) != null) parkFocus(region, getInteractionModality(doc));
|
|
2196
|
+
}
|
|
2197
|
+
});
|
|
2198
|
+
return () => {
|
|
2199
|
+
stopTakeover();
|
|
2200
|
+
region.removeAttribute("role");
|
|
2201
|
+
unsubscribePans();
|
|
2202
|
+
pans.stop();
|
|
2203
|
+
stopTaps();
|
|
2204
|
+
};
|
|
2205
|
+
}, () => isTouch.value);
|
|
2206
|
+
return { lift: readonly(lift) };
|
|
2207
|
+
}
|
|
2208
|
+
//#endregion
|
|
2008
2209
|
//#region src/Chat/ChatLayout.vue
|
|
2009
2210
|
const _hoisted_1$12 = ["data-density", "data-scroll"];
|
|
2010
2211
|
const _hoisted_2$9 = ["data-density"];
|
|
@@ -2049,9 +2250,22 @@ const _sfc_main$13 = /*@__PURE__*/ defineComponent({
|
|
|
2049
2250
|
immediate: true,
|
|
2050
2251
|
flush: "post"
|
|
2051
2252
|
});
|
|
2052
|
-
const messagesStyle = computed(() => dockHeight.value > 0 ? { paddingBlockEnd: `calc(var(--astryx-spacing-6, 24px) + ${dockHeight.value}px)` } : void 0);
|
|
2053
2253
|
useScrollbars(root, { enabled: isSelfScrolling });
|
|
2054
2254
|
const scroll = useChatStreamScroll({ scrollRef: scrollTarget });
|
|
2255
|
+
const keyboard = useChatKeyboard({
|
|
2256
|
+
root,
|
|
2257
|
+
scrollRef: scrollTarget,
|
|
2258
|
+
dock,
|
|
2259
|
+
messages: useTemplateRef("messages"),
|
|
2260
|
+
composer: useTemplateRef("composer"),
|
|
2261
|
+
isSelfScrolling,
|
|
2262
|
+
scrollToBottom: scroll.scrollToBottom
|
|
2263
|
+
});
|
|
2264
|
+
const messagesStyle = computed(() => {
|
|
2265
|
+
const endRoom = keyboard.lift.value + dockHeight.value;
|
|
2266
|
+
return endRoom > 0 ? { paddingBlockEnd: `calc(var(--astryx-spacing-6, 24px) + ${endRoom}px)` } : void 0;
|
|
2267
|
+
});
|
|
2268
|
+
const dockStyle = computed(() => keyboard.lift.value > 0 ? { bottom: `${keyboard.lift.value}px` } : void 0);
|
|
2055
2269
|
const newMessages = useChatNewMessages({
|
|
2056
2270
|
isLocked: scroll.isLocked,
|
|
2057
2271
|
onResize: scroll.scrollIfLocked
|
|
@@ -2082,6 +2296,8 @@ const _sfc_main$13 = /*@__PURE__*/ defineComponent({
|
|
|
2082
2296
|
"data-density": __props.density,
|
|
2083
2297
|
"data-scroll": isSelfScrolling.value ? "self" : "external"
|
|
2084
2298
|
}), [createElementVNode("div", {
|
|
2299
|
+
ref_key: "messages",
|
|
2300
|
+
ref: messages,
|
|
2085
2301
|
class: "astryx-chat-layout__messages",
|
|
2086
2302
|
"data-density": __props.density,
|
|
2087
2303
|
style: normalizeStyle(messagesStyle.value)
|
|
@@ -2089,7 +2305,8 @@ const _sfc_main$13 = /*@__PURE__*/ defineComponent({
|
|
|
2089
2305
|
ref_key: "dock",
|
|
2090
2306
|
ref: dock,
|
|
2091
2307
|
class: "astryx-chat-layout__dock",
|
|
2092
|
-
"data-density": __props.density
|
|
2308
|
+
"data-density": __props.density,
|
|
2309
|
+
style: normalizeStyle(dockStyle.value)
|
|
2093
2310
|
}, [
|
|
2094
2311
|
renderSlot(_ctx.$slots, "scrollButton", {
|
|
2095
2312
|
isVisible: buttonVisible.value,
|
|
@@ -2105,14 +2322,15 @@ const _sfc_main$13 = /*@__PURE__*/ defineComponent({
|
|
|
2105
2322
|
class: "astryx-chat-layout__blur",
|
|
2106
2323
|
"data-density": __props.density
|
|
2107
2324
|
}, null, 8, _hoisted_5$6),
|
|
2108
|
-
createElementVNode("div", {
|
|
2325
|
+
createElementVNode("div", mergeProps({
|
|
2326
|
+
ref: "composer",
|
|
2109
2327
|
class: "astryx-chat-layout__composer",
|
|
2110
2328
|
"data-density": __props.density
|
|
2111
|
-
}, [createElementVNode("div", {
|
|
2329
|
+
}, { [unref(KEYBOARD_SURFACE_ATTRIBUTE)]: "" }), [createElementVNode("div", {
|
|
2112
2330
|
class: "astryx-chat-layout__composer-inner",
|
|
2113
2331
|
"data-density": __props.density
|
|
2114
|
-
}, [renderSlot(_ctx.$slots, "composer")], 8, _hoisted_7$3)],
|
|
2115
|
-
],
|
|
2332
|
+
}, [renderSlot(_ctx.$slots, "composer")], 8, _hoisted_7$3)], 16, _hoisted_6$4)
|
|
2333
|
+
], 12, _hoisted_4$7)], 16, _hoisted_1$12);
|
|
2116
2334
|
};
|
|
2117
2335
|
}
|
|
2118
2336
|
});
|
|
@@ -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-
|
|
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-C0smuLQ8.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-
|
|
1
|
+
import { $o as _default$1, es as _default, is as CheckboxListProps, ns as CheckboxListItemEmits, rs as CheckboxListItemProps, ts as CheckboxListEmits } from "../index-C0smuLQ8.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-
|
|
1
|
+
import { Qo as ClickableCardSlots, Xo as ClickableCardEmits, Yo as _default, Zo as ClickableCardProps } from "../index-C0smuLQ8.js";
|
|
2
2
|
export { _default as ClickableCard, _default as default, type ClickableCardEmits, type ClickableCardProps, type ClickableCardSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _default$1, c as CollapsibleGroupSlots, d as CollapsibleGroupValue, f as _default, g as CollapsibleSlots, h as CollapsibleProps, i as useCollapsible, l as CollapsibleGroupDensity, m as CollapsibleEmits, n as UseCollapsibleOptions, o as CollapsibleGroupEmits, p as CollapsibleChevronPosition, r as UseCollapsibleReturn, s as CollapsibleGroupProps, t as CollapsibleConfig, u as CollapsibleGroupType } from "../index-
|
|
1
|
+
import { a as _default$1, c as CollapsibleGroupSlots, d as CollapsibleGroupValue, f as _default, g as CollapsibleSlots, h as CollapsibleProps, i as useCollapsible, l as CollapsibleGroupDensity, m as CollapsibleEmits, n as UseCollapsibleOptions, o as CollapsibleGroupEmits, p as CollapsibleChevronPosition, r as UseCollapsibleReturn, s as CollapsibleGroupProps, t as CollapsibleConfig, u as CollapsibleGroupType } from "../index-ql9ApSTF.js";
|
|
2
2
|
export { _default as Collapsible, type CollapsibleChevronPosition, type CollapsibleConfig, type CollapsibleEmits, _default$1 as CollapsibleGroup, type CollapsibleGroupDensity, type CollapsibleGroupEmits, type CollapsibleGroupProps, type CollapsibleGroupSlots, type CollapsibleGroupType, type CollapsibleGroupValue, type CollapsibleProps, type CollapsibleSlots, type UseCollapsibleOptions, type UseCollapsibleReturn, useCollapsible };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-
|
|
1
|
+
import { n as _sfc_main, r as useCollapsible, t as _sfc_main$1 } from "../Collapsible-DfVihLCR.js";
|
|
2
2
|
export { _sfc_main as Collapsible, _sfc_main$1 as CollapsibleGroup, useCollapsible };
|
|
@@ -3,7 +3,7 @@ import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide
|
|
|
3
3
|
import { t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { o as releaseLayoutExit, r as holdLayoutExit, s as playLayoutChange, t as reportLayoutChange } from "./reportChange-CUo2YNPB.js";
|
|
5
5
|
import { t as applyLayoutChangeTransition } from "./landing-CrVewjeb.js";
|
|
6
|
-
import { n as noteFocusWithin, r as useFocusLeavingChange, t as moveFocusLeftBehind } from "./focusLeaving-
|
|
6
|
+
import { n as noteFocusWithin, r as useFocusLeavingChange, t as moveFocusLeftBehind } from "./focusLeaving-BbZ69DYV.js";
|
|
7
7
|
import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, onMounted, openBlock, provide, ref, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
8
8
|
import "../styles/collapsible.css";
|
|
9
9
|
//#region src/composables/internal/layoutDisclosure.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as CommandPaletteSlots, a as _default$2, c as CommandPaletteEmits, d as CommandPaletteInputProps, f as CommandPaletteItemEmits, g as CommandPaletteProps, h as CommandPaletteListProps, i as _default$3, l as CommandPaletteGroupProps, m as CommandPaletteItemSlotProps, n as _default$5, o as _default$1, p as CommandPaletteItemProps, r as _default$4, s as _default, t as _default$6, u as CommandPaletteInputEmits } from "../index-
|
|
1
|
+
import { _ as CommandPaletteSlots, a as _default$2, c as CommandPaletteEmits, d as CommandPaletteInputProps, f as CommandPaletteItemEmits, g as CommandPaletteProps, h as CommandPaletteListProps, i as _default$3, l as CommandPaletteGroupProps, m as CommandPaletteItemSlotProps, n as _default$5, o as _default$1, p as CommandPaletteItemProps, r as _default$4, s as _default, t as _default$6, u as CommandPaletteInputEmits } from "../index-C1e8LNx2.js";
|
|
2
2
|
export { _default as CommandPalette, type CommandPaletteEmits, _default$1 as CommandPaletteEmpty, _default$2 as CommandPaletteFooter, _default$3 as CommandPaletteGroup, type CommandPaletteGroupProps, _default$4 as CommandPaletteInput, type CommandPaletteInputEmits, type CommandPaletteInputProps, _default$5 as CommandPaletteItem, type CommandPaletteItemEmits, type CommandPaletteItemProps, type CommandPaletteItemSlotProps, _default$6 as CommandPaletteList, type CommandPaletteListProps, type CommandPaletteProps, type CommandPaletteSlots };
|
|
@@ -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-D07roA0D.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 { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
6
6
|
import { n as useAsyncSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
7
7
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
8
8
|
import { t as _sfc_main$8 } from "./Kbd-CbD993ig.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-BxijA4zr.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
12
|
import { t as _sfc_main$10 } from "./Spinner-D1adu3uH.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-
|
|
1
|
+
import { n as _sfc_main, t as ComplexSelector_default } from "../ComplexSelector-7OdAby6v.js";
|
|
2
2
|
export { _sfc_main as ComplexSelector, ComplexSelector_default as default };
|
|
@@ -12,7 +12,7 @@ import { t as _sfc_main$4 } from "./Field-CZndbiqR.js";
|
|
|
12
12
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
13
13
|
import { n as fieldStatusPlacement, r as _sfc_main$5, t as normalizeTriggerVariant } from "./triggerVariant-DPuBmzpp.js";
|
|
14
14
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
15
|
-
import { t as _sfc_main$6 } from "./Popover-
|
|
15
|
+
import { t as _sfc_main$6 } from "./Popover-DlCqmkYD.js";
|
|
16
16
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, openBlock, ref, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
17
17
|
import "../styles/visually-hidden-utility.css";
|
|
18
18
|
import "../styles/complex-selector.css";
|
|
@@ -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-
|
|
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-C0smuLQ8.js";
|
|
2
2
|
import { n as _default$5, r as _default$1, t as _default$6 } from "../DropdownMenuRadioItem.vue-BDDI4EZK.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 { a as _sfc_main$6, m as useContextMenuSize, o as _sfc_main$5, p as useContextMenu, s as _sfc_main$1 } from "../accessibleName-
|
|
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 { a as _sfc_main$6, m as useContextMenuSize, o as _sfc_main$5, p as useContextMenu, s as _sfc_main$1 } from "../accessibleName-CHrrgpAy.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-BIJyyObZ.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 };
|
|
@@ -4,15 +4,15 @@ import { n as usePositionedLayer, t as useDismiss } from "./useDismiss-CegXF2Zo.
|
|
|
4
4
|
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
5
5
|
import { t as _sfc_main$7 } from "./LayerContentBoundary-D67fobWl.js";
|
|
6
6
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
7
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
7
|
+
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
|
-
import { c as resetMenuPress, l as useLongPress, n as useMenuPress } from "./useMenuPress-
|
|
9
|
+
import { c as resetMenuPress, l as useLongPress, n as useMenuPress } from "./useMenuPress-kjmot8Bn.js";
|
|
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 _sfc_main$10, d as contextMenuContextKey, f as submenuAncestorOpenKey, i as useDropdownMenuMessages, m as useContextMenuSize, n as useMenuDrillIn, o as _sfc_main$9, p as useContextMenu, r as useSubmenuMode, s as _sfc_main$8, t as readAccessibleName } from "./accessibleName-
|
|
13
|
+
import { a as _sfc_main$10, d as contextMenuContextKey, f as submenuAncestorOpenKey, i as useDropdownMenuMessages, m as useContextMenuSize, n as useMenuDrillIn, o as _sfc_main$9, p as useContextMenu, r as useSubmenuMode, s as _sfc_main$8, t as readAccessibleName } from "./accessibleName-CHrrgpAy.js";
|
|
14
14
|
import { t as useHeldPresentation } from "./useHeldPresentation-CaIKTwUh.js";
|
|
15
|
-
import { t as LazyBottomSheet } from "./lazyBottomSheet-
|
|
15
|
+
import { t as LazyBottomSheet } from "./lazyBottomSheet-zUe1mYmM.js";
|
|
16
16
|
import { t as _sfc_main$11 } from "./Divider-mOZ6vIQw.js";
|
|
17
17
|
import { t as createHideTimer } from "./hoverIntent-DMHGb85c.js";
|
|
18
18
|
import { t as _sfc_main$12 } from "./Spinner-D1adu3uH.js";
|
|
@@ -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-
|
|
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-C0smuLQ8.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 };
|
package/dist/DateInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateInput-BNKoPL3j.js";
|
|
2
2
|
export { _sfc_main as DateInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$4 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$4 } from "./BottomSheet-CYsGu9GP.js";
|
|
2
2
|
import { t as _sfc_main$5 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
4
4
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
@@ -27,7 +27,7 @@ import { i as isOutsideCalendarBounds, n as resolveCalendarKey, r as isCalendarD
|
|
|
27
27
|
import { a as useAriaRequired, o as useEntryErrorBehavior } from "./context-CrVCeUUK.js";
|
|
28
28
|
import { t as _sfc_main$11 } from "./Field-CZndbiqR.js";
|
|
29
29
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
30
|
-
import { t as _sfc_main$12 } from "./Popover-
|
|
30
|
+
import { t as _sfc_main$12 } from "./Popover-DlCqmkYD.js";
|
|
31
31
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
32
32
|
import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
|
|
33
33
|
import { n as calendarPickerPresentation, u as parseDateInput } from "./inputPresentation-DES0JwkL.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as _default, eo as DateRange, no as DateRangeInputProps, ro as DateRangePreset, to as DateRangeInputEmits } from "../index-
|
|
1
|
+
import { $a as _default, eo as DateRange, no as DateRangeInputProps, ro as DateRangePreset, to as DateRangeInputEmits } from "../index-C0smuLQ8.js";
|
|
2
2
|
export { type DateRange, _default as DateRangeInput, type DateRangeInputEmits, type DateRangeInputProps, type DateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateRangeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateRangeInput-CGDlPnUb.js";
|
|
2
2
|
export { _sfc_main as DateRangeInput };
|
|
@@ -23,7 +23,7 @@ import { t as buildMonthWeeks } from "./useCalendarGrid-0WvxbeFC.js";
|
|
|
23
23
|
import { a as useAriaRequired } from "./context-CrVCeUUK.js";
|
|
24
24
|
import { t as _sfc_main$8 } from "./Field-CZndbiqR.js";
|
|
25
25
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
26
|
-
import { t as _sfc_main$9 } from "./Popover-
|
|
26
|
+
import { t as _sfc_main$9 } from "./Popover-DlCqmkYD.js";
|
|
27
27
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
28
28
|
import { t as dateRangeInputMessages } from "./date-range-input-WnkVv8HN.js";
|
|
29
29
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, inject, mergeModels, mergeProps, normalizeClass, normalizeStyle, onMounted, openBlock, renderList, shallowRef, ssrContextKey, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, withCtx } from "vue";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Qa as DateTimeInputSize, Xa as DateTimeInputEmits, Ya as _default, Za as DateTimeInputProps } from "../index-
|
|
1
|
+
import { Qa as DateTimeInputSize, Xa as DateTimeInputEmits, Ya as _default, Za as DateTimeInputProps } from "../index-C0smuLQ8.js";
|
|
2
2
|
export { _default as DateTimeInput, type DateTimeInputEmits, type DateTimeInputProps, type DateTimeInputSize };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../DateTimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../DateTimeInput-CRWUAh75.js";
|
|
2
2
|
export { _sfc_main as DateTimeInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$2 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$2 } from "./BottomSheet-CYsGu9GP.js";
|
|
2
2
|
import { t as _sfc_main$3 } from "./Icon-Dk0jccgU.js";
|
|
3
3
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
4
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
@@ -14,10 +14,10 @@ import { t as _sfc_main$6 } from "./Spinner-D1adu3uH.js";
|
|
|
14
14
|
import { t as _sfc_main$7 } from "./Field-CZndbiqR.js";
|
|
15
15
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
16
16
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
17
|
-
import { i as formatCommittedDate, n as useCalendarPresentation, r as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-
|
|
17
|
+
import { i as formatCommittedDate, n as useCalendarPresentation, r as _sfc_main$8, t as _sfc_main$9 } from "./DateInput-BNKoPL3j.js";
|
|
18
18
|
import { c as resolvePickerPresentation } from "./inputPresentation-DES0JwkL.js";
|
|
19
19
|
import { n as dateTimeInputMessages } from "./time-input-CKOsh84E.js";
|
|
20
|
-
import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-
|
|
20
|
+
import { n as _sfc_main$10, t as _sfc_main$11 } from "./TimeField-BXQCZIwP.js";
|
|
21
21
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, watch, withCtx } from "vue";
|
|
22
22
|
import "../styles/date-time-input.css";
|
|
23
23
|
//#region src/DateTimeInput/TouchDateTimeField.vue
|
package/dist/Dialog/index.d.ts
CHANGED
|
@@ -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-
|
|
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-BQ3cm7mP.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 };
|