@astryx-vue/core 0.36.0 → 0.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-rndlABEe.js → AlertDialog-Dz8T0KIa.js} +5 -5
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-eVrOpRqn.js → AppShell-ClZ2Y8cu.js} +2 -2
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/{AvatarGroup-BEBUEhxF.js → AvatarGroup-DhSPWemf.js} +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/{Banner-CVBNGDsD.js → Banner-DeauKxQw.js} +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-B3qXtKQj.js → BottomSheet-CRHPDrmS.js} +3 -3
- package/dist/{BottomSheet-C6vet4pm.js → BottomSheet-CYsGu9GP.js} +48 -18
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-B-w_yw-n.js → Breadcrumbs-nO9YHygD.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/{Button-DTdlisqJ.js → Button-V6i-PeBt.js} +2 -2
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup-Bjzs-HAG.js → ButtonGroup-CEDeeGkY.js} +2 -2
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Carousel/index.js +1 -1
- package/dist/{Carousel-DjySyeDR.js → Carousel-5NYWpta1.js} +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-DQ6BGAvP.js → Chat-BRtDKajd.js} +231 -13
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-DSW8yq92.js → CheckboxInput-ixAs3zkT.js} +4 -4
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxListItem-B2E2O1AE.js → CheckboxListItem-DoWYdLf-.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ClickableCard/index.js +1 -1
- package/dist/{ClickableCard-D4EGX9Dh.js → ClickableCard-DuOcbNlt.js} +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BqqB2kUM.js → Code-qHt8uZqb.js} +1 -1
- package/dist/{CodeBlock-D7ZJQV5Q.js → CodeBlock-2zigEFFD.js} +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-C5xSG7oP.js → Collapsible-DfVihLCR.js} +2 -2
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-BUNdrxrB.js → CommandPalette-D07roA0D.js} +2 -2
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-m9wi7E0j.js → ComplexSelector-7OdAby6v.js} +2 -2
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-BEHfVIAq.js → ContextMenu-BIJyyObZ.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-CHeetz7k.js → DateInput-BNKoPL3j.js} +4 -4
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-D524C1wc.js → DateRangeInput-CGDlPnUb.js} +3 -3
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-sEJ-bSXg.js → DateTimeInput-CRWUAh75.js} +5 -5
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-DS3xE1B7.js → Dialog-BxijA4zr.js} +3 -3
- package/dist/{Dialog-nyLGClca.js → Dialog-CXa-tu02.js} +1 -1
- package/dist/{DialogHeader-u_AaZpyZ.js → DialogHeader-D7f97ksG.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-DqUdaZFh.js → Drawer-C3t7NKiF.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-DlAON5Jf.js → DropdownMenu-Bklf6ekH.js} +7 -7
- package/dist/Field/index.js +3 -3
- package/dist/{Field-YNS4XxpR.js → Field-CZndbiqR.js} +1 -1
- package/dist/{FieldInfoTip-DFlIBJlR.js → FieldInfoTip-Ii7lSYS8.js} +1 -1
- package/dist/{FieldLabel-i0gos7hU.js → FieldLabel-ru3qavED.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-DYVzAtvz.js → FileInput-BtVTN7LN.js} +3 -3
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-DXt8DtsN.js → IconButton-4BXILpv-.js} +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip--fZOD0ux.js → InfoTip-D2MzKXZH.js} +1 -1
- package/dist/{InputClearButton-LF0iVTVF.js → InputClearButton-Cm5Q3KK2.js} +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-D4CPVzo0.js → InputGroup-CjB_XpEy.js} +1 -1
- package/dist/{Item-BKISM91o.js → Item-CKYsTbM4.js} +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-BwSvAsLi.js → Layout-BDS2ZN6C.js} +1 -1
- package/dist/{LayoutPanel-CmzJQpnL.js → LayoutPanel-D56PBM4I.js} +2 -2
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-B32Yh8Uy.js → Lightbox-CnTXrgq6.js} +3 -3
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-DSXyw9MW.js → Link-BnM830Xa.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/List/index.js +2 -2
- package/dist/{ListItem-D3iEhvU2.js → ListItem-B1ztelEC.js} +2 -2
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BY5Bju8w.js → Markdown-JjZLAFq2.js} +2 -2
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-sC6GPVKQ.js → MobileNavToggle-CjlgmcSf.js} +3 -3
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-CcavOuxV.js → MoreMenu-CGTbwTyw.js} +4 -4
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-Diu5zHbP.js → MultiSelector-BjFYfRqV.js} +4 -4
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-DlW8noR6.js → NavItem-DTO-BEfc.js} +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-J2kmtb1B.js → NavMenu-BflnhBtX.js} +1 -1
- package/dist/{NavMenuItem-DItNRTDZ.js → NavMenuItem-CrFrczWe.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-vhm5TQon.js → NumberInput-vWUcgJU8.js} +5 -3
- package/dist/Outline/index.js +1 -1
- package/dist/{Outline-CVIDd0fN.js → Outline-D4DJTfKp.js} +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-DjWWBOkx.js → OverflowList-D9Ua6e3-.js} +1 -1
- 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-DKsePQjC.js → Pagination-DGcl38z9.js} +3 -3
- package/dist/{PanGestureRecognizer-C7hNunjF.js → PanGestureRecognizer-C-gk9mOy.js} +1 -1
- package/dist/{PickerWheel-Bf7xe6g6.js → PickerWheel-sIOSfcfO.js} +5 -5
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CKgepPJ6.js → Popover-DlCqmkYD.js} +5 -5
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-mYkORxjD.js → PowerSearch-BKhXYPRO.js} +19 -19
- package/dist/{PressTracker-DL75qEq_.js → PressTracker-CPRIrG4f.js} +2 -2
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-C-S-SnbH.js → RadioGroup-OLFNjvKt.js} +4 -4
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioListItem-DzKVK4DZ.js → RadioListItem-BAEF0vc8.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/Resizable/index.js +1 -1
- package/dist/{ResizeHandle-CaZEB4Py.js → ResizeHandle-Bd4TdK7E.js} +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-Bp7dpEjn.js → SegmentedControl-C0xXOVTv.js} +8 -8
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/SelectableCard/index.js +1 -1
- package/dist/{SelectableCard-DPWaUCGZ.js → SelectableCard-B2QbpWiT.js} +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CJmeuWhN.js → Selector-CHq3XHwH.js} +2 -2
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +1 -1
- package/dist/{SideNav-D-AQqNPx.js → SideNav-D8jQrwtL.js} +5 -5
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-DU-Yl3fd.js → Slider-Bd5fxqRa.js} +7 -7
- package/dist/Stack/index.d.ts +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/{Stepper-67SsxUne.js → Stepper-3oMdVe0c.js} +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-C6qaebkX.js → Switch-COKmqJQU.js} +8 -8
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-TbJ6y1gN.js → TabList-DjRutwar.js} +2 -2
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-DG_GVUF4.js → Table-waEj3x_o.js} +10 -10
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-D6EtmxTk.js → TextArea-BtBC4IoD.js} +6 -4
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-AngvgtdT.js → TextInput-cotkU2bC.js} +6 -4
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-DExkxw8a.js → Thumbnail-oqrKH-co.js} +2 -2
- package/dist/{TimeField-D5M2UxST.js → TimeField-BXQCZIwP.js} +3 -3
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CvjvLrIh.js → TimeInput-C_ZssG1D.js} +2 -2
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CeSb1A8c.js → Timestamp-CfzqAAX2.js} +1 -1
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-B2Fq-JYA.js → Toast-W6aKxXlF.js} +3 -3
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/ToggleButton/index.js +1 -1
- package/dist/{ToggleButton-Bn8yLHbh.js → ToggleButton-Ditxp2jT.js} +3 -3
- package/dist/Token/index.js +1 -1
- package/dist/{Token-Dpxh42Mw.js → Token-Dk6MPUkH.js} +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-B3EnI98V.js → Tokenizer-hmGkGVG7.js} +7 -7
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-D7mzM7pu.js → TopNav-D7jH9iwk.js} +3 -3
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-BmeXFFqr.js → TreeList-Dnx-uco3.js} +1 -1
- package/dist/Typeahead/index.d.ts +1 -1
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-kLp9UG-Q.js → Typeahead-Cx086Mmv.js} +3 -3
- package/dist/{accessibleName-Zr1_WoBg.js → accessibleName-CHrrgpAy.js} +2 -2
- package/dist/{boxHold-Bh1fTcXx.js → boxHold-D1G2s1tG.js} +4 -4
- package/dist/{browserClickWait-CiUtuWNK.js → browserClickWait-Cb550_M2.js} +2 -2
- package/dist/{clickGuard-Bd-jBj_G.js → clickGuard-BkegH2NW.js} +1 -1
- package/dist/composables/index.js +8 -8
- package/dist/{composables-Bb1xEruY.js → composables-CpG7bhuQ.js} +3 -3
- package/dist/{focusLeaving-DMkbxFkF.js → focusLeaving-BbZ69DYV.js} +1 -1
- package/dist/{focusReturn-DfZS7TCp.js → focusReturn-BeSRm0xD.js} +34 -3
- package/dist/{geometry-0e0f5Mjv.js → geometry-BRW7FETc.js} +6 -195
- package/dist/{haptics-DIfaJavG.js → haptics-BEgivjBd.js} +2 -2
- package/dist/{holdEntranceInput-DWqsAYll.js → holdEntranceInput-CROBPhuO.js} +1 -1
- package/dist/{index-BCAgC3fu.d.ts → index-BGUuyAMO.d.ts} +6 -6
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-CBOv5j3c.d.ts → index-BQ3cm7mP.d.ts} +2 -2
- package/dist/{index-DlFmIGsl.d.ts → index-BRr4ANpr.d.ts} +9 -9
- package/dist/{index-DHUCHxn2.d.ts → index-BWWirRm3.d.ts} +1 -1
- package/dist/{index--kbwaSXW.d.ts → index-BWzEt0gT.d.ts} +2 -2
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-BB9acgK8.d.ts → index-BgT6mH3U.d.ts} +1 -1
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-DXKtwGqX.d.ts → index-C0smuLQ8.d.ts} +83 -83
- package/dist/{index-BjqoHLMq.d.ts → index-C1e8LNx2.d.ts} +1 -1
- package/dist/{index-CEdv6aN_.d.ts → index-C6Iv6sgd.d.ts} +3 -3
- package/dist/{index-1yvu_vpF.d.ts → index-CAJMHw-g.d.ts} +4 -4
- package/dist/{index-0RIgvtdm.d.ts → index-CArP_6wv.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-CJdOt5Cc.d.ts} +2 -2
- package/dist/{index-mK1ICsVg.d.ts → index-Cm36VS1A.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BKYQ4e7M.d.ts → index-D2B3ysZr.d.ts} +1 -1
- package/dist/{index-J83fLEyo.d.ts → index-DA3DMFds.d.ts} +4 -4
- package/dist/{index-Ak1b0V24.d.ts → index-DlH0BI35.d.ts} +1 -1
- package/dist/{index-DVX2jlTQ.d.ts → index-DsWEyz1N.d.ts} +3 -3
- package/dist/{index-DYabo8TI.d.ts → index-SWw-WMTO.d.ts} +2 -2
- package/dist/{index-COgrQZIL.d.ts → index-Xc3q9f84.d.ts} +3 -3
- package/dist/{index-C93nwgTW.d.ts → index-gmY3A_Iw.d.ts} +1 -1
- package/dist/{index-yQc-te9a.d.ts → index-ql9ApSTF.d.ts} +2 -2
- package/dist/index.d.ts +27 -27
- package/dist/index.js +87 -87
- package/dist/inputAge-C-SoLwpD.js +42 -0
- package/dist/{inputHold-CvjeOOWT.js → inputHold-B53XZ8if.js} +2 -2
- package/dist/{inputHoldState-Cg1r8Ib7.js → inputHoldState-Bav14W7v.js} +1 -1
- package/dist/{inputStream-DkMWPYac.js → inputStream-DmPkJ1aU.js} +24 -1
- package/dist/{layerFocusReturn-CEvrMbxH.js → layerFocusReturn-uixUCSc8.js} +1 -1
- package/dist/{lazyBottomSheet-DlHcPsAT.js → lazyBottomSheet-zUe1mYmM.js} +1 -1
- package/dist/{resizableChannel-CaaqGvXj.js → resizableChannel-DpbFJbto.js} +1 -1
- package/dist/rideKeyboard-BCzVooOd.js +1635 -0
- package/dist/{scrollView-DcPpdCrj.js → scrollView-BGBtu5JP.js} +2 -42
- package/dist/selectionRanges-DB5jesLz.js +194 -0
- package/dist/{springs-DjAn_oV5.js → springs-CPk0tpwL.js} +1 -1
- package/dist/{useActionGroupTracking-DjIdPbfL.js → useActionGroupTracking-C-nLjHyn.js} +3 -2
- package/dist/{useChatStreamScroll-DEp17Yq9.js → useChatStreamScroll-3mJvbNtI.js} +31 -5
- package/dist/{useFocusTrap-DcjriBe1.js → useFocusTrap-Bj9GskLh.js} +1 -1
- package/dist/{useGestureRecognizer-DDd-6Km-.js → useGestureRecognizer-Di-YKr93.js} +1 -1
- package/dist/{useInputStatusIcon-m6l4qBmA.js → useInputStatusIcon-CXP2kRSe.js} +1 -1
- package/dist/{useMenuEntranceHold-C4LOzKIS.js → useMenuEntranceHold-DMHMzaRW.js} +1 -1
- package/dist/{useMenuPress-BDPqPten.js → useMenuPress-kjmot8Bn.js} +4 -4
- package/dist/useMobileKeyboard-BDPV51xl.js +806 -0
- package/dist/{usePressFeedback-D2mWzgoJ.js → usePressFeedback-CF4ISMfb.js} +3 -2
- package/dist/{useResizable-Bwv-j_9N.js → useResizable-7-uUaJ7x.js} +2 -2
- package/dist/{useRestoreFocus-DS7uQWok.js → useRestoreFocus-m3rsqE4d.js} +1 -1
- package/dist/{useTouchHitArea-DL9D10Rq.js → useTouchHitArea-CkHMLZ34.js} +1 -1
- package/package.json +1 -1
- package/styles/bottom-sheet.css +16 -0
- package/styles/chat.css +6 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as isInLayerSurface } from "./useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { t as usePressFeedback } from "./usePressFeedback-
|
|
2
|
+
import { t as usePressFeedback } from "./usePressFeedback-CF4ISMfb.js";
|
|
3
3
|
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as TypeaheadItemProps, c as TypeaheadProps, d as TypeaheadStatus, i as TypeaheadHandle, l as TypeaheadSize, n as TypeaheadDialogMenuSlotProps, o as TypeaheadListboxMenuSlotProps, r as TypeaheadEmits, s as TypeaheadMenuConfig, t as BaseTypeaheadProps, u as TypeaheadSlots } from "../types-CTjJfVYK.js";
|
|
2
|
-
import { n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
2
|
+
import { n as _default$1, r as _default, t as _default$2 } from "../index-CAJMHw-g.js";
|
|
3
3
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadDialogMenuSlotProps, type TypeaheadEmits, type TypeaheadHandle, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadListboxMenuSlotProps, type TypeaheadMenuConfig, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as _sfc_main$2 } from "../useTypeaheadMenuConfig-B14t0HGE.js";
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-Cx086Mmv.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -4,16 +4,16 @@ import { t as isImeKeyEvent } from "./ime-VY8-80S8.js";
|
|
|
4
4
|
import { t as _sfc_main$3 } from "./ButtonTooltip-ZpQP-aQg.js";
|
|
5
5
|
import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
|
|
6
6
|
import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
7
|
-
import { t as useInputStatusIcon } from "./useInputStatusIcon-
|
|
7
|
+
import { t as useInputStatusIcon } from "./useInputStatusIcon-CXP2kRSe.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
12
|
import { t as _sfc_main$4 } from "./Spinner-D1adu3uH.js";
|
|
13
|
-
import { t as _sfc_main$5 } from "./Field-
|
|
13
|
+
import { t as _sfc_main$5 } from "./Field-CZndbiqR.js";
|
|
14
14
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
|
-
import { t as _sfc_main$6 } from "./Token-
|
|
16
|
+
import { t as _sfc_main$6 } from "./Token-Dk6MPUkH.js";
|
|
17
17
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BU1CKW7m.js";
|
|
18
18
|
import { i as _sfc_main$7, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as useLatchedOptionGrid, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig-B14t0HGE.js";
|
|
19
19
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as readLayerScoped, t as defineLayerScopedKey } from "./scopedProvide-C-Df7c15.js";
|
|
2
2
|
import { t as _sfc_main$4 } from "./Icon-Dk0jccgU.js";
|
|
3
|
-
import { t as focusForLastInput } from "./focusReturn-
|
|
3
|
+
import { t as focusForLastInput } from "./focusReturn-BeSRm0xD.js";
|
|
4
4
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
5
5
|
import { r as keepDisabledRowUnfocused } from "./menuActivation-BQqnzKAX.js";
|
|
6
|
-
import { t as _sfc_main$5 } from "./Item-
|
|
6
|
+
import { t as _sfc_main$5 } from "./Item-CKYsTbM4.js";
|
|
7
7
|
import { t as _sfc_main$6 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
8
8
|
import { r as useCompactDefinition } from "./compactDefinition-BeFUKEFg.js";
|
|
9
9
|
import { r as readCompactTouch } from "./presentationHold-ZKixVLcz.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as armClickGuard } from "./clickGuard-
|
|
2
|
-
import {
|
|
3
|
-
import { n as installBoxHold } from "./usePressFeedback-
|
|
1
|
+
import { t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
2
|
+
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
3
|
+
import { n as installBoxHold } from "./usePressFeedback-CF4ISMfb.js";
|
|
4
4
|
import { n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
5
5
|
import { n as watchPressClaims } from "./pressClaim-DvdlIn4w.js";
|
|
6
|
-
import { n as clickForLift, t as awaitBrowserClick } from "./browserClickWait-
|
|
6
|
+
import { n as clickForLift, t as awaitBrowserClick } from "./browserClickWait-Cb550_M2.js";
|
|
7
7
|
//#region src/composables/internal/pressBox.ts
|
|
8
8
|
/**
|
|
9
9
|
* @file pressBox.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as withoutClickGuard, t as armClickGuard } from "./clickGuard-
|
|
2
|
-
import {
|
|
1
|
+
import { i as withoutClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
2
|
+
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
3
3
|
/**
|
|
4
4
|
* Waits for the browser's trusted click inside `target`. Reports it after its
|
|
5
5
|
* handlers ran (a task later), or that none came within the wait. Returns
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as sharedState, n as sharedKey, t as realmValue } from "./sharedRealm-BYHklCVM.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
3
3
|
//#region src/utils/hapticSwitch.ts
|
|
4
4
|
/**
|
|
5
5
|
* @file privateAttributes/hapticSwitch.stylex.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "../useClickableContainer-Dtjg-nkm.js";
|
|
2
|
-
import { t as usePressFeedback } from "../usePressFeedback-
|
|
2
|
+
import { t as usePressFeedback } from "../usePressFeedback-CF4ISMfb.js";
|
|
3
3
|
import { n as useLayerTeleportTarget, r as useResolvedLayerTeleport, t as useLayerMountTarget } from "../useLayerMountTarget-zwZQglr2.js";
|
|
4
4
|
import { t as useDismiss } from "../useDismiss-CegXF2Zo.js";
|
|
5
5
|
import { n as useLayer } from "../tooltipTriggerRules-DIaGdkD_.js";
|
|
@@ -7,12 +7,12 @@ import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
|
|
|
7
7
|
import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
|
|
8
8
|
import { t as characterCount } from "../characters-wTnzjkkR.js";
|
|
9
9
|
import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
|
|
10
|
-
import { _ as useContainerReveal, a as usePanGesture, b as createPanGesture, c as useIndicatorFocusRing, d as useImageMode, f as useGridRovingFocus, g as useControllableState, h as useDragToSnapPoints, i as useSnapPaging, l as imageModeFromPixels, m as useEntryAnimation, n as snapToGraphemeBoundary, o as useLinkify, p as useGridFocus, r as useStreamingText, s as useKeyboardHint, t as useTouchTrigger, u as perceptualLightness, v as useAnimator, x as createAnimator, y as createDragToSnapPoints } from "../composables-
|
|
10
|
+
import { _ as useContainerReveal, a as usePanGesture, b as createPanGesture, c as useIndicatorFocusRing, d as useImageMode, f as useGridRovingFocus, g as useControllableState, h as useDragToSnapPoints, i as useSnapPaging, l as imageModeFromPixels, m as useEntryAnimation, n as snapToGraphemeBoundary, o as useLinkify, p as useGridFocus, r as useStreamingText, s as useKeyboardHint, t as useTouchTrigger, u as perceptualLightness, v as useAnimator, x as createAnimator, y as createDragToSnapPoints } from "../composables-CpG7bhuQ.js";
|
|
11
11
|
import { t as useAnimatedLayout } from "../useAnimatedLayout-Dq-cttfe.js";
|
|
12
12
|
import { t as useAnnounce } from "../announce-GU01Oix2.js";
|
|
13
13
|
import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
|
|
14
14
|
import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-7GTcK8ep.js";
|
|
15
|
-
import {
|
|
15
|
+
import { i as useChatNewMessages, r as CHAT_MESSAGE_CLASS, t as useChatStreamScroll } from "../useChatStreamScroll-3mJvbNtI.js";
|
|
16
16
|
import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
|
|
17
17
|
import { t as useCombobox } from "../useCombobox-BbDP75hw.js";
|
|
18
18
|
import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
|
|
@@ -20,21 +20,21 @@ import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l
|
|
|
20
20
|
import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
|
|
21
21
|
import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
|
|
22
22
|
import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
|
|
23
|
-
import { t as useFocusTrap } from "../useFocusTrap-
|
|
23
|
+
import { t as useFocusTrap } from "../useFocusTrap-Bj9GskLh.js";
|
|
24
24
|
import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
|
|
25
|
-
import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-
|
|
25
|
+
import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-7-uUaJ7x.js";
|
|
26
26
|
import { t as useInputContainer } from "../useInputContainer-CLhsKYZ6.js";
|
|
27
|
-
import { t as useInputStatusIcon } from "../useInputStatusIcon-
|
|
27
|
+
import { t as useInputStatusIcon } from "../useInputStatusIcon-CXP2kRSe.js";
|
|
28
28
|
import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
|
|
29
29
|
import { t as useListFocus } from "../useListFocus-Ccd_HU9T.js";
|
|
30
|
-
import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-
|
|
30
|
+
import { a as menuPressStep, c as resetMenuPress, i as MENU_PRESS_SETTLE_MS, l as useLongPress, n as useMenuPress, o as MENU_PRESS_MARKER, r as MENU_PRESS_HANDOFF_PX, s as isMenuPressActivation, t as MENU_PRESS_LIT_ATTRIBUTE } from "../useMenuPress-kjmot8Bn.js";
|
|
31
31
|
import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
|
|
32
32
|
import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
|
|
33
33
|
import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
|
|
34
34
|
import { n as computeOverflow, t as useOverflow } from "../useOverflow-GU0pxGaU.js";
|
|
35
35
|
import { t as usePendingChange } from "../usePendingChange-ib-h8FZK.js";
|
|
36
36
|
import { t as useResolvedLabelHidden } from "../useResolvedLabelHidden-B2rlWiaI.js";
|
|
37
|
-
import { t as useRestoreFocus } from "../useRestoreFocus-
|
|
37
|
+
import { t as useRestoreFocus } from "../useRestoreFocus-m3rsqE4d.js";
|
|
38
38
|
import { t as useScrollableArea } from "../useScrollableArea-BaHkGWbX.js";
|
|
39
39
|
import { t as useScrollLock } from "../scrollLock-CoVg9lLU.js";
|
|
40
40
|
import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
|
|
@@ -8,9 +8,9 @@ import { n as createMotionEngine, r as SETTLE_THRESHOLD } from "./animator-Bptiu
|
|
|
8
8
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
9
9
|
import { t as resolveMotion } from "./resolveMotion-DftkGFw6.js";
|
|
10
10
|
import { t as solveDecay } from "./decay-TluwbMlP.js";
|
|
11
|
-
import {
|
|
12
|
-
import { c as MANIPULATION, i as getGestureHost, l as isActive, r as travel } from "./geometry-
|
|
13
|
-
import { n as GestureRecognizer, t as PanGestureRecognizer } from "./PanGestureRecognizer-
|
|
11
|
+
import { o as registerSpringsTable, s as springs } from "./springs-CPk0tpwL.js";
|
|
12
|
+
import { c as MANIPULATION, i as getGestureHost, l as isActive, r as travel } from "./geometry-BRW7FETc.js";
|
|
13
|
+
import { n as GestureRecognizer, t as PanGestureRecognizer } from "./PanGestureRecognizer-C-gk9mOy.js";
|
|
14
14
|
import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
15
15
|
import { t as resolveSnapPoint } from "./resolveSnapPoint-A4dhS5jj.js";
|
|
16
16
|
import { t as useAttachment } from "./useAttachment-CGiD9rt6.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { a as trackInteractionModality, t as getInteractionModality } from "./interactionModality-4Km2ibsq.js";
|
|
2
|
+
import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
|
|
2
3
|
//#region src/composables/internal/focusReturn.ts
|
|
3
4
|
/**
|
|
4
5
|
* 焦点归还的两个小工具。浮层关闭、把焦点还给触发器时用。
|
|
@@ -24,10 +25,11 @@ function isTextEntry(element) {
|
|
|
24
25
|
* 用鼠标或手指关掉浮层后,焦点回到触发器上,但触发器不会突然亮起一圈焦点环。
|
|
25
26
|
* 文本输入类元素例外:它们本来就要画出「打字会落在这里」,多一次 blur 还可能触发校验,
|
|
26
27
|
* 所以一律直接聚焦。`options` 原样交给 `focus()`,例如 `preventScroll`。
|
|
28
|
+
* `modality` 是调用方已经读到的上一次输入,不传就读页面当前的。
|
|
27
29
|
*/
|
|
28
|
-
function focusForLastInput(element, options) {
|
|
30
|
+
function focusForLastInput(element, options, modality) {
|
|
29
31
|
trackInteractionModality();
|
|
30
|
-
if (isTextEntry(element) || getInteractionModality() !== "pointer") {
|
|
32
|
+
if (isTextEntry(element) || (modality ?? getInteractionModality()) !== "pointer") {
|
|
31
33
|
element.focus(options);
|
|
32
34
|
return;
|
|
33
35
|
}
|
|
@@ -37,5 +39,34 @@ function focusForLastInput(element, options) {
|
|
|
37
39
|
focusVisible: false
|
|
38
40
|
});
|
|
39
41
|
}
|
|
42
|
+
const temporaryFocus = /* @__PURE__ */ new WeakMap();
|
|
43
|
+
/** 撤掉本模块给 `element` 临时加的焦点停靠位;没有就什么都不做。 */
|
|
44
|
+
function releaseTemporaryFocus(element) {
|
|
45
|
+
temporaryFocus.get(element)?.();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 像 `focusForLastInput` 一样聚焦 `element`。它本来不可聚焦时,临时给一个
|
|
49
|
+
* `tabindex="-1"`,焦点一离开就撤掉,所以点击或 Tab 平时都落不到它身上。
|
|
50
|
+
* 返回撤销函数。
|
|
51
|
+
*/
|
|
52
|
+
function focusForLastInputTemporarily(element, options, modality = getInteractionModality(element.ownerDocument)) {
|
|
53
|
+
releaseTemporaryFocus(element);
|
|
54
|
+
if (!(!element.hasAttribute("tabindex") && element.tabIndex < 0 && !element.isContentEditable && !element.matches(FOCUSABLE_SELECTOR))) {
|
|
55
|
+
focusForLastInput(element, options, modality);
|
|
56
|
+
return () => {};
|
|
57
|
+
}
|
|
58
|
+
element.setAttribute("tabindex", "-1");
|
|
59
|
+
const dispose = () => {
|
|
60
|
+
if (temporaryFocus.get(element) !== dispose) return;
|
|
61
|
+
temporaryFocus.delete(element);
|
|
62
|
+
element.removeEventListener("blur", dispose);
|
|
63
|
+
if (element.getAttribute("tabindex") === "-1") element.removeAttribute("tabindex");
|
|
64
|
+
};
|
|
65
|
+
temporaryFocus.set(element, dispose);
|
|
66
|
+
focusForLastInput(element, options, modality);
|
|
67
|
+
if (element.ownerDocument.activeElement === element) element.addEventListener("blur", dispose, { once: true });
|
|
68
|
+
else dispose();
|
|
69
|
+
return dispose;
|
|
70
|
+
}
|
|
40
71
|
//#endregion
|
|
41
|
-
export {
|
|
72
|
+
export { focusForLastInputTemporarily as n, isFocusDetached as r, focusForLastInput as t };
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
1
|
+
import { c as isHTMLElement, l as isNode, n as deepActiveElement, r as parentAcrossShadow, s as isElement, t as containsAlongFlatTree } from "./flatTree-BB4yPMNL.js";
|
|
2
|
+
import { t as clockOf } from "./inputAge-C-SoLwpD.js";
|
|
3
|
+
import { i as rootOverflow, n as isInsideScrollView, r as parseTouchAction, t as SCROLLABLE_OVERFLOW } from "./scrollView-BGBtu5JP.js";
|
|
4
|
+
import { i as withoutClickGuard, n as disarmClickGuard, t as armClickGuard } from "./clickGuard-BkegH2NW.js";
|
|
4
5
|
import { n as sharedKey, t as realmValue } from "./sharedRealm-BYHklCVM.js";
|
|
5
|
-
import {
|
|
6
|
+
import { a as subscribeInput } from "./inputStream-DmPkJ1aU.js";
|
|
6
7
|
import { i as UIKIT_LONG_PRESS, o as UIKIT_PRESS, s as UIKIT_TAP } from "./gestures-yKyyMqeQ.js";
|
|
7
8
|
import { i as presentedOffsetOf, o as resolvePresented, r as presentedElements, s as watchPresentedElements } from "./presentation-Cl58tYA6.js";
|
|
8
9
|
import { t as isApplePlatform } from "./isApplePlatform-B1ju6F5B.js";
|
|
9
10
|
import { n as isIosWebKit } from "./touchQueries-xy5IeZfe.js";
|
|
10
11
|
import { i as locksSelectionFor, r as lockStyles, t as isTextEntry } from "./selectionLock-BM8XEZQD.js";
|
|
12
|
+
import { a as selectRanges, c as startsOnSelectableText, i as sameRanges, n as heldRanges, o as selectionRangesOf, r as isValidRange, s as shadowRootsOfRanges } from "./selectionRanges-DB5jesLz.js";
|
|
11
13
|
import { r as watchCoarsePointer, t as isCoarsePointer } from "./coarsePointer-BWNSUIY8.js";
|
|
12
14
|
import { t as isRtlElement } from "./isRtlElement-NHuH48AA.js";
|
|
13
15
|
import { t as holdsTouch } from "./touchHold-CciGr8hU.js";
|
|
@@ -951,197 +953,6 @@ function coalescedHistory(event, timing) {
|
|
|
951
953
|
function isPrimaryClick(event) {
|
|
952
954
|
return event.button === 0 && !(event.ctrlKey && isApplePlatform());
|
|
953
955
|
}
|
|
954
|
-
//#endregion
|
|
955
|
-
//#region src/utils/selectionRanges.ts
|
|
956
|
-
/**
|
|
957
|
-
* @file selectionRanges.ts
|
|
958
|
-
* @input A window's selection, a press's point
|
|
959
|
-
* @output selectionRangesOf and startsOnSelectableText, what a mouse or pen
|
|
960
|
-
* press reads; caretAt; and the range helpers a drag's hold uses to keep
|
|
961
|
-
* and put back the page's selection
|
|
962
|
-
* @position Read by the gesture host at a press, and by dragSelection.ts
|
|
963
|
-
*
|
|
964
|
-
* SYNC: When modified, update dragSelection.ts and gestures/hostSelection.ts.
|
|
965
|
-
*/
|
|
966
|
-
/**
|
|
967
|
-
* The page's selection now, its ranges copied; none for a collapsed or empty
|
|
968
|
-
* one. A drag's hold keeps what this read when the press began.
|
|
969
|
-
*/
|
|
970
|
-
function selectionRangesOf(view) {
|
|
971
|
-
const selection = view?.getSelection();
|
|
972
|
-
if (selection == null) return [];
|
|
973
|
-
const composed = composedRangesOf(selection, []);
|
|
974
|
-
if (composed != null) return composed.filter((range) => !range.collapsed).map(liveWhereItCan);
|
|
975
|
-
if (selection.isCollapsed) return [];
|
|
976
|
-
const ranges = [];
|
|
977
|
-
for (let index = 0; index < selection.rangeCount; index++) ranges.push(selection.getRangeAt(index).cloneRange());
|
|
978
|
-
return ranges;
|
|
979
|
-
}
|
|
980
|
-
/**
|
|
981
|
-
* Whether a press at (`x`, `y`) lands on text a drag would select. That is a
|
|
982
|
-
* text field, or a character of non-empty text whose element allows a
|
|
983
|
-
* selection. A native button's label, slotted or not, is not selectable text,
|
|
984
|
-
* because the engine starts no selection from a drag inside a button. A point
|
|
985
|
-
* beside text, which a caret query snaps to the nearest character, lands on
|
|
986
|
-
* none. Where the engine has no caret query, nothing is selectable text.
|
|
987
|
-
*/
|
|
988
|
-
function startsOnSelectableText(doc, x, y, target) {
|
|
989
|
-
if (isTextEntry(target)) return true;
|
|
990
|
-
const caret = caretAt(doc, x, y, [...ownShadowRoot(target), ...openShadowRootsOf(target)]);
|
|
991
|
-
if (caret == null) return false;
|
|
992
|
-
const { node, offset } = caret;
|
|
993
|
-
if (node.nodeType !== 3 || (node.textContent ?? "").trim() === "") return false;
|
|
994
|
-
const element = node.parentElement ?? (node.parentNode == null ? null : shadowHostOf(node.parentNode));
|
|
995
|
-
if (element == null || !allowsSelection(element) || isInButton(node)) return false;
|
|
996
|
-
const length = (node.textContent ?? "").length;
|
|
997
|
-
const range = doc.createRange();
|
|
998
|
-
if (typeof range.getClientRects !== "function") return false;
|
|
999
|
-
for (const start of [offset - 1, offset]) {
|
|
1000
|
-
if (start < 0 || start >= length) continue;
|
|
1001
|
-
range.setStart(node, start);
|
|
1002
|
-
range.setEnd(node, start + 1);
|
|
1003
|
-
for (const rect of Array.from(range.getClientRects())) if (x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom) return true;
|
|
1004
|
-
}
|
|
1005
|
-
return false;
|
|
1006
|
-
}
|
|
1007
|
-
/** Whether `node` is inside a native button, along the flat tree. */
|
|
1008
|
-
function isInButton(node) {
|
|
1009
|
-
for (let at = node; at != null; at = parentAcrossShadow(at)) if (at.nodeType === 1 && at.localName === "button") return true;
|
|
1010
|
-
return false;
|
|
1011
|
-
}
|
|
1012
|
-
/** The caret position the engine puts at a point, by either query. */
|
|
1013
|
-
function caretAt(doc, x, y, shadowRoots) {
|
|
1014
|
-
const queries = doc;
|
|
1015
|
-
if (typeof queries.caretPositionFromPoint === "function") {
|
|
1016
|
-
const position = shadowRoots.length > 0 ? queries.caretPositionFromPoint(x, y, { shadowRoots: [...shadowRoots] }) : queries.caretPositionFromPoint(x, y);
|
|
1017
|
-
return position == null ? null : {
|
|
1018
|
-
node: position.offsetNode,
|
|
1019
|
-
offset: position.offset
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
if (typeof queries.caretRangeFromPoint === "function") {
|
|
1023
|
-
const range = queries.caretRangeFromPoint(x, y);
|
|
1024
|
-
return range == null ? null : {
|
|
1025
|
-
node: range.startContainer,
|
|
1026
|
-
offset: range.startOffset
|
|
1027
|
-
};
|
|
1028
|
-
}
|
|
1029
|
-
return null;
|
|
1030
|
-
}
|
|
1031
|
-
/** Whether an element's text can be selected (`user-select` is not none). */
|
|
1032
|
-
function allowsSelection(element) {
|
|
1033
|
-
const style = element.ownerDocument.defaultView?.getComputedStyle(element);
|
|
1034
|
-
if (style == null) return false;
|
|
1035
|
-
return style.getPropertyValue("user-select") !== "none" && style.getPropertyValue("-webkit-user-select") !== "none";
|
|
1036
|
-
}
|
|
1037
|
-
/**
|
|
1038
|
-
* The ranges `selection` holds, with boundaries inside `shadowRoots` where the
|
|
1039
|
-
* engine reads composed ranges.
|
|
1040
|
-
*/
|
|
1041
|
-
function heldRanges(selection, shadowRoots) {
|
|
1042
|
-
const composed = composedRangesOf(selection, shadowRoots);
|
|
1043
|
-
if (composed != null) return composed;
|
|
1044
|
-
const ranges = [];
|
|
1045
|
-
for (let index = 0; index < selection.rangeCount; index++) ranges.push(selection.getRangeAt(index));
|
|
1046
|
-
return ranges;
|
|
1047
|
-
}
|
|
1048
|
-
/**
|
|
1049
|
-
* A live copy of `range` when both boundaries share a root, so it follows
|
|
1050
|
-
* DOM changes. A range across roots stays static: no live range holds it.
|
|
1051
|
-
*/
|
|
1052
|
-
function liveWhereItCan(range) {
|
|
1053
|
-
const live = range.startContainer.ownerDocument?.createRange();
|
|
1054
|
-
if (live == null || range.startContainer.getRootNode() !== range.endContainer.getRootNode()) return range;
|
|
1055
|
-
live.setStart(range.startContainer, range.startOffset);
|
|
1056
|
-
live.setEnd(range.endContainer, range.endOffset);
|
|
1057
|
-
return live;
|
|
1058
|
-
}
|
|
1059
|
-
/** Whether both of `range`'s boundaries still exist in the document. */
|
|
1060
|
-
function isValidRange(range) {
|
|
1061
|
-
return isValidBoundary(range.startContainer, range.startOffset) && isValidBoundary(range.endContainer, range.endOffset);
|
|
1062
|
-
}
|
|
1063
|
-
function isValidBoundary(node, offset) {
|
|
1064
|
-
const length = node.nodeType === 3 || node.nodeType === 4 || node.nodeType === 8 ? node.length : node.childNodes.length;
|
|
1065
|
-
return node.isConnected && offset >= 0 && offset <= length;
|
|
1066
|
-
}
|
|
1067
|
-
/** Whether two range lists have the same boundaries, in order. */
|
|
1068
|
-
function sameRanges(held, kept) {
|
|
1069
|
-
return held.length === kept.length && kept.every((range, index) => {
|
|
1070
|
-
const other = held[index];
|
|
1071
|
-
return other.startContainer === range.startContainer && other.startOffset === range.startOffset && other.endContainer === range.endContainer && other.endOffset === range.endOffset;
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
/**
|
|
1075
|
-
* Put `ranges` back as the selection. One range goes through
|
|
1076
|
-
* `setBaseAndExtent`, which also reaches inside a shadow root.
|
|
1077
|
-
*/
|
|
1078
|
-
function selectRanges(selection, ranges) {
|
|
1079
|
-
const [only] = ranges;
|
|
1080
|
-
if (ranges.length === 1 && typeof selection.setBaseAndExtent === "function") {
|
|
1081
|
-
selection.setBaseAndExtent(only.startContainer, only.startOffset, only.endContainer, only.endOffset);
|
|
1082
|
-
return;
|
|
1083
|
-
}
|
|
1084
|
-
selection.removeAllRanges();
|
|
1085
|
-
for (const range of ranges) {
|
|
1086
|
-
const copy = range.startContainer.ownerDocument?.createRange();
|
|
1087
|
-
if (copy == null) continue;
|
|
1088
|
-
copy.setStart(range.startContainer, range.startOffset);
|
|
1089
|
-
copy.setEnd(range.endContainer, range.endOffset);
|
|
1090
|
-
selection.addRange(copy);
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
/**
|
|
1094
|
-
* The selection's composed ranges, reaching into each open shadow root a
|
|
1095
|
-
* boundary lands on; null where the engine has no `getComposedRanges`.
|
|
1096
|
-
* Without the roots, a selection inside a shadow root reads as one around
|
|
1097
|
-
* its host.
|
|
1098
|
-
*/
|
|
1099
|
-
function composedRangesOf(selection, known) {
|
|
1100
|
-
const query = selection.getComposedRanges;
|
|
1101
|
-
if (typeof query !== "function") return null;
|
|
1102
|
-
const read = (roots) => {
|
|
1103
|
-
try {
|
|
1104
|
-
return query.call(selection, { shadowRoots: roots });
|
|
1105
|
-
} catch {
|
|
1106
|
-
try {
|
|
1107
|
-
return query.call(selection, ...roots);
|
|
1108
|
-
} catch {
|
|
1109
|
-
return null;
|
|
1110
|
-
}
|
|
1111
|
-
}
|
|
1112
|
-
};
|
|
1113
|
-
const roots = [...known];
|
|
1114
|
-
for (;;) {
|
|
1115
|
-
const ranges = read([...roots]);
|
|
1116
|
-
if (ranges == null) return null;
|
|
1117
|
-
const found = /* @__PURE__ */ new Set();
|
|
1118
|
-
for (const range of ranges) for (const [node, offset] of [[range.startContainer, range.startOffset], [range.endContainer, range.endOffset]]) for (const child of [node.childNodes[offset], node.childNodes[offset - 1]]) {
|
|
1119
|
-
const root = child?.nodeType === 1 ? child.shadowRoot : null;
|
|
1120
|
-
if (root != null && !roots.includes(root)) found.add(root);
|
|
1121
|
-
}
|
|
1122
|
-
if (found.size === 0) return ranges;
|
|
1123
|
-
roots.push(...found);
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
/** The open shadow roots on the root chains of `ranges`' boundaries. */
|
|
1127
|
-
function shadowRootsOfRanges(ranges) {
|
|
1128
|
-
const roots = /* @__PURE__ */ new Set();
|
|
1129
|
-
for (const range of ranges) for (const root of [...openShadowRootsOf(range.startContainer), ...openShadowRootsOf(range.endContainer)]) roots.add(root);
|
|
1130
|
-
return [...roots];
|
|
1131
|
-
}
|
|
1132
|
-
/**
|
|
1133
|
-
* The open shadow root `target` hosts, if any. A press on text directly under
|
|
1134
|
-
* a shadow root targets its host.
|
|
1135
|
-
*/
|
|
1136
|
-
function ownShadowRoot(target) {
|
|
1137
|
-
const root = target?.nodeType === 1 ? target.shadowRoot : null;
|
|
1138
|
-
return root == null ? [] : [root];
|
|
1139
|
-
}
|
|
1140
|
-
/** The open shadow roots on `target`'s root chain, innermost first. */
|
|
1141
|
-
function openShadowRootsOf(target) {
|
|
1142
|
-
if (target == null || typeof target.nodeType !== "number") return [];
|
|
1143
|
-
return shadowRootsOutward(target.getRootNode()).map(({ root }) => root).filter((root) => root.mode === "open");
|
|
1144
|
-
}
|
|
1145
956
|
/**
|
|
1146
957
|
* How long after its last wheel a wheel gesture ends, ms. A trackpad's
|
|
1147
958
|
* two-finger scroll waits out a slow drag's pauses for its axis, whoever
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as sharedSequence } from "./sharedRealm-BYHklCVM.js";
|
|
2
2
|
import { s as UIKIT_TAP, t as HAPTIC_VIBRATION_PATTERNS } from "./gestures-yKyyMqeQ.js";
|
|
3
|
-
import { c as MANIPULATION, n as distance, r as travel } from "./geometry-
|
|
4
|
-
import { n as GestureRecognizer } from "./PanGestureRecognizer-
|
|
3
|
+
import { c as MANIPULATION, n as distance, r as travel } from "./geometry-BRW7FETc.js";
|
|
4
|
+
import { n as GestureRecognizer } from "./PanGestureRecognizer-C-gk9mOy.js";
|
|
5
5
|
//#region src/gestures/TapGestureRecognizer.ts
|
|
6
6
|
const TAP = UIKIT_TAP;
|
|
7
7
|
var TapGestureRecognizer = class extends GestureRecognizer {
|
|
@@ -160,28 +160,28 @@ interface SelectorSlots {
|
|
|
160
160
|
//#region src/Selector/Selector.vue.d.ts
|
|
161
161
|
type __VLS_Slots = SelectorSlots;
|
|
162
162
|
declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
|
-
search: (query: string) => any;
|
|
164
163
|
change: (value: string | number | null) => any;
|
|
165
164
|
click: (event: MouseEvent) => any;
|
|
166
|
-
focus: (event: FocusEvent) => any;
|
|
167
165
|
keydown: (event: KeyboardEvent) => any;
|
|
168
166
|
"update:modelValue": (value: string | number | null) => any;
|
|
167
|
+
search: (query: string) => any;
|
|
168
|
+
focus: (event: FocusEvent) => any;
|
|
169
169
|
}, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
|
|
170
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
171
170
|
onChange?: ((value: string | number | null) => any) | undefined;
|
|
172
171
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
173
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
174
172
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
175
173
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
174
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
175
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
176
176
|
}>, {
|
|
177
|
-
isLoading: boolean;
|
|
178
|
-
variant: SelectorVariant;
|
|
179
177
|
modelValue: string | number | null;
|
|
180
178
|
isLabelHidden: boolean;
|
|
181
179
|
isOptional: boolean;
|
|
182
180
|
isRequired: boolean;
|
|
181
|
+
isLoading: boolean;
|
|
183
182
|
status: SelectorStatusInput;
|
|
184
183
|
statusVariant: SelectorStatusVariant;
|
|
184
|
+
variant: SelectorVariant;
|
|
185
185
|
indicatorPosition: SelectorIndicatorPosition;
|
|
186
186
|
isReadOnly: boolean;
|
|
187
187
|
disabled: boolean;
|
|
@@ -101,8 +101,8 @@ type __VLS_Slots = {
|
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<CenterProps, {
|
|
102
102
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
103
103
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CenterProps> & Readonly<{}>, {
|
|
104
|
-
isInline: boolean;
|
|
105
104
|
axis: CenterAxis;
|
|
105
|
+
isInline: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
107
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
108
|
declare const _default: typeof __VLS_export;
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
|
|
|
89
89
|
}, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
|
|
90
90
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
variant: DialogVariant;
|
|
93
92
|
width: string | number;
|
|
93
|
+
variant: DialogVariant;
|
|
94
94
|
padding: DialogPadding;
|
|
95
|
-
position: DialogPosition;
|
|
96
95
|
isInline: boolean;
|
|
96
|
+
position: DialogPosition;
|
|
97
97
|
purpose: DialogPurpose;
|
|
98
98
|
maxHeight: string | number;
|
|
99
99
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -174,36 +174,36 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
174
174
|
focus: () => void;
|
|
175
175
|
blur: () => void | undefined;
|
|
176
176
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
-
search: (query: string) => any;
|
|
178
177
|
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
179
178
|
click: (event: MouseEvent) => any;
|
|
180
|
-
focus: (event: FocusEvent) => any;
|
|
181
179
|
keydown: (event: KeyboardEvent) => any;
|
|
182
180
|
openChange: (isOpen: boolean) => any;
|
|
183
181
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
182
|
+
search: (query: string) => any;
|
|
183
|
+
focus: (event: FocusEvent) => any;
|
|
184
184
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
185
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
186
185
|
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
187
186
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
188
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
189
187
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
190
188
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
191
189
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
190
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
191
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
192
192
|
}>, {
|
|
193
193
|
required: boolean;
|
|
194
|
-
isLoading: boolean;
|
|
195
|
-
variant: MultiSelectorVariant;
|
|
196
194
|
modelValue: readonly (string | number)[];
|
|
195
|
+
isLoading: boolean;
|
|
197
196
|
status: MultiSelectorStatus;
|
|
198
197
|
statusVariant: MultiSelectorStatusVariant;
|
|
199
|
-
|
|
198
|
+
variant: MultiSelectorVariant;
|
|
200
199
|
isReadOnly: boolean;
|
|
200
|
+
labelHidden: boolean;
|
|
201
201
|
disabled: boolean;
|
|
202
202
|
clearable: boolean;
|
|
203
|
-
presentation: MultiSelectorPresentation;
|
|
204
|
-
searchable: boolean;
|
|
205
203
|
hasCreate: boolean;
|
|
206
204
|
optional: boolean;
|
|
205
|
+
presentation: MultiSelectorPresentation;
|
|
206
|
+
searchable: boolean;
|
|
207
207
|
selectAll: boolean;
|
|
208
208
|
triggerDisplay: MultiSelectorTriggerDisplay;
|
|
209
209
|
maxBadges: number;
|
|
@@ -59,8 +59,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
59
59
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
60
60
|
onActionError?: ((error: unknown, value: FileInputValue) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
size: FileInputSize;
|
|
63
62
|
modelValue: FileInputValue;
|
|
63
|
+
size: FileInputSize;
|
|
64
64
|
mode: FileInputMode;
|
|
65
65
|
isMultiple: boolean;
|
|
66
66
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,12 +10,12 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
12
|
isDisabled: boolean;
|
|
13
|
-
elevation: ButtonElevation;
|
|
14
13
|
isLoading: boolean;
|
|
14
|
+
variant: ButtonVariant;
|
|
15
|
+
elevation: ButtonElevation;
|
|
15
16
|
isIconOnly: boolean;
|
|
16
17
|
isInterruptible: boolean;
|
|
17
18
|
loadingLabel: string;
|
|
18
|
-
variant: ButtonVariant;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
|
|
|
28
28
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
block: boolean;
|
|
31
|
-
size: NavItemSize;
|
|
32
31
|
isDisabled: boolean;
|
|
32
|
+
size: NavItemSize;
|
|
33
33
|
isIconOnly: boolean;
|
|
34
34
|
isSelected: boolean;
|
|
35
35
|
isFocusableWhenDisabled: boolean;
|
|
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
|
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
|
|
20
20
|
as: StackElement;
|
|
21
|
-
direction: StackDirection;
|
|
22
21
|
wrap: StackWrap;
|
|
22
|
+
direction: StackDirection;
|
|
23
23
|
isScrollable: boolean;
|
|
24
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
@@ -111,8 +111,8 @@ type __VLS_Slots = CardSlots;
|
|
|
111
111
|
declare const __VLS_base: import("vue").DefineComponent<CardProps, {
|
|
112
112
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
113
113
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
114
|
-
elevation: CardElevation;
|
|
115
114
|
variant: keyof CardVariantMap;
|
|
115
|
+
elevation: CardElevation;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
117
117
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
118
118
|
declare const _default: typeof __VLS_export;
|