@astryx-vue/core 0.23.0 → 0.25.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-DXOTr1D7.js → AlertDialog-Cub9_aPC.js} +6 -6
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-Cmu6bMY6.js → AppShell-D62A7lqZ.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-dMcn3j8Z.js → Avatar-BKoSK75s.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BUXjzekw.js → AvatarGroup-DT5RbxDa.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CTY9qV89.js → Banner-cg2nXT_4.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-ZOjuZya0.js → BottomSheet-CpLYy3vb.js} +1 -1
- package/dist/{BottomSheet-DyJJtZZU.js → BottomSheet-DGhRZLw4.js} +108 -8
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-mlCoLtma.js → Breadcrumbs-D-nHDHV8.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-TiYG0btL.js → Button-D8AGK5oT.js} +3 -3
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-DNN4O9_-.js → ButtonGroup-CUN_rC57.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-DsXup1mZ.js → Carousel-DrCG9wbP.js} +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DqYT_S9M.js → Chat-U1qq8gkF.js} +3 -3
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-BNwTTDHu.js → CheckboxInput-qm6lkjAw.js} +17 -7
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-BLY16jPG.js → CheckboxList-DuCKhJHJ.js} +22 -7
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-CVQ7XS4L.js → ClickableCard-CwGxO0GU.js} +2 -2
- package/dist/Code/index.js +1 -1
- package/dist/{CodeBlock-5KoJDvWd.js → CodeBlock-PMZd9dQ9.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-B1qW6OuL.js → Collapsible-BmUloCSR.js} +3 -3
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-B2riNg_7.js → CommandPalette-Cy7trpD3.js} +2 -2
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CVCIsgAU.js → ComplexSelector-DMBiVQWp.js} +3 -3
- package/dist/ContextMenu/index.d.ts +2 -2
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-DYLdP-Ok.js → ContextMenu-63ay7EE-.js} +13 -26
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-D9Jv70H7.js → DateInput-B3Q91FDT.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-BsB2kg_q.js → DateRangeInput-B6Z66OsH.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BDyKPKGD.js → DateTimeInput-B_7cn7ze.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-JCB5s-T-.js → Dialog-C4FZ7p7Q.js} +10 -0
- package/dist/{Dialog-DUlWQH8R.js → Dialog-CBPD5b-S.js} +1 -1
- package/dist/{DialogHeader-C6hZZxdv.js → DialogHeader-CQ3pnLYi.js} +2 -2
- 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-BDuiw1-g.js → Drawer-BOwQLKm9.js} +2 -2
- package/dist/DropdownMenu/index.d.ts +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-PjqSkkQs.js → DropdownMenu-9CR9TiKG.js} +5 -5
- package/dist/{DropdownMenu-BVEOMFwc.js → DropdownMenu-DwIfoTnV.js} +18 -18
- package/dist/{DropdownMenuRadioItem.vue-C9DdN6UE.d.ts → DropdownMenuRadioItem.vue-DINRx71W.d.ts} +1 -1
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-CnFkYtcS.js → EmptyState-BG5g2jwJ.js} +3 -3
- package/dist/Field/index.js +3 -3
- package/dist/{Field-D4UmRHlD.js → Field-eAowUUMX.js} +1 -1
- package/dist/{FieldInfoTip-BSqcEcUx.js → FieldInfoTip-Dwl9HNp1.js} +1 -1
- package/dist/{FieldLabel-CZbayYFD.js → FieldLabel-CgYk-ORu.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-8oYiJsq_.js → FileInput-B7zeePbM.js} +2 -2
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-COtyAhtB.js → Heading-B1dNZQtu.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-DGlOpk4x.js → HoverCard-CZhfsvP4.js} +2 -2
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-CwjHTIBg.js → IconButton-D9ZRJ7vD.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-CNZateDb.js → InfoTip-LJi9llxi.js} +2 -2
- package/dist/{InputClearButton-CzCP41sx.js → InputClearButton-C-j9Nf1s.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-CfUGHDNz.js → InputGroup-B8PGJZKH.js} +1 -1
- package/dist/{Item-CzKm9wxQ.js → Item-DUI1Qnnd.js} +2 -2
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Dzzd2Vqe.js → Lightbox-BOWTHnTb.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B7OJQ0zl.js → Link-B75ygGzG.js} +2 -2
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-Bc4snKv8.js → ListItem-C8SqSrU6.js} +4 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cbj-nqhN.js → Markdown-Cqrcj-ct.js} +3 -3
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-BlcdCg8M.js → MobileNavToggle-DLpEONfs.js} +12 -0
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-DAhOiau3.js → MoreMenu-aR88r9xp.js} +17 -31
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-ERv5u6r4.js → MultiSelector-UTaDe-YT.js} +23 -24
- package/dist/{NavDisclosure-CqAThYgR.js → NavDisclosure-B66SHKdd.js} +1 -1
- package/dist/{NavHeadingSurface-DJ4pWvEi.js → NavHeadingSurface-BZCzkCPJ.js} +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-CB3loauj.js → NavItem-c1ScHEJY.js} +2 -2
- package/dist/NavMenu/index.js +3 -3
- package/dist/{NavMenu-BtA_Xbmr.js → NavMenu-DS6y8ZAY.js} +2 -2
- package/dist/{NavMenuItem-BxfjAf1T.js → NavMenuItem-BqIi3o3D.js} +3 -3
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-Bl5TFhGD.js → NumberInput-ClkOGF5j.js} +3 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-NuPQMjxw.js → Outline-DvQbXc_H.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-CumJl6X_.js → OverflowList-UnVXBDIW.js} +2 -2
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-DuTUReOl.js → Pagination-CTCLE02h.js} +2 -2
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-DpR4rwiW.js → Popover-CZvRSqqD.js} +3 -3
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CewQJzEt.js → PowerSearch-BBOum0TP.js} +17 -17
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Dp-0xquN.js → ProgressBar-Bgg6zsKR.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DrCL5-AN.js → RadioGroup-DPy5JQhm.js} +31 -9
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-CRi4E1zq.js → RadioList-UN7IxQg8.js} +4 -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/SegmentedControl/index.js +1 -1
- package/dist/{SegmentedControl-DFUYTOVH.js → SegmentedControl-BkWz-I2J.js} +73 -6
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-Dp-LsEcf.js → SelectableCard-GRWYx3iD.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-D6yzPO5O.js → Selector-CCtsUveZ.js} +28 -23
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-z_6FwEJy.js → SideNav-COl5ApOz.js} +9 -9
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DMHlRq7q.js → Slider-CYie9hWm.js} +66 -22
- package/dist/Stack/index.d.ts +1 -1
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-B3oOyRF7.js → StatusDot-CHfgSYmv.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-CgOdL36_.js → Stepper-CCuggsov.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-OPRkoPLi.js → Switch-D24CvhDS.js} +7 -4
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-FkoypUk0.js → TabList-DToCh5JW.js} +3 -3
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CCjpL_Ku.js → Table-D3mzxBr0.js} +13 -13
- package/dist/Text/index.js +1 -1
- package/dist/{Text-v1ep26uD.js → Text-5p-eZodt.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-BilHnmSs.js → TextArea-Bp6D-riO.js} +4 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-D6tHM2sA.js → TextInput-BYslwBDZ.js} +4 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-llGdnQM8.js → Thumbnail-B_a8tOS7.js} +3 -3
- package/dist/{TimeField-C5rcoaVu.js → TimeField-MDSJny9m.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-D0N8nwrI.js → TimeInput-B19amuxi.js} +2 -2
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-65PfuoQ7.js → Timer-BD3tfzrF.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-rYC8mE3r.js → Timestamp-CqWoZUKM.js} +3 -3
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-BtQ-4Y6Z.js → Toast-BKPl8iIr.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-DTrNL430.js → ToggleButton-DfpsuhMa.js} +12 -6
- package/dist/Token/index.d.ts +1 -1
- package/dist/Token/index.js +1 -1
- package/dist/{Token-CPNzkSj3.js → Token-C7Dt5ygK.js} +2 -2
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-DdddkJb1.js → Tokenizer-C-eorFsF.js} +5 -5
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-CByjfHBZ.js → Tooltip-88zhGfzF.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-C1wpttKX.js → TopNav-DMFIsFwy.js} +5 -5
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DOAcS3PM.js → TreeList-nU2gSmQm.js} +4 -4
- package/dist/Typeahead/index.js +2 -2
- package/dist/{Typeahead-6y_r-VNU.js → Typeahead-DUQfmy_r.js} +5 -5
- package/dist/{assertOptions-og3t30Fh.js → assertOptions-DVRsfCk1.js} +22 -2
- package/dist/{batch-oTkSbtVz.js → batch-DR5SgbnX.js} +2 -2
- package/dist/{clickGuard-ChKuogmR.js → clickGuard-FrlnECMp.js} +1 -2
- package/dist/coarsePointer-BfMx3H23.js +86 -0
- package/dist/composables/index.js +6 -6
- package/dist/{composables-COCeg92e.js → composables-Do86VAmM.js} +7 -110
- package/dist/{context-DQPBIsl5.js → context-WY1ippwe.js} +2 -2
- package/dist/{disabledInteraction-CPzL8kVP.js → disabledInteraction-Bqoyhoss.js} +9 -1
- package/dist/{edge-3sC8-cbB.js → edge-qfeek_VV.js} +1 -1
- package/dist/{edgeRide-DOxmVxTM.js → edgeRide-iWUNdlxe.js} +4 -4
- package/dist/{sharedRealm-H1OrlP0V.js → flatTree-BB4yPMNL.js} +1 -49
- package/dist/{handle-CSHfxBie.js → handle-ma1yF_B_.js} +2 -1
- package/dist/holdEntranceInput-DjEzfGRU.js +523 -0
- package/dist/{index-beOIC0Qk.d.ts → index-0RIgvtdm.d.ts} +1 -1
- package/dist/{index-ZT45ZWd5.d.ts → index-B52PMrO7.d.ts} +8 -8
- package/dist/{index-Dc6mU3rv.d.ts → index-B63NOJRc.d.ts} +1 -1
- package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-nk2xIHpr.d.ts → index-BhdxP-OG.d.ts} +3 -3
- package/dist/{index-B5MCvW75.d.ts → index-BjmMJ_4E.d.ts} +65 -49
- package/dist/{index-CpLLSVCn.d.ts → index-BtgkNd0Q.d.ts} +4 -4
- package/dist/{index-CP-fJFcJ.d.ts → index-BxWCX2pJ.d.ts} +2 -2
- package/dist/{index-51CkIKnI.d.ts → index-C93nwgTW.d.ts} +1 -1
- package/dist/{index-BJputYk6.d.ts → index-CH-xSiJz.d.ts} +3 -3
- package/dist/{index-C4S65SAW.d.ts → index-CKnr0JlT.d.ts} +1 -1
- package/dist/{index-B-3EGjfQ.d.ts → index-CO9GW-ik.d.ts} +1 -1
- package/dist/{index-BaFphczL.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-GgHVkJtB.d.ts → index-CRtGmCHi.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
- package/dist/{index-DXHmlFcC.d.ts → index-CuW4AQ7M.d.ts} +3 -3
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BlhbRf58.d.ts → index-DDVCVpnG.d.ts} +1 -1
- package/dist/{index-MvrDMqnQ.d.ts → index-DYabo8TI.d.ts} +1 -1
- package/dist/{index-SRA6e30Q.d.ts → index-Dcxqzk_d.d.ts} +8 -8
- package/dist/{index-Cb-rvc1W.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-B6svLvfZ.d.ts → index-Qdbssopn.d.ts} +1 -1
- package/dist/{index-NOxH5oYj.d.ts → index-etx25Eq-.d.ts} +1 -1
- package/dist/{index-B3U6GJKl.d.ts → index-lmd9LZKB.d.ts} +1 -1
- package/dist/{index-C9uW39Mj.d.ts → index-mK1ICsVg.d.ts} +3 -3
- package/dist/{index-ql9ApSTF.d.ts → index-yQc-te9a.d.ts} +2 -2
- package/dist/index.d.ts +30 -30
- package/dist/index.js +95 -95
- package/dist/inputStream-LZdK8luP.js +239 -0
- package/dist/{landing-DFC97kl9.js → landing-qVsYAZ-v.js} +2 -2
- package/dist/{pressFeedback-CEUPQWIS.js → pressFeedback-DVR5V1b6.js} +3 -164
- package/dist/{stillPointerGate-1Tgkns0J.js → stillPointerGate-D3loXLh7.js} +1 -1
- package/dist/{tooltipFocusRules-vIH7PZh1.js → tooltipFocusRules-CFNKWzYn.js} +1 -1
- package/dist/{tooltipTriggerRules-DoBAbfGc.js → tooltipTriggerRules-DyPyWOdP.js} +1 -1
- package/dist/touchHold-CFJlSClt.js +30 -0
- package/dist/{types-Dxs5rf-2.d.ts → types-Gw2OjSK9.d.ts} +9 -9
- package/dist/{useActionGroupTracking-PVBCtLUE.js → useActionGroupTracking-C6BzQzvp.js} +2 -2
- package/dist/{useDismiss-CMIsdIOQ.js → useDismiss-C7_S7qUA.js} +87 -5
- package/dist/useHeldPresentation-fQsuYFhz.js +126 -0
- package/dist/{useInputStatusIcon-CrgeMzrf.js → useInputStatusIcon-BFw-EXjJ.js} +1 -1
- package/dist/{useMenuDrillIn-f3m-59Qb.js → useMenuDrillIn-CDn2na4X.js} +9 -8
- package/dist/{useMenuPress-wqRDvUMW.js → useMenuPress-CxUqSUZ9.js} +2 -2
- package/dist/{usePressFeedback-aufF1sCH.js → usePressFeedback-BhNcuxQv.js} +1 -1
- package/dist/{useTooltip-BwqzEtoF.js → useTooltip-CJHbG8Pv.js} +2 -2
- package/dist/{useTouchHitArea-BMDBe36j.js → useTouchHitArea-CNZyA18Y.js} +2 -2
- package/dist/{useTruncationTooltip-CRhoPzeu.js → useTruncationTooltip-BTcr1LCR.js} +3 -3
- package/dist/{useTypeaheadMenuConfig-GvdIymRg.js → useTypeaheadMenuConfig-DeDGVR8S.js} +1 -1
- package/package.json +1 -1
- package/styles/checkbox-list.css +5 -0
- package/styles/context-menu.css +17 -73
- package/styles/dialog.css +18 -1
- package/styles/hover-card.css +13 -72
- package/styles/layer.css +68 -0
- package/styles/multi-selector.css +17 -30
- package/styles/popover.css +13 -72
- package/styles/radio-indicator.css +2 -2
- package/styles/radio.css +25 -0
- package/styles/segmented-control.css +46 -1
- package/styles/selector.css +17 -30
- package/styles/slider.css +8 -2
- package/styles/switch.css +2 -1
- package/styles/toggle-button.css +3 -0
- package/styles/tooltip.css +12 -71
- package/styles/typeahead.css +17 -30
- package/dist/{index-BqhgeAT4.d.ts → index-CHx33xGa.d.ts} +2 -2
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { n as _sfc_main$11 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$11 } from "./BottomSheet-DGhRZLw4.js";
|
|
2
2
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
3
|
-
import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "./composables-
|
|
3
|
+
import { _ as useAnimator, a as usePanGesture, b as createPanGesture, c as imageModeFromPixels, d as useGridRovingFocus, f as useGridFocus, g as useContainerReveal, h as useControllableState, i as useSnapPaging, l as perceptualLightness, m as useDragToSnapPoints, n as snapToGraphemeBoundary, o as useKeyboardHint, p as useEntryAnimation, r as useStreamingText, s as useIndicatorFocusRing, t as useTouchTrigger, u as useImageMode, v as useAnimatedLayout, x as createAnimator, y as createDragToSnapPoints } from "./composables-Do86VAmM.js";
|
|
4
4
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
5
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
5
|
+
import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
6
6
|
import { i as isIconGlyph, n as ICON_GLYPHS, r as iconGlyphSlug, t as _sfc_main$90 } from "./Icon-Dk0jccgU.js";
|
|
7
7
|
import { n as addCollection, r as addIcon } from "./registry-fNY3jasS.js";
|
|
8
8
|
import { a as resolveSemanticIcon, i as defaultSemanticIcons } from "./themeIcons-1O7ymucc.js";
|
|
9
9
|
import { n as isSafeUrl, r as sanitizeUrl, t as isSafeDestination } from "./safeUrl-CsvfcZ9m.js";
|
|
10
10
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
11
11
|
import { i as useSize, n as SizeProvider, r as provideSize, t as SizeContext } from "./SizeContext-BbaF-SEx.js";
|
|
12
|
-
import { t as _sfc_main$18 } from "./Button-
|
|
12
|
+
import { t as _sfc_main$18 } from "./Button-D8AGK5oT.js";
|
|
13
13
|
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "./useLayerMountTarget-BmZyeKWE.js";
|
|
14
14
|
import { i as useLayerGutter, r as useLayerConfig } from "./context-M-er0-Rk.js";
|
|
15
|
-
import { t as useDismiss } from "./useDismiss-
|
|
16
|
-
import { n as useLayer } from "./tooltipTriggerRules-
|
|
15
|
+
import { t as useDismiss } from "./useDismiss-C7_S7qUA.js";
|
|
16
|
+
import { n as useLayer } from "./tooltipTriggerRules-DyPyWOdP.js";
|
|
17
17
|
import { t as _sfc_main$200 } from "./VisuallyHidden-cpmsV-0M.js";
|
|
18
18
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
19
19
|
import { t as useMediaQuery } from "./useMediaQuery-BzXGT1Aw.js";
|
|
@@ -21,8 +21,8 @@ import { n as firstCharacter, r as truncateCharacters, t as characterCount } fro
|
|
|
21
21
|
import { n as useDevWarning, t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
22
22
|
import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
23
23
|
import { n as normalizeTokenName } from "./tokenName-0U-WEH09.js";
|
|
24
|
-
import { a as useSideNavCollapse } from "./context-
|
|
25
|
-
import { a as _sfc_main$148, i as _sfc_main$147, n as _sfc_main$150, r as _sfc_main$149, t as _sfc_main$151 } from "./SideNav-
|
|
24
|
+
import { a as useSideNavCollapse } from "./context-WY1ippwe.js";
|
|
25
|
+
import { a as _sfc_main$148, i as _sfc_main$147, n as _sfc_main$150, r as _sfc_main$149, t as _sfc_main$151 } from "./SideNav-COl5ApOz.js";
|
|
26
26
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
27
27
|
import { n as useAppShellMobile, t as appShellMobileKey } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
28
28
|
import { n as useAsyncSource, t as createStaticSource } from "./useAsyncSource-7GTcK8ep.js";
|
|
@@ -39,14 +39,14 @@ import { t as useFocusTrap } from "./useFocusTrap-DTz_d7IP.js";
|
|
|
39
39
|
import { t as useHandleRef } from "./useHandleRef-6cdKugm8.js";
|
|
40
40
|
import { n as useResizable, r as useHotkeys, t as percent } from "./useResizable-hv4NYIUi.js";
|
|
41
41
|
import { t as useInputContainer } from "./useInputContainer-CLhsKYZ6.js";
|
|
42
|
-
import { t as _sfc_main$91 } from "./IconButton-
|
|
43
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
42
|
+
import { t as _sfc_main$91 } from "./IconButton-D9ZRJ7vD.js";
|
|
43
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-BFw-EXjJ.js";
|
|
44
44
|
import { t as useInteractiveRole } from "./useInteractiveRole-Cn0Nd5GX.js";
|
|
45
45
|
import { a as useAstryxLocale, i as provideAstryxLocale, o as useComponentMessages, r as normalizeLocale } from "./context-B8IEFCDR.js";
|
|
46
46
|
import { t as kbdMessages } from "./kbd-eX_twmH9.js";
|
|
47
47
|
import { t as _sfc_main$98 } from "./Kbd-CbD993ig.js";
|
|
48
48
|
import { t as keyboardHintMessages } from "./keyboard-hint-KWx0-7kD.js";
|
|
49
|
-
import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "./useMenuPress-
|
|
49
|
+
import { a as isMenuPressActivation, i as MENU_PRESS_MARKER, n as MENU_PRESS_SETTLE_MS, o as resetMenuPress, r as menuPressStep, s as useLongPress, t as useMenuPress } from "./useMenuPress-CxUqSUZ9.js";
|
|
50
50
|
import { t as useMergedRefs } from "./useMergedRefs-DTGo1cEU.js";
|
|
51
51
|
import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "./useMonthGrid-Bzvlstgc.js";
|
|
52
52
|
import { n as useNumberField, t as computeSteppedValue } from "./useNumberField-Dk1BE3-K.js";
|
|
@@ -62,41 +62,41 @@ import { a as formatDisplayTime12h, i as createISOTimeString, n as clampTime, o
|
|
|
62
62
|
import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "./useTimeValue-8YfPQffv.js";
|
|
63
63
|
import { n as isActionTrigger } from "./useTouchTriggerInternal-Bdm_M4aa.js";
|
|
64
64
|
import { t as useTypeahead } from "./useTypeahead-BGpvWkzm.js";
|
|
65
|
-
import { t as _sfc_main$69 } from "./Dialog-
|
|
66
|
-
import { t as useTooltip } from "./useTooltip-
|
|
67
|
-
import { t as _sfc_main$188 } from "./Tooltip-
|
|
65
|
+
import { t as _sfc_main$69 } from "./Dialog-C4FZ7p7Q.js";
|
|
66
|
+
import { t as useTooltip } from "./useTooltip-CJHbG8Pv.js";
|
|
67
|
+
import { t as _sfc_main$188 } from "./Tooltip-88zhGfzF.js";
|
|
68
68
|
import { n as useTruncation } from "./useTruncation-D_T-ezdp.js";
|
|
69
|
-
import { t as _sfc_main$88 } from "./Heading-
|
|
69
|
+
import { t as _sfc_main$88 } from "./Heading-B1dNZQtu.js";
|
|
70
70
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
71
71
|
import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.js";
|
|
72
|
-
import { t as _sfc_main$173 } from "./Text-
|
|
73
|
-
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-
|
|
72
|
+
import { t as _sfc_main$173 } from "./Text-5p-eZodt.js";
|
|
73
|
+
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-Cub9_aPC.js";
|
|
74
74
|
import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-C7Wsid2W.js";
|
|
75
75
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
76
76
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
77
|
-
import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-
|
|
78
|
-
import { t as _sfc_main$1 } from "./AppShell-
|
|
77
|
+
import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-DLpEONfs.js";
|
|
78
|
+
import { t as _sfc_main$1 } from "./AppShell-D62A7lqZ.js";
|
|
79
79
|
import { n as WIDTH_BREAKPOINT_NAMES, t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
|
|
80
80
|
import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
|
|
81
|
-
import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-
|
|
81
|
+
import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-BKoSK75s.js";
|
|
82
82
|
import { t as avatarGroupMessages } from "./avatar-group-Dcn6i_ne.js";
|
|
83
|
-
import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-
|
|
83
|
+
import { n as _sfc_main$4, t as _sfc_main$5 } from "./AvatarGroup-DT5RbxDa.js";
|
|
84
84
|
import { t as _sfc_main$7 } from "./Badge-BbPS_49c.js";
|
|
85
85
|
import "./Badge/index.js";
|
|
86
86
|
import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
87
|
-
import { t as _sfc_main$8 } from "./Banner-
|
|
87
|
+
import { t as _sfc_main$8 } from "./Banner-cg2nXT_4.js";
|
|
88
88
|
import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
|
|
89
89
|
import "./Blockquote/index.js";
|
|
90
|
-
import { t as _sfc_main$12 } from "./BottomSheet-
|
|
91
|
-
import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-
|
|
90
|
+
import { t as _sfc_main$12 } from "./BottomSheet-CpLYy3vb.js";
|
|
91
|
+
import { i as useListContext, r as useItemDescriptionId, t as _sfc_main$97 } from "./Item-DUI1Qnnd.js";
|
|
92
92
|
import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
93
|
-
import { a as _sfc_main$14, c as useDropdownMenuRadioGroup, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$15, r as _sfc_main$16, s as useDropdownMenuContext } from "./useMenuDrillIn-
|
|
94
|
-
import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-
|
|
93
|
+
import { a as _sfc_main$14, c as useDropdownMenuRadioGroup, d as useContextMenu, f as useContextMenuSize, i as _sfc_main$15, r as _sfc_main$16, s as useDropdownMenuContext } from "./useMenuDrillIn-CDn2na4X.js";
|
|
94
|
+
import { a as _sfc_main$77, o as _sfc_main$76, s as _sfc_main$75, t as _sfc_main$74 } from "./DropdownMenu-DwIfoTnV.js";
|
|
95
95
|
import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
|
|
96
96
|
import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
|
|
97
97
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
98
|
-
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-
|
|
99
|
-
import { n as _sfc_main$19 } from "./ButtonGroup-
|
|
98
|
+
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-D-nHDHV8.js";
|
|
99
|
+
import { n as _sfc_main$19 } from "./ButtonGroup-CUN_rC57.js";
|
|
100
100
|
import { A as plainDateSetFirstOfMonth, C as plainDateIsAfter, D as plainDateMax, E as plainDateIsInRange, F as plainDateToday, I as plainDateWeekFieldName, M as plainDateToDate, N as plainDateToISO, O as plainDateMin, P as plainDateToInstant, S as plainDateGetWeekNumber, T as plainDateIsEqual, _ as plainDateDiffDays, a as DATE_FORMAT_SHORT_WITH_WEEKDAY, b as plainDateFromISO, c as DATE_FORMAT_WITH_WEEKDAY, d as getDaysInMonth, f as getTimeZoneParts, g as plainDateDayOfWeek, h as plainDateCreate, i as DATE_FORMAT_SHORT, j as plainDateSetStartOfWeek, k as plainDateSetEndOfWeekExclusive, l as SHARED_DATE_FORMAT_OPTIONS, m as plainDateAddMonths, n as DATE_FORMAT_MONTH_ONLY, o as DATE_FORMAT_SHORT_WITH_YEAR, p as plainDateAddDays, r as DATE_FORMAT_MONTH_YEAR, s as DATE_FORMAT_WEEKDAY_ONLY, t as DATE_FORMAT_LONG, u as formatSharedDate, v as plainDateFormat, w as plainDateIsBefore, x as plainDateFromInstant, y as plainDateFromDate } from "./plainDate-CaTDErKr.js";
|
|
101
101
|
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
102
102
|
import { a as useCalendarConstraints, t as _sfc_main$20 } from "./Calendar-CUMnYIhe.js";
|
|
@@ -104,44 +104,44 @@ import { n as useCalendarDays, t as useCalendarNavigation } from "./Calendar-B6T
|
|
|
104
104
|
import { t as _sfc_main$21 } from "./Card-D_OJxmwD.js";
|
|
105
105
|
import "./Card/index.js";
|
|
106
106
|
import { t as carouselMessages } from "./carousel-Uaa3h_cg.js";
|
|
107
|
-
import { t as _sfc_main$22 } from "./Carousel-
|
|
107
|
+
import { t as _sfc_main$22 } from "./Carousel-DrCG9wbP.js";
|
|
108
108
|
import { t as _sfc_main$23 } from "./Center-B7FTd7Hw.js";
|
|
109
109
|
import { t as chatMessages } from "./chat-BUFYB3bA.js";
|
|
110
|
-
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$25, a as _sfc_main$39, b as _sfc_main$26, c as _sfc_main$35, d as _sfc_main$32, f as _sfc_main$31, g as _sfc_main$27, h as _sfc_main$28, i as _sfc_main$40, l as _sfc_main$34, m as _sfc_main$30, n as useSpeechRecognition, o as _sfc_main$38, p as _sfc_main$29, r as _sfc_main$41, s as _sfc_main$37, t as useChatDictation, u as _sfc_main$33, v as _sfc_main$24, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$36 } from "./Chat-
|
|
111
|
-
import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-
|
|
110
|
+
import { C as useChatLayoutContext, D as pastedTextLabel, E as PASTE_TOKEN_THRESHOLD, O as useChatPasteAsToken, S as useChatComposerContext, T as useChatMessageContext, _ as _sfc_main$25, a as _sfc_main$39, b as _sfc_main$26, c as _sfc_main$35, d as _sfc_main$32, f as _sfc_main$31, g as _sfc_main$27, h as _sfc_main$28, i as _sfc_main$40, l as _sfc_main$34, m as _sfc_main$30, n as useSpeechRecognition, o as _sfc_main$38, p as _sfc_main$29, r as _sfc_main$41, s as _sfc_main$37, t as useChatDictation, u as _sfc_main$33, v as _sfc_main$24, w as useChatListContext, x as useChatComposerTokens, y as _sfc_main$36 } from "./Chat-U1qq8gkF.js";
|
|
111
|
+
import { n as useHoverCard, t as _sfc_main$89 } from "./HoverCard-CZhfsvP4.js";
|
|
112
112
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
113
113
|
import { t as _sfc_main$154 } from "./Spinner-DEVPDsD0.js";
|
|
114
114
|
import "./CheckboxIndicator/index.js";
|
|
115
115
|
import { t as infoTipMessages } from "./info-tip-BV42YsA4.js";
|
|
116
|
-
import { t as _sfc_main$92 } from "./InfoTip-
|
|
116
|
+
import { t as _sfc_main$92 } from "./InfoTip-LJi9llxi.js";
|
|
117
117
|
import { t as fieldMessages } from "./field-CehUqCe0.js";
|
|
118
|
-
import { t as _sfc_main$81 } from "./FieldLabel-
|
|
118
|
+
import { t as _sfc_main$81 } from "./FieldLabel-CgYk-ORu.js";
|
|
119
119
|
import { t as _sfc_main$82 } from "./FieldStatus-DmCWPT6U.js";
|
|
120
120
|
import { a as _sfc_main$136, i as isCoreIndicatorName, n as defaultIndicators, o as _sfc_main$42, r as getIndicator, t as useIndicator } from "./useIndicator-PFDBNOvX.js";
|
|
121
|
-
import { t as _sfc_main$44 } from "./CheckboxInput-
|
|
121
|
+
import { t as _sfc_main$44 } from "./CheckboxInput-qm6lkjAw.js";
|
|
122
122
|
import "./CheckboxInput/index.js";
|
|
123
|
-
import { t as _sfc_main$80 } from "./Field-
|
|
124
|
-
import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-
|
|
125
|
-
import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-
|
|
123
|
+
import { t as _sfc_main$80 } from "./Field-eAowUUMX.js";
|
|
124
|
+
import { n as _sfc_main$108, t as _sfc_main$109 } from "./ListItem-C8SqSrU6.js";
|
|
125
|
+
import { n as _sfc_main$45, t as _sfc_main$46 } from "./CheckboxList-DuCKhJHJ.js";
|
|
126
126
|
import { t as checkboxListMessages } from "./checkbox-list-uI6q4y3V.js";
|
|
127
127
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
128
128
|
import { t as _sfc_main$47 } from "./Citation-Ijf06x0V.js";
|
|
129
|
-
import { n as _sfc_main$48 } from "./ClickableCard-
|
|
130
|
-
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main$49, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$50, u as applyHighlightRanges } from "./CodeBlock-
|
|
129
|
+
import { n as _sfc_main$48 } from "./ClickableCard-CwGxO0GU.js";
|
|
130
|
+
import { a as tokenizeAsync, c as splitDiffLines, d as applyHighlightRangesFlat, f as _sfc_main$49, i as tokenize, l as HIGHLIGHTED_TOKEN_TYPES, n as SYNC_TOKENIZE_THRESHOLD, o as diffLineKind, r as flatTokensToLines, s as parseFenceLanguage, t as _sfc_main$50, u as applyHighlightRanges } from "./CodeBlock-PMZd9dQ9.js";
|
|
131
131
|
import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "./syntaxTheme-R7xnu5x5.js";
|
|
132
132
|
import { a as catppuccinMocha, c as githubLight, d as nord, f as oneDarkPro, g as tokyoNightLight, h as tokyoNight, i as catppuccinLatte, l as lightSyntaxPresets, m as solarizedLight, n as _sfc_main$161, o as darkSyntaxPresets, p as oneLight, r as allSyntaxPresets, s as dracula, t as useSyntaxTheme, u as monokai } from "./Code-5rZyPwty.js";
|
|
133
|
-
import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-
|
|
133
|
+
import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-BmUloCSR.js";
|
|
134
134
|
import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
|
|
135
|
-
import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-
|
|
135
|
+
import { a as _sfc_main$56, i as _sfc_main$57, n as _sfc_main$59, o as _sfc_main$55, r as _sfc_main$58, s as _sfc_main$54, t as _sfc_main$53 } from "./CommandPalette-Cy7trpD3.js";
|
|
136
136
|
import { t as inputMessages } from "./input-DUSvqqG_.js";
|
|
137
137
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
138
138
|
import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
|
|
139
|
-
import { n as usePopover, t as _sfc_main$131 } from "./Popover-
|
|
140
|
-
import { n as _sfc_main$60 } from "./ComplexSelector-
|
|
139
|
+
import { n as usePopover, t as _sfc_main$131 } from "./Popover-CZvRSqqD.js";
|
|
140
|
+
import { n as _sfc_main$60 } from "./ComplexSelector-DMBiVQWp.js";
|
|
141
141
|
import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
|
|
142
|
-
import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-
|
|
142
|
+
import { a as _sfc_main$62, i as _sfc_main$63, n as _sfc_main$65, r as _sfc_main$64, t as _sfc_main$61 } from "./ContextMenu-63ay7EE-.js";
|
|
143
143
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
144
|
-
import { t as _sfc_main$66 } from "./DateInput-
|
|
144
|
+
import { t as _sfc_main$66 } from "./DateInput-B3Q91FDT.js";
|
|
145
145
|
import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
|
|
146
146
|
import { a as pickerPresentationFromNativePicker, c as resolvePickerPresentation, i as effectivePickerPresentation, l as isLocaleDayFirst, o as presentationFromNativePicker, r as effectiveInputPresentation, s as resolveInputPresentation, t as DEFAULT_INPUT_PRESENTATION, u as parseDateInput } from "./inputPresentation-DES0JwkL.js";
|
|
147
147
|
import { _ as buttonMessages, a as transferListMessages, c as richTextEditorMessages, d as emojiPickerMessages, f as commentsMessages, g as codeBlockMessages, h as commentComposerMessages, i as useAstryxMessages, l as powerSearchMessages, o as transferListSelectorMessages, s as tableMessages, t as loadAstryxCatalog, u as listInputMessages, v as breadcrumbsMessages, y as alertDialogMessages } from "./loadCatalog-BeQt6Uq-.js";
|
|
@@ -171,20 +171,20 @@ import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
|
171
171
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
172
172
|
import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-B4FpGKpc.js";
|
|
173
173
|
import "./DateInput/index.js";
|
|
174
|
-
import { t as _sfc_main$67 } from "./DateRangeInput-
|
|
174
|
+
import { t as _sfc_main$67 } from "./DateRangeInput-B6Z66OsH.js";
|
|
175
175
|
import "./DateRangeInput/index.js";
|
|
176
|
-
import { t as _sfc_main$68 } from "./DateTimeInput-
|
|
176
|
+
import { t as _sfc_main$68 } from "./DateTimeInput-B_7cn7ze.js";
|
|
177
177
|
import "./DateTimeInput/index.js";
|
|
178
|
-
import { t as _sfc_main$70 } from "./DialogHeader-
|
|
179
|
-
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-
|
|
178
|
+
import { t as _sfc_main$70 } from "./DialogHeader-CQ3pnLYi.js";
|
|
179
|
+
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-CBPD5b-S.js";
|
|
180
180
|
import "./Divider/index.js";
|
|
181
|
-
import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-
|
|
182
|
-
import { t as _sfc_main$78 } from "./DropdownMenu-
|
|
183
|
-
import { t as _sfc_main$79 } from "./EmptyState-
|
|
184
|
-
import { t as _sfc_main$93 } from "./InputClearButton-
|
|
181
|
+
import { n as _sfc_main$72, t as _sfc_main$73 } from "./Drawer-BOwQLKm9.js";
|
|
182
|
+
import { t as _sfc_main$78 } from "./DropdownMenu-9CR9TiKG.js";
|
|
183
|
+
import { t as _sfc_main$79 } from "./EmptyState-BG5g2jwJ.js";
|
|
184
|
+
import { t as _sfc_main$93 } from "./InputClearButton-C-j9Nf1s.js";
|
|
185
185
|
import "./Field/index.js";
|
|
186
186
|
import "./FieldStatus/index.js";
|
|
187
|
-
import { t as _sfc_main$83 } from "./FileInput-
|
|
187
|
+
import { t as _sfc_main$83 } from "./FileInput-B7zeePbM.js";
|
|
188
188
|
import { t as _sfc_main$84 } from "./FormLayout-CGJVeNsL.js";
|
|
189
189
|
import { n as _sfc_main$85, t as _sfc_main$86 } from "./Grid-DTnDDT0Q.js";
|
|
190
190
|
import "./Heading/index.js";
|
|
@@ -193,87 +193,87 @@ import { t as useSemanticIcon } from "./Icon-M1Rlknd0.js";
|
|
|
193
193
|
import "./IconButton/index.js";
|
|
194
194
|
import "./Indicator/index.js";
|
|
195
195
|
import "./InfoTip/index.js";
|
|
196
|
-
import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-
|
|
196
|
+
import { n as _sfc_main$94, t as _sfc_main$95 } from "./InputGroup-B8PGJZKH.js";
|
|
197
197
|
import { a as resolveProviderMessages, i as getLocaleDirection, r as useLocaleDirection, t as _sfc_main$96 } from "./InternationalizationProvider-DaZS5Dch.js";
|
|
198
198
|
import "./Kbd/index.js";
|
|
199
199
|
import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
|
|
200
200
|
import { t as _sfc_main$102 } from "./Layout-DOIeCgs4.js";
|
|
201
|
-
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-
|
|
202
|
-
import { t as _sfc_main$106 } from "./Link-
|
|
201
|
+
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-BOWTHnTb.js";
|
|
202
|
+
import { t as _sfc_main$106 } from "./Link-B75ygGzG.js";
|
|
203
203
|
import "./Link/index.js";
|
|
204
204
|
import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
|
|
205
205
|
import "./List/index.js";
|
|
206
206
|
import { a as parseMarkdownAst, c as decodeMarkdownCharacterReferences, d as parseMarkdown, g as isMarkdownExtensionNode, n as parseInline, o as parseMarkdownIncremental, r as parseInlineAst, t as createIncrementalState } from "./publicParser-C8RBKNLA.js";
|
|
207
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-
|
|
207
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-Cqrcj-ct.js";
|
|
208
208
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
|
209
209
|
import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.js";
|
|
210
210
|
import "./MobileNav/index.js";
|
|
211
|
-
import { t as _sfc_main$116 } from "./MoreMenu-
|
|
212
|
-
import { t as _sfc_main$185 } from "./Token-
|
|
213
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-
|
|
211
|
+
import { t as _sfc_main$116 } from "./MoreMenu-aR88r9xp.js";
|
|
212
|
+
import { t as _sfc_main$185 } from "./Token-C7Dt5ygK.js";
|
|
213
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-UTaDe-YT.js";
|
|
214
214
|
import "./MultiSelector/index.js";
|
|
215
215
|
import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
|
|
216
|
-
import { t as _sfc_main$122 } from "./NavItem-
|
|
217
|
-
import { t as _sfc_main$118 } from "./NavDisclosure-
|
|
218
|
-
import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-
|
|
219
|
-
import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-
|
|
220
|
-
import { t as _sfc_main$125 } from "./NumberInput-
|
|
216
|
+
import { t as _sfc_main$122 } from "./NavItem-c1ScHEJY.js";
|
|
217
|
+
import { t as _sfc_main$118 } from "./NavDisclosure-B66SHKdd.js";
|
|
218
|
+
import { n as _sfc_main$119, t as _sfc_main$120 } from "./NavMenu-DS6y8ZAY.js";
|
|
219
|
+
import { n as _sfc_main$123, t as _sfc_main$124 } from "./NavMenuItem-BqIi3o3D.js";
|
|
220
|
+
import { t as _sfc_main$125 } from "./NumberInput-ClkOGF5j.js";
|
|
221
221
|
import "./NumberInput/index.js";
|
|
222
|
-
import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-
|
|
223
|
-
import { t as _sfc_main$127 } from "./OverflowList-
|
|
222
|
+
import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-DvQbXc_H.js";
|
|
223
|
+
import { t as _sfc_main$127 } from "./OverflowList-UnVXBDIW.js";
|
|
224
224
|
import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
|
|
225
|
-
import { t as _sfc_main$130 } from "./Pagination-
|
|
226
|
-
import { t as _sfc_main$146 } from "./Selector-
|
|
225
|
+
import { t as _sfc_main$130 } from "./Pagination-CTCLE02h.js";
|
|
226
|
+
import { t as _sfc_main$146 } from "./Selector-CCtsUveZ.js";
|
|
227
227
|
import "./Pagination/index.js";
|
|
228
228
|
import "./Popover/index.js";
|
|
229
|
-
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-
|
|
230
|
-
import { i as _sfc_main$198 } from "./useTypeaheadMenuConfig-
|
|
231
|
-
import { t as _sfc_main$186 } from "./Tokenizer-
|
|
232
|
-
import { t as _sfc_main$175 } from "./TextInput-
|
|
233
|
-
import { t as _sfc_main$178 } from "./TimeInput-
|
|
234
|
-
import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-
|
|
235
|
-
import { t as _sfc_main$133 } from "./ProgressBar-
|
|
236
|
-
import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-
|
|
229
|
+
import { a as searchPowerSearchFields, c as formatDateAbsolute, d as createPowerSearchLookup, f as completePowerSearchFilter, i as _sfc_main$132, l as formatDateAbsoluteCompact, n as createPowerSearchConfig, o as resolveEditorPlacement, r as usePowerSearchConfig, s as resolveOperatorLabel, t as applyPowerSearchFilters, u as formatFilterValue } from "./PowerSearch-BBOum0TP.js";
|
|
230
|
+
import { i as _sfc_main$198 } from "./useTypeaheadMenuConfig-DeDGVR8S.js";
|
|
231
|
+
import { t as _sfc_main$186 } from "./Tokenizer-C-eorFsF.js";
|
|
232
|
+
import { t as _sfc_main$175 } from "./TextInput-BYslwBDZ.js";
|
|
233
|
+
import { t as _sfc_main$178 } from "./TimeInput-B19amuxi.js";
|
|
234
|
+
import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-DUQfmy_r.js";
|
|
235
|
+
import { t as _sfc_main$133 } from "./ProgressBar-Bgg6zsKR.js";
|
|
236
|
+
import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-DPy5JQhm.js";
|
|
237
237
|
import "./Radio/index.js";
|
|
238
|
-
import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-
|
|
238
|
+
import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioList-UN7IxQg8.js";
|
|
239
239
|
import { t as _sfc_main$139 } from "./ResizeHandle-BMSbAFdP.js";
|
|
240
240
|
import "./Resizable/index.js";
|
|
241
241
|
import { t as _sfc_main$140 } from "./ScrollableArea-Cflez3d4.js";
|
|
242
242
|
import { t as _sfc_main$141 } from "./Scrollbars-Gvu4QVaF.js";
|
|
243
243
|
import { t as _sfc_main$142 } from "./Section-Km_FjJ-i.js";
|
|
244
244
|
import "./Section/index.js";
|
|
245
|
-
import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-
|
|
246
|
-
import { n as _sfc_main$145 } from "./SelectableCard-
|
|
245
|
+
import { n as _sfc_main$143, t as _sfc_main$144 } from "./SegmentedControl-BkWz-I2J.js";
|
|
246
|
+
import { n as _sfc_main$145 } from "./SelectableCard-GRWYx3iD.js";
|
|
247
247
|
import "./Selector/index.js";
|
|
248
248
|
import "./SizeContext/index.js";
|
|
249
249
|
import { t as _sfc_main$152 } from "./Skeleton-CrgWxJgr.js";
|
|
250
250
|
import "./Skeleton/index.js";
|
|
251
|
-
import { t as _sfc_main$153 } from "./Slider-
|
|
251
|
+
import { t as _sfc_main$153 } from "./Slider-CYie9hWm.js";
|
|
252
252
|
import "./Spinner/index.js";
|
|
253
253
|
import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-Byxur1jV.js";
|
|
254
|
-
import { t as _sfc_main$157 } from "./StatusDot-
|
|
255
|
-
import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-
|
|
256
|
-
import { t as _sfc_main$160 } from "./Switch-
|
|
257
|
-
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-
|
|
254
|
+
import { t as _sfc_main$157 } from "./StatusDot-CHfgSYmv.js";
|
|
255
|
+
import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-CCuggsov.js";
|
|
256
|
+
import { t as _sfc_main$160 } from "./Switch-D24CvhDS.js";
|
|
257
|
+
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$168, b as useTableSelectionState, c as _sfc_main$165, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$169, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$171, o as _sfc_main$167, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$170, s as _sfc_main$166, t as _sfc_main$172, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "./Table-D3mzxBr0.js";
|
|
258
258
|
import { t as _sfc_main$187 } from "./Toolbar-DSWH8ll4.js";
|
|
259
|
-
import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-
|
|
259
|
+
import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-DToCh5JW.js";
|
|
260
260
|
import "./Text/index.js";
|
|
261
|
-
import { t as _sfc_main$174 } from "./TextArea-
|
|
261
|
+
import { t as _sfc_main$174 } from "./TextArea-Bp6D-riO.js";
|
|
262
262
|
import "./TextInput/index.js";
|
|
263
263
|
import { c as DATA_TOKEN_DEFAULTS, n as useTheme, t as _sfc_main$111 } from "./MediaTheme-UM8oOqwX.js";
|
|
264
264
|
import { a as neutralTheme, c as expandMotionScale, i as isDefinedTheme, l as expandRadiusScale, n as _sfc_main$176, o as STATUS_COLOR_DEFAULTS, r as defineTheme, s as expandTypeScale, t as useMediaTheme, u as expandColorScale } from "./Theme-BmTbbiAD.js";
|
|
265
|
-
import { t as _sfc_main$177 } from "./Thumbnail-
|
|
265
|
+
import { t as _sfc_main$177 } from "./Thumbnail-B_a8tOS7.js";
|
|
266
266
|
import "./TimeInput/index.js";
|
|
267
|
-
import { n as getPresentation, t as _sfc_main$179 } from "./Timer-
|
|
268
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-
|
|
269
|
-
import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-
|
|
270
|
-
import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-
|
|
267
|
+
import { n as getPresentation, t as _sfc_main$179 } from "./Timer-BD3tfzrF.js";
|
|
268
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main$180 } from "./Timestamp-CqWoZUKM.js";
|
|
269
|
+
import { n as _sfc_main$182, r as _sfc_main$181, t as useToast } from "./Toast-BKPl8iIr.js";
|
|
270
|
+
import { n as _sfc_main$184, r as _sfc_main$183 } from "./ToggleButton-DfpsuhMa.js";
|
|
271
271
|
import { t as TOKEN_COLORS } from "./Token-BdRzlXzm.js";
|
|
272
272
|
import "./Tokenizer/index.js";
|
|
273
273
|
import "./Toolbar/index.js";
|
|
274
274
|
import "./Tooltip/index.js";
|
|
275
|
-
import { a as _sfc_main$191, i as _sfc_main$192, n as _sfc_main$194, o as _sfc_main$190, r as _sfc_main$193, s as _sfc_main$189, t as _sfc_main$195 } from "./TopNav-
|
|
276
|
-
import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-
|
|
275
|
+
import { a as _sfc_main$191, i as _sfc_main$192, n as _sfc_main$194, o as _sfc_main$190, r as _sfc_main$193, s as _sfc_main$189, t as _sfc_main$195 } from "./TopNav-DMFIsFwy.js";
|
|
276
|
+
import { n as useTreeFocus, t as _sfc_main$196 } from "./TreeList-nU2gSmQm.js";
|
|
277
277
|
import "./Typeahead/index.js";
|
|
278
278
|
import { a as groupItems, i as getItemGroup, n as getInputARIA, o as normalizeDayOfWeek, r as joinAriaIDs, s as chainEventHandlers } from "./utils-BW62BpDR.js";
|
|
279
279
|
import "./VisuallyHidden/index.js";
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
//#region src/utils/sharedRealm.ts
|
|
2
|
+
/**
|
|
3
|
+
* 对应原版 Astryx 的 `utils/sharedRealm`。
|
|
4
|
+
*
|
|
5
|
+
* 整个 JavaScript 运行环境里按键共享一份值:页面上同时加载了两份 core(比如包本身和一份复制进项目的副本)时,
|
|
6
|
+
* 两边拿同一个键读到的是同一份值。不碰 DOM,服务端也能用。
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* 共享值的注册键。版本号表示值的形状:形状变了、旧副本读不懂新值时就升版本,
|
|
10
|
+
* 两边各用各的。
|
|
11
|
+
*/
|
|
12
|
+
function sharedKey(name, version) {
|
|
13
|
+
return Symbol.for(`@astryx-vue/core/${name}/v${version}`);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* `key` 下的共享值,第一次用时创建。
|
|
17
|
+
* `accepts` 防键撞车:它不认的值原样留着,这一份自己另建一个。
|
|
18
|
+
*/
|
|
19
|
+
function realmValue(key, create, accepts = () => true) {
|
|
20
|
+
const realm = globalThis;
|
|
21
|
+
if (Object.hasOwn(realm, key)) {
|
|
22
|
+
const existing = realm[key];
|
|
23
|
+
return accepts(existing) ? existing : create();
|
|
24
|
+
}
|
|
25
|
+
const value = create();
|
|
26
|
+
realm[key] = value;
|
|
27
|
+
return value;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* 按注册名在整页共享一份值:计数器、开关,或装着几样东西的对象。
|
|
31
|
+
* 名字写成 `<目录>/<文件>/<绑定名>`(短横线小写),值的形状变了就升版本。
|
|
32
|
+
*/
|
|
33
|
+
function sharedState(name, version, create) {
|
|
34
|
+
return realmValue(sharedKey(name, version), create);
|
|
35
|
+
}
|
|
36
|
+
/** 按注册名共享的 Map。 */
|
|
37
|
+
function sharedMap(name, version) {
|
|
38
|
+
return sharedState(name, version, () => /* @__PURE__ */ new Map());
|
|
39
|
+
}
|
|
40
|
+
/** 按注册名共享的 WeakMap,例如按文档存的状态。 */
|
|
41
|
+
function sharedWeakMap(name, version) {
|
|
42
|
+
return sharedState(name, version, () => /* @__PURE__ */ new WeakMap());
|
|
43
|
+
}
|
|
44
|
+
/** 按注册名共享的 WeakSet,例如登记过的值。 */
|
|
45
|
+
function sharedWeakSet(name, version) {
|
|
46
|
+
return sharedState(name, version, () => /* @__PURE__ */ new WeakSet());
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/utils/inputStream.ts
|
|
50
|
+
/**
|
|
51
|
+
* @file inputStream.ts
|
|
52
|
+
* @input A window, and subscribers to its input events (the press feedback
|
|
53
|
+
* controller, the gesture host, the keyboard module)
|
|
54
|
+
* @output subscribeInput. Its readers: getLastPointerType, the latest
|
|
55
|
+
* pointer's type; getLastMousePoint, the latest mouse point; getDownPresses,
|
|
56
|
+
* each finger and pen press that is down; getTouches, the fingers on the
|
|
57
|
+
* screen and how many touches started.
|
|
58
|
+
* @position The one entry for document-wide input listeners in core: one
|
|
59
|
+
* native listener per event type on the window's capture phase, shared by
|
|
60
|
+
* every subscriber
|
|
61
|
+
*
|
|
62
|
+
* SYNC: When modified, update inputStream.test.ts.
|
|
63
|
+
*/
|
|
64
|
+
const { streams, lastPointerTypes, lastMousePoints, downPresses } = realmValue(sharedKey("input-stream", 1), () => ({
|
|
65
|
+
streams: /* @__PURE__ */ new WeakMap(),
|
|
66
|
+
/** The type of the latest pointer event each window's stream delivered. */
|
|
67
|
+
lastPointerTypes: /* @__PURE__ */ new WeakMap(),
|
|
68
|
+
/** Where the latest mouse pointer event each window's stream delivered was. */
|
|
69
|
+
lastMousePoints: /* @__PURE__ */ new WeakMap(),
|
|
70
|
+
/** Each window's finger and pen presses that are down, by pointer id. */
|
|
71
|
+
downPresses: /* @__PURE__ */ new WeakMap()
|
|
72
|
+
}));
|
|
73
|
+
const NO_PRESSES = /* @__PURE__ */ new Map();
|
|
74
|
+
/**
|
|
75
|
+
* How many fingers are on each window's screen, and how many touches have
|
|
76
|
+
* started, from its touch events. Its own key keeps the stream's first state
|
|
77
|
+
* readable by copies built before it.
|
|
78
|
+
*/
|
|
79
|
+
const touchRecords = realmValue(sharedKey("input-stream/touches", 1), () => /* @__PURE__ */ new WeakMap());
|
|
80
|
+
/**
|
|
81
|
+
* The type of the latest pointer event `view`'s stream delivered: `mouse`,
|
|
82
|
+
* `pen` or `touch`, or `null` before any. The stream hears a pointer event
|
|
83
|
+
* type only while a subscriber listens to it, as press feedback does on any
|
|
84
|
+
* page with a pressable. Reading it adds no listener.
|
|
85
|
+
*/
|
|
86
|
+
function getLastPointerType(view) {
|
|
87
|
+
return lastPointerTypes.get(view) ?? null;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Where the latest mouse pointer event `view`'s stream delivered was, in
|
|
91
|
+
* viewport coordinates, or `null` before any. A mouse that has not moved
|
|
92
|
+
* since rests there. Reading it adds no listener.
|
|
93
|
+
*/
|
|
94
|
+
function getLastMousePoint(view) {
|
|
95
|
+
return lastMousePoints.get(view) ?? null;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The finger and pen presses that are down in `view`, by pointer id, each at
|
|
99
|
+
* the point where the stream last heard it. The stream hears them only while
|
|
100
|
+
* subscribers listen to `pointerdown`, `pointerup` and `pointercancel` (and
|
|
101
|
+
* `pointermove` for a moving press), as press feedback and the gesture host
|
|
102
|
+
* do. Reading it adds no listener.
|
|
103
|
+
*/
|
|
104
|
+
function getDownPresses(view) {
|
|
105
|
+
return downPresses.get(view) ?? NO_PRESSES;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Listen to `type` on `view`'s capture phase through its shared native
|
|
109
|
+
* listener. Returns the unsubscribe; calling it again does nothing.
|
|
110
|
+
*/
|
|
111
|
+
function subscribeInput(view, type, listener, { cancels = false, first = false } = {}) {
|
|
112
|
+
let channels = streams.get(view);
|
|
113
|
+
if (channels == null) {
|
|
114
|
+
channels = /* @__PURE__ */ new Map();
|
|
115
|
+
streams.set(view, channels);
|
|
116
|
+
}
|
|
117
|
+
let channel = channels.get(type);
|
|
118
|
+
if (channel == null) {
|
|
119
|
+
channel = {
|
|
120
|
+
subscribers: [],
|
|
121
|
+
native: null
|
|
122
|
+
};
|
|
123
|
+
channels.set(type, channel);
|
|
124
|
+
}
|
|
125
|
+
const subscriber = {
|
|
126
|
+
listener,
|
|
127
|
+
cancels,
|
|
128
|
+
isFirst: first
|
|
129
|
+
};
|
|
130
|
+
const firstLater = first ? channel.subscribers.findIndex((other) => !other.isFirst) : -1;
|
|
131
|
+
if (firstLater === -1) channel.subscribers.push(subscriber);
|
|
132
|
+
else channel.subscribers.splice(firstLater, 0, subscriber);
|
|
133
|
+
register(view, type, channel);
|
|
134
|
+
let isSubscribed = true;
|
|
135
|
+
return () => {
|
|
136
|
+
if (!isSubscribed) return;
|
|
137
|
+
isSubscribed = false;
|
|
138
|
+
const current = streams.get(view)?.get(type);
|
|
139
|
+
if (current == null) return;
|
|
140
|
+
const index = current.subscribers.indexOf(subscriber);
|
|
141
|
+
if (index !== -1) current.subscribers.splice(index, 1);
|
|
142
|
+
register(view, type, current);
|
|
143
|
+
if (current.subscribers.length === 0) {
|
|
144
|
+
streams.get(view)?.delete(type);
|
|
145
|
+
if (type === "pointerup" || type === "pointercancel") downPresses.delete(view);
|
|
146
|
+
if (type === "touchend" || type === "touchcancel") forgetFingers(view);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Bring the channel's native listener in line with its subscribers: none
|
|
152
|
+
* without subscribers, non-passive while one of them cancels.
|
|
153
|
+
*/
|
|
154
|
+
function register(view, type, channel) {
|
|
155
|
+
const wanted = channel.subscribers.length === 0 ? null : channel.subscribers.some((subscriber) => subscriber.cancels);
|
|
156
|
+
const native = channel.native;
|
|
157
|
+
if (native != null && native.cancels === wanted) return;
|
|
158
|
+
if (native != null) {
|
|
159
|
+
view.removeEventListener(type, native.listener, { capture: true });
|
|
160
|
+
channel.native = null;
|
|
161
|
+
}
|
|
162
|
+
if (wanted == null) return;
|
|
163
|
+
const listener = (event) => dispatch(view, channel, event);
|
|
164
|
+
view.addEventListener(type, listener, {
|
|
165
|
+
capture: true,
|
|
166
|
+
passive: !wanted
|
|
167
|
+
});
|
|
168
|
+
channel.native = {
|
|
169
|
+
listener,
|
|
170
|
+
cancels: wanted
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function dispatch(view, channel, event) {
|
|
174
|
+
const { pointerType, clientX, clientY } = event;
|
|
175
|
+
if (typeof pointerType === "string" && pointerType !== "") lastPointerTypes.set(view, pointerType);
|
|
176
|
+
if (pointerType === "mouse" && typeof clientX === "number" && typeof clientY === "number") lastMousePoints.set(view, {
|
|
177
|
+
x: clientX,
|
|
178
|
+
y: clientY
|
|
179
|
+
});
|
|
180
|
+
if (pointerType === "touch" || pointerType === "pen") recordPress(view, event);
|
|
181
|
+
if (event.type === "touchstart" || event.type === "touchend" || event.type === "touchcancel") recordTouches(view, event);
|
|
182
|
+
for (const subscriber of [...channel.subscribers]) {
|
|
183
|
+
if (!channel.subscribers.includes(subscriber)) continue;
|
|
184
|
+
try {
|
|
185
|
+
if (subscriber.listener(event) === true && subscriber.isFirst) return;
|
|
186
|
+
} catch (error) {
|
|
187
|
+
report(error);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
function recordTouches(view, event) {
|
|
192
|
+
const channels = streams.get(view);
|
|
193
|
+
if (channels?.has("touchend") !== true || !channels.has("touchcancel")) {
|
|
194
|
+
forgetFingers(view);
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const { touches } = event;
|
|
198
|
+
const starts = touchRecords.get(view)?.starts ?? 0;
|
|
199
|
+
touchRecords.set(view, {
|
|
200
|
+
fingers: touches?.length ?? 0,
|
|
201
|
+
starts: event.type === "touchstart" ? starts + 1 : starts
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
function forgetFingers(view) {
|
|
205
|
+
const record = touchRecords.get(view);
|
|
206
|
+
if (record != null) touchRecords.set(view, {
|
|
207
|
+
fingers: 0,
|
|
208
|
+
starts: record.starts
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
function recordPress(view, event) {
|
|
212
|
+
const { pointerId, clientX, clientY } = event;
|
|
213
|
+
if (typeof pointerId !== "number") return;
|
|
214
|
+
let presses = downPresses.get(view);
|
|
215
|
+
if (event.type === "pointerup" || event.type === "pointercancel") {
|
|
216
|
+
presses?.delete(pointerId);
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
if (event.type !== "pointerdown" && !(event.type === "pointermove" && presses?.has(pointerId) === true) || typeof clientX !== "number" || typeof clientY !== "number") return;
|
|
220
|
+
if (presses == null) {
|
|
221
|
+
presses = /* @__PURE__ */ new Map();
|
|
222
|
+
downPresses.set(view, presses);
|
|
223
|
+
}
|
|
224
|
+
presses.set(pointerId, {
|
|
225
|
+
x: clientX,
|
|
226
|
+
y: clientY
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
function report(error) {
|
|
230
|
+
if (typeof globalThis.reportError === "function") {
|
|
231
|
+
globalThis.reportError(error);
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
queueMicrotask(() => {
|
|
235
|
+
throw error;
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
//#endregion
|
|
239
|
+
export { realmValue as a, sharedState as c, subscribeInput as i, sharedWeakMap as l, getLastMousePoint as n, sharedKey as o, getLastPointerType as r, sharedMap as s, getDownPresses as t, sharedWeakSet as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as batchPresented, t as areaOf } from "./handle-
|
|
2
|
-
import { D as glides, S as originOf, T as visibleRect, a as flush, b as transitionSettles, c as onGlideClock, d as layoutMotion, h as beginChange, l as rectOf, n as batches, o as bandFor, s as collectCandidates, t as batchFor, y as settleTransition } from "./batch-
|
|
1
|
+
import { s as batchPresented, t as areaOf } from "./handle-ma1yF_B_.js";
|
|
2
|
+
import { D as glides, S as originOf, T as visibleRect, a as flush, b as transitionSettles, c as onGlideClock, d as layoutMotion, h as beginChange, l as rectOf, n as batches, o as bandFor, s as collectCandidates, t as batchFor, y as settleTransition } from "./batch-DR5SgbnX.js";
|
|
3
3
|
//#region src/motion/layout/reportChange.ts
|
|
4
4
|
function resolve(target) {
|
|
5
5
|
return typeof target === "function" ? target() : target.current;
|