@astryx-vue/core 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-DnylRSpj.js → AlertDialog-DxrO48Kg.js} +7 -7
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-lv3WDlCi.js → AppShell-Y-rwHGxA.js} +2 -2
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BY-EWaJM.js → Avatar-z50mYJor.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BSsARmYE.js → AvatarGroup-BZ5iG7M-.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CqIYLEcx.js → Banner-0YtnbBU6.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-D37eNqz5.js → BottomSheet-B8frtWqm.js} +1387 -200
- package/dist/BottomSheet-u57AJshc.js +527 -0
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-BEzCPnoe.js → Breadcrumbs-9KMHiyXr.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DGIfLwqj.js → Button-ClyetTf6.js} +4 -4
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-CaQ7bir4.js → ButtonGroup-tk0H2O8q.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DmeW51vC.js → Carousel-utfvjW5p.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-whrqE8Zj.js → Chat-DL583Xle.js} +6 -6
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-CHO4Jz0m.js → CheckboxInput-BQH87pfn.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-C4dmrC_w.js → CheckboxListItem-CZ1B81gI.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-DYcn-IFI.js → ClickableCard-CdByvXDr.js} +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-D80SHrJx.js → Code-KvqZ1ZES.js} +1 -1
- package/dist/{CodeBlock-vhMVY90M.js → CodeBlock-e2rlXQWO.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-CaKmR3yE.js → Collapsible-CTc7irlw.js} +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-C-iXk7EB.js → CommandPalette-PBYSDIpx.js} +3 -3
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-BsdtBmd0.js → ComplexSelector-CPg5jcdL.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-GZkN9lf1.js → ContextMenu-DcZEviKv.js} +5 -5
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-Cb6eLrbU.js → DateInput-C4qtEFDW.js} +5 -5
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BUFeQYJ6.js → DateRangeInput-CGqCQAlT.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-r-MOwLs4.js → DateTimeInput-CAirxttc.js} +5 -5
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BP2KWnEi.js → Dialog-B2-5xYs2.js} +2 -2
- package/dist/{Dialog-BUl1lqE6.js → Dialog-CjN3cV-b.js} +2 -2
- package/dist/{DialogHeader-CPhEYbZ1.js → DialogHeader-BS8mjD8z.js} +2 -2
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-C0ntt2L9.js → Drawer-Cq1Y_1iJ.js} +4 -4
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-CSWLdtI4.js → DropdownMenu-CSn1OQ2D.js} +7 -7
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BUmLBchw.js → EmptyState-uHOykbeo.js} +2 -2
- package/dist/Field/index.js +3 -3
- package/dist/{Field-BYAHZ4s7.js → Field-BzGwGqwa.js} +1 -1
- package/dist/{FieldInfoTip-6IHEEEJL.js → FieldInfoTip-DqsdZxo0.js} +1 -1
- package/dist/{FieldLabel-CHaeZROf.js → FieldLabel-DdMLaCP_.js} +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DD3DvIT0.js → FileInput-B_BXknEU.js} +3 -3
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-SdObK_xM.js → Heading-BFJhZInd.js} +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-B7hrl0Qz.js → HoverCard-Cbxy2KEM.js} +4 -4
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CzU-cz_H.js → IconButton-kj1M_L7a.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-Ckhg715K.js → InfoTip-DJIb8b29.js} +2 -2
- package/dist/{InputClearButton-Btjd5Lnk.js → InputClearButton-wd0VoZja.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-C388xPHC.js → InputGroup-DGiF9Xaz.js} +1 -1
- package/dist/{Item-DrV3f4fe.js → Item-DC1v56yE.js} +1 -1
- package/dist/{LayerContentBoundary-iYtfCpG9.js → LayerContentBoundary-tgsCvoNX.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DTSKNAzq.js → Layout-C7oS06UY.js} +1 -1
- package/dist/{LayoutPanel-CH4HZGLR.js → LayoutPanel-BwvUhSM5.js} +1 -1
- package/dist/Lightbox/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/Lightbox-Fu6RCX0k.js +2353 -0
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-BsmxrY3Y.js → Link-zPVCNAM6.js} +2 -2
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-BEc2EF1u.js → ListItem-CrFLvZ6o.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BkL2wt7F.js → Markdown-BiXz75mz.js} +3 -3
- package/dist/MetadataList/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-CiY__Fy9.js → MobileNavToggle-VB6SzHYo.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-pvuN9vfu.js → MoreMenu-RbFK2t0J.js} +6 -6
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-sD97taHQ.js → MultiSelector-CaL3UDIc.js} +5 -5
- package/dist/{NavDisclosure-l2h8R_ub.js → NavDisclosure-tEaEwaA0.js} +1 -1
- package/dist/{NavHeadingSurface-C3QJ64vm.js → NavHeadingSurface-CwSYyXFb.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BbnusKbo.js → NavItem-D_1ecPv_.js} +1 -1
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BRWghdCF.js → NavMenu-CqhjkZuz.js} +2 -2
- package/dist/{NavMenuItem-BtYmdZGe.js → NavMenuItem-DqBCA1VP.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-B3Y_NOui.js → NumberInput-0lTA5weY.js} +4 -4
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-DGntLLCe.js → Outline-BoxN40Bd.js} +2 -2
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-DJBaY3B_.js → OverflowList-7oui4oT5.js} +2 -2
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-BJKFuELz.js → Pagination-BrkX0lga.js} +2 -2
- package/dist/{PanGestureRecognizer-K-I6ORwh.js → PanGestureRecognizer-BFSO5U4N.js} +3 -3
- package/dist/{PickerWheel-J5F_ecWb.js → PickerWheel-CWT7l-9Q.js} +16 -14
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CVZnqsUy.js → Popover-BZ4VWDtv.js} +6 -6
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BHTHVINR.js → PowerSearch-BEDWm7aj.js} +26 -26
- package/dist/{PressTracker-Byalgid0.js → PressTracker-DDRxFc0Y.js} +2 -2
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-DJ79DNQq.js → ProgressBar-D4br-4_x.js} +2 -2
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-CvMj98z_.js → RadioGroup-CrRm7H51.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-CptY2wdB.js → RadioListItem-iPD3y2Eo.js} +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-ruXeaXUT.js → ResizeHandle-C7xEokaQ.js} +2 -2
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DMxIY7uq.js → SegmentedControl-D8A_jaFC.js} +7 -7
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-BSgi3FJf.js → SelectableCard-DIruuGBa.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-DhKtSP71.js → Selector-CFdM10Uc.js} +3 -3
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-DOXNxEIp.js → SideNav-Cl1H-baW.js} +7 -7
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-D5GYcH4S.js → Slider-Bd3wpFo7.js} +11 -10
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-DOf6Q4MC.js → StatusDot-arRs8rKk.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-0ycdCwND.js → Stepper-CZU_Zvi5.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-DDHf_9iJ.js → Switch-BpkKyz98.js} +10 -10
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-BnLUktgm.js → TabList-DZ2i0QIt.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-B49mlc0R.js → Table-kq_-RxXg.js} +10 -10
- package/dist/{haptics-By_893U8.js → TapGestureRecognizer-DCiP88h8.js} +4 -21
- package/dist/Text/index.js +1 -1
- package/dist/{Text-CILdp7jE.js → Text-DHm9r3Yh.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BSB5WIpK.js → TextArea-D5aDDlgr.js} +5 -5
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-Ck-6Mtbt.js → TextInput-CVRWRtoL.js} +5 -5
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-Tg50Msul.js → Thumbnail-zFN5p6dk.js} +3 -3
- package/dist/{TimeField-CLD_j1tX.js → TimeField-B49DgkyR.js} +4 -4
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-DuijuQMd.js → TimeInput-BoFij92p.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-DOoFQEBD.js → Timer-zNCSMU7S.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-D8fyTuhk.js → Timestamp-DunFvQYG.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-51l_F_YA.js → Toast-BnIq3gzw.js} +5 -7
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-_fEU63Nz.js → ToggleButton-CLgj6yLQ.js} +3 -3
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Di7w9Cvr.js → Token-BPjnWrHl.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-wWybLovw.js → Tokenizer-CMv-Bi0y.js} +258 -176
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-DPiEYfao.js → Tooltip-BuPbbGtv.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-GvK-XIRl.js → TopNav-DUkn4CMv.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CfELZwbQ.js → TreeList-o5MrA7rz.js} +1 -1
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-DtNM4311.js → Typeahead-DXlsxjkQ.js} +5 -5
- package/dist/{VelocityTracker-CWqXCLNe.js → VelocityTracker-D5wT6A0d.js} +1 -1
- package/dist/{accessibleName-CYV4uRm9.js → accessibleName-9UI6HUaA.js} +1 -1
- package/dist/{animator-i7djdtNK.js → animator-D6Buqmbt.js} +1 -1
- package/dist/{boxHold-ig0sUg95.js → boxHold-DfsWCZLh.js} +1 -1
- package/dist/composables/index.js +8 -8
- package/dist/{composables-D5840uKi.js → composables-Dzpv7G2Z.js} +13 -409
- package/dist/{decay-DGF4-sPB.js → decay-CUtQFEXK.js} +6 -2
- package/dist/{geometry-BBqUriul.js → geometry-ae8bOxQ5.js} +1 -1
- package/dist/{gestures-CP1MX1rx.js → gestures-D_ih8YYG.js} +1 -1
- package/dist/haptics-BPQp81pc.js +19 -0
- package/dist/{index-J83fLEyo.d.ts → index-B7-c8UTz.d.ts} +3 -3
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BuubzuE8.d.ts → index-BDZCJ9ri.d.ts} +2 -2
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-CEdoNcHF.d.ts → index-BfOs5BQj.d.ts} +2 -2
- package/dist/{index-CCpcerMA.d.ts → index-BhGIK1Hz.d.ts} +4 -1
- package/dist/{index-DXGoFpRN.d.ts → index-BylgDU_m.d.ts} +3 -3
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-Bk2SsmEu.d.ts → index-DCH2D3wa.d.ts} +8 -8
- package/dist/{index-EyFu5eSZ.d.ts → index-DQ5vPsr8.d.ts} +9 -9
- package/dist/{index--kbwaSXW.d.ts → index-DXHmlFcC.d.ts} +3 -3
- package/dist/{index-ZXDolNI1.d.ts → index-DrbxKOhR.d.ts} +55 -55
- package/dist/{index-utZGF4GR.d.ts → index-NOXYEdOI.d.ts} +1 -1
- package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
- package/dist/{index-Ak1b0V24.d.ts → index-a6o69uPN.d.ts} +1 -1
- package/dist/{index-DVX2jlTQ.d.ts → index-m-fFGq2e.d.ts} +6 -3
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/index.d.ts +21 -21
- package/dist/index.js +99 -99
- package/dist/{layerDepth-C4altnV8.js → layerDepth-D576XVps.js} +1 -1
- package/dist/{lazyBottomSheet-DUPKYGf1.js → lazyBottomSheet-gQtGKE8w.js} +1 -1
- package/dist/{modalOutlet-BwR9AAlm.js → modalOutlet-C2nqIYUt.js} +7 -6
- package/dist/{position-CkZfFubr.js → position-DD8UQJ2A.js} +1 -1
- package/dist/{pressGesture-ZTBGwYpT.js → pressGesture-CwmZDuSC.js} +1 -1
- package/dist/{pressSlot-zlwhNl9N.js → pressSlot-5Bp-B175.js} +1 -1
- package/dist/{projection-DzrWyxL1.js → projection-Ccz44WX4.js} +1 -1
- package/dist/{reducedMotion-BHRhHfWB.js → reducedMotion-BcstlXZU.js} +1 -1
- package/dist/{resizableChannel-b7iQNnCj.js → resizableChannel-CABtOiJL.js} +1 -1
- package/dist/{resolveMotion-BCM4CX-R.js → resolveMotion-BHR1cz0Q.js} +1 -1
- package/dist/{resolveSnapPoint-D1yU-Z-K.js → resolveSnapPoint-C7GZY6jT.js} +1 -1
- package/dist/{rideKeyboard-BKGLLMuU.js → rideKeyboard-BldiTgxS.js} +2 -2
- package/dist/{rubberBand-C-2erWWl.js → rubberBand-Ct9HFML5.js} +1 -1
- package/dist/snapPagingCatcher-RkUaZdWD.js +407 -0
- package/dist/{stillPointerGate-DXFzBeMy.js → stillPointerGate-CCFCP1uz.js} +1 -1
- package/dist/{tooltipFocusRules-R21SPfWy.js → tooltipFocusRules-CfJwTrhE.js} +2 -2
- package/dist/{tooltipTriggerRules-CoGD2lVn.js → tooltipTriggerRules-DRhcB-wA.js} +1 -1
- package/dist/{useActionGroupTracking-DB5xIxPW.js → useActionGroupTracking-Cujjrmt3.js} +3 -3
- package/dist/{useDismiss-yu_sIa7a.js → useDismiss-Dq7HNw2m.js} +1 -1
- package/dist/{useGestureRecognizer-BKzTWKYx.js → useGestureRecognizer-CtfxP4uw.js} +1 -1
- package/dist/{useInputStatusIcon-DJfhmCiH.js → useInputStatusIcon-2sRn-Nbf.js} +1 -1
- package/dist/{useMenuPress-DrrOBqjM.js → useMenuPress-B2Zt5xc5.js} +1 -1
- package/dist/{useMobileKeyboard-Cibxl8ZC.js → useMobileKeyboard-CN6o0BrJ.js} +2 -2
- package/dist/{usePressFeedback-BEY9kk8T.js → usePressFeedback-Ber7MRiI.js} +3 -3
- package/dist/{useResizable-CJQAV_tU.js → useResizable-Dme0X_ZM.js} +5 -5
- package/dist/{useTooltip-B2RrDbtI.js → useTooltip-Dg2459oV.js} +4 -4
- package/dist/{useTouchHitArea-DvKV21NY.js → useTouchHitArea-B6g7fhfF.js} +226 -44
- package/dist/{useTouchTriggerInternal-Obcx-oKN.js → useTouchTriggerInternal-DZ_e8l4G.js} +1 -1
- package/dist/{useTruncationTooltip-RUl8qSGz.js → useTruncationTooltip-CCVsMc8c.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-0glQWHQd.js → useTypeaheadMenuConfig-CKEuRCOZ.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +61 -19
- package/styles/date-input.css +76 -0
- package/styles/lightbox.css +117 -33
- package/styles/tokenizer.css +88 -0
- package/dist/BottomSheet-6W3izQzr.js +0 -203
- package/dist/Lightbox-CQhmsbhy.js +0 -545
- package/dist/{index-5FGt4HsB.d.ts → index-BqhgeAT4.d.ts} +1 -1
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
import { _ as writeScrimOpacity, a as isClosingTogether, b as focusSheetPanel, c as reportClosedTogether, d as bottomSheetSwitcherKey, f as cancelScrimWrite, g as returnFocusTo, h as presentWithClearScrim, i as getBottomSheetBeneath, l as setBottomSheetOpen, m as presentStepModally, o as notifyBottomSheetHostChanged, p as closeDialogKeepingFocus, r as useSheetLayerDismiss, s as registerBottomSheet, u as useModalOutletWhile, v as BOTTOM_SHEET_STACK_DEFAULT_VIEW, y as bottomSheetHostKey } from "./BottomSheet-B8frtWqm.js";
|
|
2
|
+
import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
3
|
+
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
4
|
+
import { n as restoreLayerFocus, r as trackLayerFocus, t as isLayerFocusStranded } from "./layerFocusReturn-uixUCSc8.js";
|
|
5
|
+
import { computed, createElementBlock, defineComponent, getCurrentInstance, inject, mergeModels, normalizeClass, onBeforeUnmount, onMounted, openBlock, provide, ref, renderSlot, shallowRef, useAttrs, useModel, useTemplateRef, watch } from "vue";
|
|
6
|
+
import "../styles/bottom-sheet.css";
|
|
7
|
+
//#region src/BottomSheet/switcher/useSwitcherStack.ts
|
|
8
|
+
/**
|
|
9
|
+
* 不带过渡地把流程那层遮罩交给 `dialog`。遮罩的透明度过渡会从进场对话框呈现时的透明值慢慢升起,
|
|
10
|
+
* 正好在上一个对话框的遮罩消失时让页面变亮一下。哪怕很短的时长也会先画一帧起始值,所以先关掉过渡、
|
|
11
|
+
* 刷一次样式让新值在这条规则下生效,再把时长还给之后的拖动和退场。
|
|
12
|
+
*/
|
|
13
|
+
function takeOverScrim(dialog, opacity) {
|
|
14
|
+
dialog.style.setProperty("--_sheet-scrim-duration", "0s");
|
|
15
|
+
dialog.style.setProperty("--_sheet-scrim-opacity", String(opacity));
|
|
16
|
+
if (typeof getComputedStyle === "function") getComputedStyle(dialog, "::backdrop").opacity;
|
|
17
|
+
dialog.style.removeProperty("--_sheet-scrim-duration");
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 带遮罩的整段流程在底部面板叠放里算一层:步骤自己呈现对话框,登记表只在要恢复打开顺序时重新呈现
|
|
21
|
+
* 这一层的宿主对话框。这里还管流程唯一的那层遮罩、流程的打开者,以及流程结束时焦点去哪。
|
|
22
|
+
*/
|
|
23
|
+
function useSwitcherStack(options) {
|
|
24
|
+
const key = {};
|
|
25
|
+
const view = shallowRef(BOTTOM_SHEET_STACK_DEFAULT_VIEW);
|
|
26
|
+
const scrimWrite = { frame: null };
|
|
27
|
+
let leaveStack = null;
|
|
28
|
+
let registeredScrim = false;
|
|
29
|
+
let notifiedHost = null;
|
|
30
|
+
let leftStack = null;
|
|
31
|
+
let trigger = null;
|
|
32
|
+
let focusRecord = null;
|
|
33
|
+
let isModalFlow = false;
|
|
34
|
+
let hadFocusAtClose = false;
|
|
35
|
+
let isFocusReturnPending = false;
|
|
36
|
+
let scrimOpacity = 1;
|
|
37
|
+
let scrimOwner = null;
|
|
38
|
+
let presentationCounter = 0;
|
|
39
|
+
const presentationOrder = /* @__PURE__ */ new Map();
|
|
40
|
+
const hostDialog = () => options.hostId.value == null ? null : options.dialogOf(options.hostId.value);
|
|
41
|
+
const ownsStackScrim = (stackView) => !stackView.isStacked || stackView.ownsScrim;
|
|
42
|
+
/** 焦点在流程里:在流程的外层或任何一步的对话框里。 */
|
|
43
|
+
function holdsFocus(active) {
|
|
44
|
+
if (active == null) return false;
|
|
45
|
+
if (options.getFlow()?.contains(active)) return true;
|
|
46
|
+
for (const id of options.stepIds()) if (options.dialogOf(id)?.contains(active)) return true;
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
function beforePresent(id) {
|
|
50
|
+
if (trigger == null && typeof document !== "undefined") {
|
|
51
|
+
trigger = document.activeElement;
|
|
52
|
+
focusRecord?.stop();
|
|
53
|
+
focusRecord = trackLayerFocus({
|
|
54
|
+
getLayer: options.getFlow,
|
|
55
|
+
opener: trigger
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
if (!options.hasScrim()) return;
|
|
59
|
+
isModalFlow = true;
|
|
60
|
+
presentationCounter += 1;
|
|
61
|
+
presentationOrder.set(id, presentationCounter);
|
|
62
|
+
}
|
|
63
|
+
function isCoveredInTopLayer(id) {
|
|
64
|
+
const own = presentationOrder.get(id);
|
|
65
|
+
if (own == null) return false;
|
|
66
|
+
for (const [other, stamp] of presentationOrder) if (other !== id && stamp > own && options.dialogOf(other)?.open) return true;
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
function forgetStep(id) {
|
|
70
|
+
presentationOrder.delete(id);
|
|
71
|
+
}
|
|
72
|
+
/** 一叠只有一层可见遮罩:只有遮罩主人的 `::backdrop` 带当前透明度,其它步骤的遮罩一直透明。 */
|
|
73
|
+
function applyScrim() {
|
|
74
|
+
const ownerId = options.scrimOwnerId.value;
|
|
75
|
+
const owner = ownerId == null ? null : options.dialogOf(ownerId);
|
|
76
|
+
const value = ownsStackScrim(view.value) ? scrimOpacity : 0;
|
|
77
|
+
const ownerChanged = scrimOwner != null && scrimOwner !== ownerId;
|
|
78
|
+
scrimOwner = ownerId;
|
|
79
|
+
for (const id of options.stepIds()) {
|
|
80
|
+
const dialog = options.dialogOf(id);
|
|
81
|
+
if (dialog == null) continue;
|
|
82
|
+
if (dialog === owner) {
|
|
83
|
+
if (ownerChanged && dialog.open) takeOverScrim(dialog, value);
|
|
84
|
+
else dialog.style.setProperty("--_sheet-scrim-opacity", String(value));
|
|
85
|
+
} else if (id !== ownerId) dialog.style.setProperty("--_sheet-scrim-opacity", "0");
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
/** 拖动当前那步时遮罩跟手变淡;交接后还在给上一步发的拖动事件不算。 */
|
|
89
|
+
function onScrimOpacity(id, opacity) {
|
|
90
|
+
if (id !== options.activeId.value) return;
|
|
91
|
+
scrimOpacity = opacity;
|
|
92
|
+
applyScrim();
|
|
93
|
+
}
|
|
94
|
+
function register() {
|
|
95
|
+
registeredScrim = options.hasScrim();
|
|
96
|
+
leaveStack = registerBottomSheet({
|
|
97
|
+
key,
|
|
98
|
+
getElement: hostDialog,
|
|
99
|
+
getTreeAnchor: options.getFlow,
|
|
100
|
+
show: () => {
|
|
101
|
+
const dialog = hostDialog();
|
|
102
|
+
const id = options.hostId.value;
|
|
103
|
+
if (dialog == null || id == null || dialog.open) return;
|
|
104
|
+
beforePresent(id);
|
|
105
|
+
if (id === scrimOwner && ownsStackScrim(view.value)) {
|
|
106
|
+
dialog.style.setProperty("--_sheet-scrim-opacity", String(scrimOpacity));
|
|
107
|
+
presentStepModally(dialog);
|
|
108
|
+
} else presentWithClearScrim(dialog);
|
|
109
|
+
notifiedHost = dialog;
|
|
110
|
+
},
|
|
111
|
+
hide: () => closeDialogKeepingFocus(hostDialog()),
|
|
112
|
+
getReturnTarget: () => trigger,
|
|
113
|
+
focus: (reason) => {
|
|
114
|
+
const active = options.activeId.value;
|
|
115
|
+
focusSheetPanel(active == null ? null : options.panelOf(active), reason, true);
|
|
116
|
+
},
|
|
117
|
+
onView: (next) => {
|
|
118
|
+
const previous = view.value;
|
|
119
|
+
view.value = next;
|
|
120
|
+
const owner = scrimOwner == null ? null : options.dialogOf(scrimOwner);
|
|
121
|
+
if (owner == null) return;
|
|
122
|
+
const ownsNow = ownsStackScrim(next);
|
|
123
|
+
if (options.isFlowOpen.value && ownsNow !== ownsStackScrim(previous)) writeScrimOpacity(owner, ownsNow && scrimOpacity > 0 ? "1" : "0", scrimWrite);
|
|
124
|
+
else if (!options.isFlowOpen.value && next.isScrimTakenOver) writeScrimOpacity(owner, "0", scrimWrite);
|
|
125
|
+
}
|
|
126
|
+
}, options.isFlowOpen.value, true);
|
|
127
|
+
}
|
|
128
|
+
function leave() {
|
|
129
|
+
const stop = leaveStack;
|
|
130
|
+
if (stop == null) return;
|
|
131
|
+
leftStack = {
|
|
132
|
+
depth: view.value.depth,
|
|
133
|
+
revealed: getBottomSheetBeneath(key),
|
|
134
|
+
closingTogether: isClosingTogether(key)
|
|
135
|
+
};
|
|
136
|
+
leaveStack = null;
|
|
137
|
+
notifiedHost = null;
|
|
138
|
+
stop();
|
|
139
|
+
view.value = BOTTOM_SHEET_STACK_DEFAULT_VIEW;
|
|
140
|
+
}
|
|
141
|
+
function syncStack() {
|
|
142
|
+
const shouldRegister = options.isFlowVisible.value && options.hasScrim();
|
|
143
|
+
if (leaveStack != null && (!shouldRegister || registeredScrim !== options.hasScrim())) leave();
|
|
144
|
+
if (!shouldRegister) return;
|
|
145
|
+
if (leaveStack == null) register();
|
|
146
|
+
else setBottomSheetOpen(key, options.isFlowOpen.value);
|
|
147
|
+
}
|
|
148
|
+
/** 这一层换了实现它的对话框(交接到了自带对话框的下一步):呈现之后让登记表把该在它上面的面板放回上面。 */
|
|
149
|
+
function syncHostDialog() {
|
|
150
|
+
const dialog = hostDialog();
|
|
151
|
+
if (leaveStack == null || dialog == null || !dialog.open || dialog === notifiedHost) return;
|
|
152
|
+
notifiedHost = dialog;
|
|
153
|
+
notifyBottomSheetHostChanged(key);
|
|
154
|
+
}
|
|
155
|
+
function returnFocus() {
|
|
156
|
+
const left = leftStack;
|
|
157
|
+
leftStack = null;
|
|
158
|
+
if (isModalFlow) {
|
|
159
|
+
if ((left?.depth ?? view.value.depth) > 0) {} else if (left?.closingTogether) reportClosedTogether(key);
|
|
160
|
+
else {
|
|
161
|
+
const revealed = left?.revealed ?? getBottomSheetBeneath(key);
|
|
162
|
+
if (revealed != null && (trigger == null || !revealed.element.contains(trigger))) revealed.focus();
|
|
163
|
+
else returnFocusTo(trigger);
|
|
164
|
+
}
|
|
165
|
+
} else if (!options.hasScrim()) {
|
|
166
|
+
const active = document.activeElement;
|
|
167
|
+
const isFocusLeftInFlow = active == null || active === document.body || holdsFocus(active);
|
|
168
|
+
if (hadFocusAtClose && isFocusLeftInFlow) returnFocusTo(trigger);
|
|
169
|
+
}
|
|
170
|
+
hadFocusAtClose = false;
|
|
171
|
+
trigger = null;
|
|
172
|
+
focusRecord?.stop();
|
|
173
|
+
focusRecord = null;
|
|
174
|
+
isModalFlow = false;
|
|
175
|
+
presentationOrder.clear();
|
|
176
|
+
}
|
|
177
|
+
/** 流程不再可见、而且每一步的对话框都关了,才还焦点:开着的模态对话框会挡住页面上的打开者。 */
|
|
178
|
+
function tryReturnFocus() {
|
|
179
|
+
if (!isFocusReturnPending) return;
|
|
180
|
+
for (const id of options.stepIds()) if (options.dialogOf(id)?.open) return;
|
|
181
|
+
isFocusReturnPending = false;
|
|
182
|
+
returnFocus();
|
|
183
|
+
}
|
|
184
|
+
function afterStepSync() {
|
|
185
|
+
syncHostDialog();
|
|
186
|
+
tryReturnFocus();
|
|
187
|
+
}
|
|
188
|
+
watch(options.isFlowOpen, (open, wasOpen) => {
|
|
189
|
+
if (wasOpen && !open && typeof document !== "undefined") hadFocusAtClose = holdsFocus(document.activeElement);
|
|
190
|
+
}, { flush: "post" });
|
|
191
|
+
watch([
|
|
192
|
+
options.scrimOwnerId,
|
|
193
|
+
() => ownsStackScrim(view.value),
|
|
194
|
+
options.activeId,
|
|
195
|
+
options.hasScrim,
|
|
196
|
+
options.isFlowVisible
|
|
197
|
+
], () => {
|
|
198
|
+
scrimOpacity = options.activeId.value == null ? 0 : 1;
|
|
199
|
+
applyScrim();
|
|
200
|
+
}, { flush: "post" });
|
|
201
|
+
watch([
|
|
202
|
+
options.isFlowVisible,
|
|
203
|
+
options.isFlowOpen,
|
|
204
|
+
options.hasScrim
|
|
205
|
+
], syncStack, { flush: "post" });
|
|
206
|
+
watch(options.hostId, syncHostDialog, { flush: "post" });
|
|
207
|
+
watch(options.isFlowVisible, (visible) => {
|
|
208
|
+
if (visible) {
|
|
209
|
+
isFocusReturnPending = false;
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
isFocusReturnPending = true;
|
|
213
|
+
tryReturnFocus();
|
|
214
|
+
}, { flush: "post" });
|
|
215
|
+
onBeforeUnmount(() => {
|
|
216
|
+
cancelScrimWrite(scrimWrite);
|
|
217
|
+
const record = focusRecord;
|
|
218
|
+
focusRecord = null;
|
|
219
|
+
const wasStranded = record != null && options.isFlowVisible.value && isLayerFocusStranded(record, options.getFlow());
|
|
220
|
+
leaveStack?.();
|
|
221
|
+
leaveStack = null;
|
|
222
|
+
if (record != null) queueMicrotask(() => {
|
|
223
|
+
if (wasStranded) restoreLayerFocus(record, {
|
|
224
|
+
layer: null,
|
|
225
|
+
name: "BottomSheetSwitcher"
|
|
226
|
+
});
|
|
227
|
+
record.stop();
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
return {
|
|
231
|
+
view,
|
|
232
|
+
beforePresent,
|
|
233
|
+
afterStepSync,
|
|
234
|
+
isCoveredInTopLayer,
|
|
235
|
+
forgetStep,
|
|
236
|
+
onScrimOpacity
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
//#endregion
|
|
240
|
+
//#region src/BottomSheet/switcher/useSwitcherTransition.ts
|
|
241
|
+
const IDLE = Object.freeze({
|
|
242
|
+
enteringId: null,
|
|
243
|
+
retainedId: null,
|
|
244
|
+
retainedPhase: null,
|
|
245
|
+
alignmentOffset: 0,
|
|
246
|
+
isAlignmentComplete: false
|
|
247
|
+
});
|
|
248
|
+
const ALIGNMENT_THRESHOLD_PX = 1;
|
|
249
|
+
function transitionForChange(previous, next) {
|
|
250
|
+
if (previous == null) return IDLE;
|
|
251
|
+
if (next == null) return {
|
|
252
|
+
...IDLE,
|
|
253
|
+
retainedId: previous,
|
|
254
|
+
retainedPhase: "exiting"
|
|
255
|
+
};
|
|
256
|
+
return {
|
|
257
|
+
...IDLE,
|
|
258
|
+
enteringId: next,
|
|
259
|
+
retainedId: previous,
|
|
260
|
+
retainedPhase: "covered"
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
/** 被留下的那步要往下移多少,才能和进场那步停下来的顶边对齐。进场那步的定位层不跟着进场位移走,它的顶边就是停的地方。 */
|
|
264
|
+
function alignmentOffsetFor(entering, retained) {
|
|
265
|
+
if (entering == null || retained == null) return 0;
|
|
266
|
+
const enteringTop = (entering.parentElement ?? entering).getBoundingClientRect().top;
|
|
267
|
+
return Math.max(0, enteringTop - retained.getBoundingClientRect().top);
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* 切换器的交接状态机:换到下一步时新的一步从下面升上来,比它高的上一步同时往下移到顶边对齐,
|
|
271
|
+
* 两边都走完后上一步淡出;整段流程关掉时最后那步滑出。
|
|
272
|
+
*/
|
|
273
|
+
function useSwitcherTransition(options) {
|
|
274
|
+
const transition = shallowRef(IDLE);
|
|
275
|
+
watch(options.activeId, (next, previous) => {
|
|
276
|
+
const change = transitionForChange(previous, next);
|
|
277
|
+
transition.value = change.retainedId != null && !options.hasStep(change.retainedId) ? IDLE : change;
|
|
278
|
+
}, { flush: "sync" });
|
|
279
|
+
const retainedId = computed(() => transition.value.retainedId);
|
|
280
|
+
function phaseOf(id) {
|
|
281
|
+
const current = transition.value;
|
|
282
|
+
if (id === options.activeId.value) return id === current.enteringId ? "entering" : "active";
|
|
283
|
+
if (id === current.retainedId) return current.retainedPhase ?? "hidden";
|
|
284
|
+
return "hidden";
|
|
285
|
+
}
|
|
286
|
+
function alignmentOffsetOf(id) {
|
|
287
|
+
return transition.value.retainedId === id ? transition.value.alignmentOffset : 0;
|
|
288
|
+
}
|
|
289
|
+
function onEnterStart(id) {
|
|
290
|
+
const current = transition.value;
|
|
291
|
+
if (current.enteringId !== id || current.retainedId == null || current.retainedPhase !== "covered") return;
|
|
292
|
+
const offset = alignmentOffsetFor(options.getPanel(id), options.getPanel(current.retainedId));
|
|
293
|
+
if (offset <= ALIGNMENT_THRESHOLD_PX) return;
|
|
294
|
+
transition.value = {
|
|
295
|
+
...current,
|
|
296
|
+
retainedPhase: "aligning",
|
|
297
|
+
alignmentOffset: offset,
|
|
298
|
+
isAlignmentComplete: false
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
function onComplete(id, motion) {
|
|
302
|
+
const current = transition.value;
|
|
303
|
+
if (motion === "entering") {
|
|
304
|
+
if (current.enteringId !== id) return;
|
|
305
|
+
if (current.retainedId == null) transition.value = IDLE;
|
|
306
|
+
else if (current.retainedPhase === "aligning" && !current.isAlignmentComplete) transition.value = {
|
|
307
|
+
...current,
|
|
308
|
+
enteringId: null
|
|
309
|
+
};
|
|
310
|
+
else transition.value = {
|
|
311
|
+
...current,
|
|
312
|
+
enteringId: null,
|
|
313
|
+
retainedPhase: "fading"
|
|
314
|
+
};
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
if (current.retainedId !== id) return;
|
|
318
|
+
if (motion === "aligning" && current.retainedPhase === "aligning") {
|
|
319
|
+
transition.value = current.enteringId == null ? {
|
|
320
|
+
...current,
|
|
321
|
+
retainedPhase: "fading"
|
|
322
|
+
} : {
|
|
323
|
+
...current,
|
|
324
|
+
isAlignmentComplete: true
|
|
325
|
+
};
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
if ((motion === "fading" || motion === "exiting") && current.retainedPhase === motion) transition.value = IDLE;
|
|
329
|
+
}
|
|
330
|
+
/** 被留下的那步卸载了:交接就此结束。 */
|
|
331
|
+
function dropStep(id) {
|
|
332
|
+
if (transition.value.retainedId === id) transition.value = IDLE;
|
|
333
|
+
}
|
|
334
|
+
return {
|
|
335
|
+
retainedId,
|
|
336
|
+
phaseOf,
|
|
337
|
+
alignmentOffsetOf,
|
|
338
|
+
onEnterStart,
|
|
339
|
+
onComplete,
|
|
340
|
+
dropStep
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
//#endregion
|
|
344
|
+
//#region src/BottomSheet/BottomSheetSwitcher.vue
|
|
345
|
+
/**
|
|
346
|
+
* 让一组 BottomSheet 同时最多只有一张是当前那步,每一步各有自己的原生 dialog。
|
|
347
|
+
* 换步时上一步原地留着、不能操作,新的一步从下面升上来,上一步比它高时同时往下移到顶边对齐,
|
|
348
|
+
* 两边都走完后上一步淡出。
|
|
349
|
+
*
|
|
350
|
+
* @deprecated Write each step as its own `BottomSheet` with `isOpen`, driven
|
|
351
|
+
* by one state value that names the open step; closing the top sheet and opening the
|
|
352
|
+
* next in the same update, from a control inside the open step, runs the same replace
|
|
353
|
+
* handoff (see BottomSheet, "Replacing a sheet"). Keeps working until a future minor
|
|
354
|
+
* release removes it.
|
|
355
|
+
*/
|
|
356
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
357
|
+
name: "AstryxBottomSheetSwitcher",
|
|
358
|
+
inheritAttrs: false,
|
|
359
|
+
__name: "BottomSheetSwitcher",
|
|
360
|
+
props: /*@__PURE__*/ mergeModels({
|
|
361
|
+
label: {},
|
|
362
|
+
purpose: {},
|
|
363
|
+
hasScrim: {
|
|
364
|
+
type: Boolean,
|
|
365
|
+
default: true
|
|
366
|
+
}
|
|
367
|
+
}, {
|
|
368
|
+
"activeSheet": { default: null },
|
|
369
|
+
"activeSheetModifiers": {}
|
|
370
|
+
}),
|
|
371
|
+
emits: /*@__PURE__*/ mergeModels(["cancel"], ["update:activeSheet"]),
|
|
372
|
+
setup(__props, { emit: __emit }) {
|
|
373
|
+
const props = __props;
|
|
374
|
+
const emit = __emit;
|
|
375
|
+
const activeSheet = useModel(__props, "activeSheet");
|
|
376
|
+
const attrs = useAttrs();
|
|
377
|
+
const host = inject(bottomSheetHostKey, null);
|
|
378
|
+
const flow = useTemplateRef("flow");
|
|
379
|
+
const isMounted = ref(false);
|
|
380
|
+
const activeId = computed(() => isMounted.value && (host?.isOpen.value ?? true) ? activeSheet.value : null);
|
|
381
|
+
const settledId = ref(getCurrentInstance()?.vnode.el != null ? activeSheet.value : null);
|
|
382
|
+
const steps = shallowRef(/* @__PURE__ */ new Map());
|
|
383
|
+
function hasStep(id) {
|
|
384
|
+
return id != null && steps.value.has(id);
|
|
385
|
+
}
|
|
386
|
+
const transition = useSwitcherTransition({
|
|
387
|
+
activeId,
|
|
388
|
+
hasStep,
|
|
389
|
+
getPanel: (id) => steps.value.get(id)?.getPanel() ?? null
|
|
390
|
+
});
|
|
391
|
+
const presentedActive = computed(() => hasStep(activeId.value) ? activeId.value : null);
|
|
392
|
+
const presentedRetained = computed(() => hasStep(transition.retainedId.value) ? transition.retainedId.value : null);
|
|
393
|
+
const isFlowVisible = computed(() => presentedActive.value != null || presentedRetained.value != null);
|
|
394
|
+
const isFlowOpen = computed(() => activeId.value != null);
|
|
395
|
+
const isFlowClosing = computed(() => isFlowVisible.value && activeId.value == null);
|
|
396
|
+
const lastHostId = ref(null);
|
|
397
|
+
const presentedHost = computed(() => presentedActive.value ?? presentedRetained.value);
|
|
398
|
+
watch(presentedHost, (id) => {
|
|
399
|
+
if (id != null) lastHostId.value = id;
|
|
400
|
+
}, { flush: "sync" });
|
|
401
|
+
const hostId = computed(() => presentedHost.value ?? (hasStep(lastHostId.value) ? lastHostId.value : steps.value.keys().next().value ?? null));
|
|
402
|
+
const scrimOwnerId = computed(() => presentedRetained.value ?? presentedActive.value);
|
|
403
|
+
const flowPurpose = computed(() => props.purpose ?? (activeId.value == null ? void 0 : steps.value.get(activeId.value)?.purpose()) ?? "info");
|
|
404
|
+
const dialogOf = (id) => steps.value.get(id)?.getDialog() ?? null;
|
|
405
|
+
const hostDialog = () => hostId.value == null ? null : dialogOf(hostId.value);
|
|
406
|
+
const stack = useSwitcherStack({
|
|
407
|
+
hasScrim: () => props.hasScrim,
|
|
408
|
+
activeId,
|
|
409
|
+
isFlowVisible,
|
|
410
|
+
isFlowOpen,
|
|
411
|
+
hostId,
|
|
412
|
+
scrimOwnerId,
|
|
413
|
+
dialogOf,
|
|
414
|
+
panelOf: (id) => steps.value.get(id)?.getPanel() ?? null,
|
|
415
|
+
stepIds: () => steps.value.keys(),
|
|
416
|
+
getFlow: () => flow.value ?? null
|
|
417
|
+
});
|
|
418
|
+
const stackView = stack.view;
|
|
419
|
+
useScrollLock(computed(() => props.hasScrim && isFlowVisible.value));
|
|
420
|
+
useModalOutletWhile(hostDialog, () => props.hasScrim && isFlowOpen.value && (stackView.value.isTop || !stackView.value.isStacked));
|
|
421
|
+
function requestCloseFlow() {
|
|
422
|
+
if (flowPurpose.value === "required") return;
|
|
423
|
+
activeSheet.value = null;
|
|
424
|
+
}
|
|
425
|
+
const layerEscape = computed(() => {
|
|
426
|
+
if (activeId.value == null || flowPurpose.value === "required") return "block";
|
|
427
|
+
if (!props.hasScrim) return "ignore";
|
|
428
|
+
return "close";
|
|
429
|
+
});
|
|
430
|
+
const layer = useSheetLayerDismiss({
|
|
431
|
+
isActive: isFlowVisible,
|
|
432
|
+
escape: layerEscape,
|
|
433
|
+
getContainer: hostDialog,
|
|
434
|
+
isPresent: () => (hostDialog()?.open ?? false) && !stackView.value.isCovered,
|
|
435
|
+
onDismiss: requestCloseFlow
|
|
436
|
+
});
|
|
437
|
+
function onKeydown(event) {
|
|
438
|
+
if (event.key !== "Escape" || !layer.isTop()) return;
|
|
439
|
+
event.preventDefault();
|
|
440
|
+
if (isImeKeyEvent(event)) return;
|
|
441
|
+
requestCloseFlow();
|
|
442
|
+
}
|
|
443
|
+
function onCancel(event) {
|
|
444
|
+
if (event.target !== event.currentTarget) return;
|
|
445
|
+
emit("cancel", event);
|
|
446
|
+
if (event.defaultPrevented) return;
|
|
447
|
+
event.preventDefault();
|
|
448
|
+
if (!layer.isTop()) return;
|
|
449
|
+
requestCloseFlow();
|
|
450
|
+
}
|
|
451
|
+
function onClick(event) {
|
|
452
|
+
if (event.target !== event.currentTarget || event.currentTarget !== hostDialog()) return;
|
|
453
|
+
if (props.hasScrim && flowPurpose.value === "info") activeSheet.value = null;
|
|
454
|
+
}
|
|
455
|
+
function onMotionStart(id, motion) {
|
|
456
|
+
if (motion === "entering") transition.onEnterStart(id);
|
|
457
|
+
}
|
|
458
|
+
function onMotionComplete(id, motion) {
|
|
459
|
+
transition.onComplete(id, motion);
|
|
460
|
+
}
|
|
461
|
+
/** id 和 data-testid 只放在宿主对话框上;其它 attrs 落到每一步的对话框上。 */
|
|
462
|
+
const hostAttrs = computed(() => ({
|
|
463
|
+
"id": attrs.id,
|
|
464
|
+
"data-testid": attrs["data-testid"]
|
|
465
|
+
}));
|
|
466
|
+
const stepAttrs = computed(() => {
|
|
467
|
+
const { "id": _id, "data-testid": _testId, ...rest } = attrs;
|
|
468
|
+
return {
|
|
469
|
+
...rest,
|
|
470
|
+
"aria-label": attrs["aria-label"] ?? props.label
|
|
471
|
+
};
|
|
472
|
+
});
|
|
473
|
+
const context = {
|
|
474
|
+
activeId,
|
|
475
|
+
hasScrim: () => props.hasScrim,
|
|
476
|
+
isFlowClosing,
|
|
477
|
+
stackView,
|
|
478
|
+
settledId,
|
|
479
|
+
phaseOf: transition.phaseOf,
|
|
480
|
+
alignmentOffsetOf: transition.alignmentOffsetOf,
|
|
481
|
+
isHost: (id) => hostId.value === id,
|
|
482
|
+
isScrimOwner: (id) => scrimOwnerId.value === id,
|
|
483
|
+
stepAttrs: () => stepAttrs.value,
|
|
484
|
+
hostAttrs: () => hostAttrs.value,
|
|
485
|
+
register: (id, step) => {
|
|
486
|
+
const next = new Map(steps.value);
|
|
487
|
+
next.set(id, step);
|
|
488
|
+
steps.value = next;
|
|
489
|
+
},
|
|
490
|
+
unregister: (id) => {
|
|
491
|
+
const next = new Map(steps.value);
|
|
492
|
+
next.delete(id);
|
|
493
|
+
steps.value = next;
|
|
494
|
+
transition.dropStep(id);
|
|
495
|
+
stack.forgetStep(id);
|
|
496
|
+
},
|
|
497
|
+
beforePresent: stack.beforePresent,
|
|
498
|
+
afterStepSync: stack.afterStepSync,
|
|
499
|
+
isCoveredInTopLayer: stack.isCoveredInTopLayer,
|
|
500
|
+
onMotionStart,
|
|
501
|
+
onMotionComplete,
|
|
502
|
+
onScrimOpacity: stack.onScrimOpacity,
|
|
503
|
+
requestClose: (id) => {
|
|
504
|
+
if (activeSheet.value === id) activeSheet.value = null;
|
|
505
|
+
},
|
|
506
|
+
onCancel,
|
|
507
|
+
onClick,
|
|
508
|
+
onKeydown
|
|
509
|
+
};
|
|
510
|
+
provide(bottomSheetSwitcherKey, context);
|
|
511
|
+
watch(activeSheet, (_id, previous) => {
|
|
512
|
+
if (previous != null) settledId.value = null;
|
|
513
|
+
});
|
|
514
|
+
onMounted(() => {
|
|
515
|
+
isMounted.value = true;
|
|
516
|
+
});
|
|
517
|
+
return (_ctx, _cache) => {
|
|
518
|
+
return openBlock(), createElementBlock("div", {
|
|
519
|
+
ref_key: "flow",
|
|
520
|
+
ref: flow,
|
|
521
|
+
class: normalizeClass(["astryx-bottom-sheet-switcher-flow", { "astryx-bottom-sheet-switcher-flow--non-modal": !__props.hasScrim && isFlowVisible.value }])
|
|
522
|
+
}, [renderSlot(_ctx.$slots, "default")], 2);
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
//#endregion
|
|
527
|
+
export { _sfc_main as t };
|
|
@@ -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-9UI6HUaA.js";
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$4 } from "../Breadcrumbs-9KMHiyXr.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-
|
|
6
|
+
import { t as _sfc_main$3 } from "./DropdownMenu-CSn1OQ2D.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-DXHmlFcC.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 };
|
package/dist/Button/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as hasSlotContent } from "./slotContent-CNWOrGOr.js";
|
|
2
|
-
import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-
|
|
3
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { a as pressGroupItemProps, n as useTouchHitArea } from "./useTouchHitArea-B6g7fhfF.js";
|
|
3
|
+
import { t as usePressFeedback } from "./usePressFeedback-Ber7MRiI.js";
|
|
4
4
|
import { n as readLayerScoped } from "./scopedProvide-C-Df7c15.js";
|
|
5
5
|
import { a as provideIconSize, t as _sfc_main$3 } from "./Icon-BUSj1-Th.js";
|
|
6
6
|
import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
|
|
@@ -8,8 +8,8 @@ import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
|
8
8
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
9
9
|
import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
10
10
|
import { r as useResolvedLayerTeleport } from "./useLayerMountTarget-zwZQglr2.js";
|
|
11
|
-
import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-
|
|
12
|
-
import { t as _sfc_main$4 } from "./LayerContentBoundary-
|
|
11
|
+
import { n as useLayer, t as matchesFocusVisible } from "./tooltipTriggerRules-DRhcB-wA.js";
|
|
12
|
+
import { t as _sfc_main$4 } from "./LayerContentBoundary-tgsCvoNX.js";
|
|
13
13
|
import { r as isKeyboardModality } from "./interactionModality-4Km2ibsq.js";
|
|
14
14
|
import { t as _sfc_main$5 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
15
15
|
import { t as _sfc_main$6 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
@@ -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-DrbxKOhR.js";
|
|
2
2
|
export { _default as ButtonGroup, _default as default, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-
|
|
1
|
+
import { n as _sfc_main, t as ButtonGroup_default } from "../ButtonGroup-tk0H2O8q.js";
|
|
2
2
|
export { _sfc_main as ButtonGroup, ButtonGroup_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-
|
|
2
|
-
import { t as useActionGroupTracking } from "./useActionGroupTracking-
|
|
1
|
+
import { n as useTouchHitArea, t as GROUP_HIT_AREA } from "./useTouchHitArea-B6g7fhfF.js";
|
|
2
|
+
import { t as useActionGroupTracking } from "./useActionGroupTracking-Cujjrmt3.js";
|
|
3
3
|
import { i as useSize, r as provideSize } from "./SizeContext-BbaF-SEx.js";
|
|
4
4
|
import { n as buttonHitAreaContextKey, t as buttonGroupContextKey } from "./context-Cgkyk-b7.js";
|
|
5
5
|
import { t as invokeNativeEventHandler } from "./eventHandlers-DUXzBWZy.js";
|
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-DrbxKOhR.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/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-DrbxKOhR.js";
|
|
2
2
|
export { _default as Carousel, type CarouselGap, type CarouselHandle, type CarouselProps, type CarouselSlots };
|
package/dist/Carousel/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../Carousel-
|
|
1
|
+
import { t as _sfc_main } from "../Carousel-utfvjW5p.js";
|
|
2
2
|
export { _sfc_main as Carousel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as _sfc_main$1 } from "./Icon-BUSj1-Th.js";
|
|
2
2
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
3
|
-
import { t as _sfc_main$2 } from "./IconButton-
|
|
3
|
+
import { t as _sfc_main$2 } from "./IconButton-kj1M_L7a.js";
|
|
4
4
|
import { a as moveSnapPaging, c as snapStops, i as moveHeldSnapPaging, n as isSnapPaging, o as nearestStop, t as attachSnapPaging } from "./snapPagingValue-B5hfph1H.js";
|
|
5
5
|
import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
|
|
6
6
|
import { Comment, Fragment, Text, computed, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, h, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, unref, watch, withCtx } from "vue";
|
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-DrbxKOhR.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-DL583Xle.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 };
|