@astryx-vue/core 0.42.2 → 0.42.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-BkFP6tZb.js → AppShell-CLi6skwa.js} +3 -3
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-CpIDC6Wv.js → BottomSheet-DRimCV1O.js} +1 -1
- package/dist/{BottomSheet-ngtupehG.js → BottomSheet-q49-srZ5.js} +1 -1
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-Bm8vn9Cv.js → Breadcrumbs-CzEe4fKS.js} +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.js +2 -2
- package/dist/{Code-BWZ2fvkr.js → Code-CXHaEk36.js} +1 -1
- package/dist/{CodeBlock-B__g42B_.js → CodeBlock-BGaaySc8.js} +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-CXEBaPbo.js → ComplexSelector-CipXIUa4.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-B9UlXANv.js → ContextMenu-F315dVbZ.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BMAcydbp.js → DateInput-D0TJlbEE.js} +2 -2
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-DLvd8izI.js → DateRangeInput-CcNQTdtg.js} +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Cq57Vm5c.js → DateTimeInput-BjtzVqV5.js} +3 -3
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +1 -1
- package/dist/{DropdownMenu-bFq5UM7K.js → DropdownMenu-B6lOBGrw.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/Layout/index.js +2 -2
- package/dist/{Layout-DlfCompe.js → Layout-DdsbcT6Z.js} +1 -1
- package/dist/{LayoutPanel-DCDIV9LU.js → LayoutPanel-0yi1xept.js} +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-Ge25N7ec.js → Lightbox-TatgdqWu.js} +2 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/LongPressGestureRecognizer-C1JQQdg-.js +111 -0
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-BUkKWRcl.js → Markdown-qm8WwwjD.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-TcYQyyki.js → MultiSelector-BBetuRV7.js} +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-1ZayZgit.js → Pagination-9ZlklMvN.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-D34Lo-Cr.js → Popover-BXB3DaAJ.js} +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-DBUQWnPi.js → PowerSearch-BHs855Bg.js} +8 -8
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/ScrollableArea/index.js +1 -1
- package/dist/{ScrollableArea-Cflez3d4.js → ScrollableArea-CJsSDN45.js} +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-P_jhOpNI.js → Selector-DERRZ5Hh.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Stack/index.js +1 -1
- package/dist/{Stack-Byxur1jV.js → Stack-Bj3MyHVh.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-x-1Z7nWH.js → Table-DCUCpmv8.js} +6 -6
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-BqOuAcGd.js → TimeField-6UCe0-g2.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-n9ANugSL.js → TimeInput-qDkdX2tw.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-CHhnsfO1.js → Tokenizer-DiekBXC-.js} +2 -2
- 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/composables/index.d.ts +1 -1
- package/dist/composables/index.js +2 -2
- package/dist/{composables-CJ5vBpZ6.js → composables-BOeRkIEw.js} +2 -1
- package/dist/{index-CqXJYXT-.d.ts → index-0RIgvtdm.d.ts} +2 -2
- package/dist/{index-Pad9p8CU.d.ts → index-Ak1b0V24.d.ts} +1 -1
- package/dist/{index-DPhQZXYw.d.ts → index-B44fLswd.d.ts} +1 -1
- package/dist/{index-C4viybIG.d.ts → index-B7vE2Dx8.d.ts} +2 -2
- package/dist/{index-CHnP91LU.d.ts → index-BXvmomsn.d.ts} +33 -33
- package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
- package/dist/{index-B75VMKvS.d.ts → index-C0IsP4GS.d.ts} +2 -2
- package/dist/{index-EAKu_r6h.d.ts → index-C3DG2coR.d.ts} +3 -3
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-BzaRSOA3.d.ts → index-CLbslOVk.d.ts} +1 -7
- package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
- package/dist/{index-CJT9kM7e.d.ts → index-CyNP_83A.d.ts} +2 -2
- package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
- package/dist/{index-BtqvPjAf.d.ts → index-Dk50Zh3F.d.ts} +1 -1
- package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
- package/dist/index.d.ts +17 -17
- package/dist/index.js +28 -28
- package/dist/internal/touch.d.ts +125 -1
- package/dist/internal/touch.js +5 -1
- package/dist/{lazyBottomSheet-BzI1mp-I.js → lazyBottomSheet-BfDsDl4w.js} +1 -1
- package/dist/scrollGeometry-CJXEydlQ.d.ts +21 -0
- package/dist/{scrollGeometry-ivD7aoBo.js → scrollGeometry-ajfQQRJt.js} +9 -1
- package/dist/{scrollKeyboardDelegation-DZ4t5PvC.js → scrollKeyboardDelegation-COtRAAWq.js} +1 -1
- package/dist/{snapPagingCatcher-Cskp7W35.js → snapPagingCatcher-DUb8YU3G.js} +3 -111
- package/dist/{useScrollRegionProps-DwkPUb-O.js → useScrollRegionProps-D5fMvdfn.js} +1 -1
- package/dist/{useScrollableArea-BaHkGWbX.js → useScrollableArea-i2X5vvTv.js} +2 -2
- package/package.json +1 -1
- package/dist/{index-J6YRJ7Ul.d.ts → index-5FGt4HsB.d.ts} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as _sfc_main$11 } from "./BottomSheet-
|
|
1
|
+
import { n as _sfc_main$11 } from "./BottomSheet-q49-srZ5.js";
|
|
2
2
|
import { t as isRenderable } from "./isRenderable-BnKHIqfd.js";
|
|
3
3
|
import { i as useClickableContainer, n as hasInteractiveAncestor, r as hasTextSelection, t as INTERACTIVE_SELECTORS } from "./useClickableContainer-Dtjg-nkm.js";
|
|
4
4
|
import { t as usePressFeedback } from "./usePressFeedback-DkWA1son.js";
|
|
@@ -18,7 +18,7 @@ import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
|
18
18
|
import { n as watchMediaQuery, t as useMediaQuery } from "./useMediaQuery-DKnSDG3S.js";
|
|
19
19
|
import { n as firstCharacter, r as truncateCharacters, t as characterCount } from "./characters-wTnzjkkR.js";
|
|
20
20
|
import { n as useDevWarning, t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
21
|
-
import { S as createAnimator, _ as useControllableState, a as useReorderable, b as createReorderable, c as useKeyboardHint, d as perceptualLightness, f as useImageMode, g as useDragToSnapPoints, h as useEntryAnimation, i as useSnapPaging, l as useIndicatorFocusRing, m as useGridFocus, n as snapToGraphemeBoundary, o as usePanGesture, p as useGridRovingFocus, r as useStreamingText, s as useLinkify, t as useTouchTrigger, u as imageModeFromPixels, v as useContainerReveal, x as createDragToSnapPoints, y as useAnimator } from "./composables-
|
|
21
|
+
import { S as createAnimator, _ as useControllableState, a as useReorderable, b as createReorderable, c as useKeyboardHint, d as perceptualLightness, f as useImageMode, g as useDragToSnapPoints, h as useEntryAnimation, i as useSnapPaging, l as useIndicatorFocusRing, m as useGridFocus, n as snapToGraphemeBoundary, o as usePanGesture, p as useGridRovingFocus, r as useStreamingText, s as useLinkify, t as useTouchTrigger, u as imageModeFromPixels, v as useContainerReveal, x as createDragToSnapPoints, y as useAnimator } from "./composables-BOeRkIEw.js";
|
|
22
22
|
import { c as useItemDescriptionId, f as createPanGesture, l as useListContext } from "./itemSlots-CIQbrKkZ.js";
|
|
23
23
|
import { a as useAstryxLocale, i as provideAstryxLocale, o as useComponentMessages, r as normalizeLocale } from "./context-B8IEFCDR.js";
|
|
24
24
|
import { n as listMessages, t as keyboardHintMessages } from "./keyboard-hint-DZrL82bU.js";
|
|
@@ -57,7 +57,7 @@ import { n as computeOverflow, t as useOverflow } from "./useOverflow-GU0pxGaU.j
|
|
|
57
57
|
import { t as usePendingChange } from "./usePendingChange-ib-h8FZK.js";
|
|
58
58
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
59
59
|
import { t as useRestoreFocus } from "./useRestoreFocus-m3rsqE4d.js";
|
|
60
|
-
import { t as useScrollableArea } from "./useScrollableArea-
|
|
60
|
+
import { t as useScrollableArea } from "./useScrollableArea-i2X5vvTv.js";
|
|
61
61
|
import { t as useScrollLock } from "./scrollLock-CoVg9lLU.js";
|
|
62
62
|
import { t as useScrollOverflow } from "./useScrollOverflow-DuMoGXmm.js";
|
|
63
63
|
import { n as observeResize, r as unobserveResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
@@ -74,11 +74,11 @@ import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
|
74
74
|
import { t as _sfc_main$155 } from "./Stack-DPB-Ztf7.js";
|
|
75
75
|
import { t as _sfc_main$173 } from "./Text-BLPg6wdX.js";
|
|
76
76
|
import { n as _sfc_main, t as useImperativeAlertDialog } from "./AlertDialog-sk5DEUX7.js";
|
|
77
|
-
import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-
|
|
77
|
+
import { a as _sfc_main$100, n as _sfc_main$103, r as _sfc_main$101, t as _sfc_main$104 } from "./LayoutPanel-0yi1xept.js";
|
|
78
78
|
import { t as layoutMessages } from "./layout-DhX4-SyE.js";
|
|
79
79
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
80
80
|
import { n as _sfc_main$114, t as _sfc_main$115 } from "./MobileNavToggle-DYKJC6X6.js";
|
|
81
|
-
import { t as _sfc_main$1 } from "./AppShell-
|
|
81
|
+
import { t as _sfc_main$1 } from "./AppShell-CLi6skwa.js";
|
|
82
82
|
import { n as WIDTH_BREAKPOINT_NAMES, t as DEFAULT_WIDTH_BREAKPOINTS } from "./adaptationTypes-Beao49TN.js";
|
|
83
83
|
import { t as _sfc_main$2 } from "./AspectRatio-Bij7e-tq.js";
|
|
84
84
|
import { n as _sfc_main$3, t as _sfc_main$6 } from "./Avatar-BQz-P6TD.js";
|
|
@@ -90,12 +90,12 @@ import { t as bannerMessages } from "./banner-Bv76b50U.js";
|
|
|
90
90
|
import { t as _sfc_main$8 } from "./Banner-CW4g5z40.js";
|
|
91
91
|
import { t as _sfc_main$10 } from "./Blockquote-DRoKdcxZ.js";
|
|
92
92
|
import "./Blockquote/index.js";
|
|
93
|
-
import { t as _sfc_main$12 } from "./BottomSheet-
|
|
93
|
+
import { t as _sfc_main$12 } from "./BottomSheet-DRimCV1O.js";
|
|
94
94
|
import { t as _sfc_main$97 } from "./Item-DznHXYbG.js";
|
|
95
95
|
import { t as createSwipe } from "./createSwipe-DXObfkyb.js";
|
|
96
96
|
import { t as _sfc_main$43 } from "./CheckboxIndicator-fH4d-JE1.js";
|
|
97
97
|
import { a as _sfc_main$16, l as useDropdownMenuContext, m as useContextMenuSize, o as _sfc_main$15, p as useContextMenu, s as _sfc_main$14, u as useDropdownMenuRadioGroup } from "./accessibleName-BVk1Rzrl.js";
|
|
98
|
-
import { a as _sfc_main$75, i as _sfc_main$76, n as _sfc_main$78, r as _sfc_main$77, t as _sfc_main$74 } from "./DropdownMenu-
|
|
98
|
+
import { a as _sfc_main$75, i as _sfc_main$76, n as _sfc_main$78, r as _sfc_main$77, t as _sfc_main$74 } from "./DropdownMenu-B6lOBGrw.js";
|
|
99
99
|
import { n as compactDefinition, t as DEFAULT_COMPACT_DEFINITION } from "./compactDefinition-D32f2O_H.js";
|
|
100
100
|
import { t as _sfc_main$71 } from "./Divider-mOZ6vIQw.js";
|
|
101
101
|
import { t as spinnerMessages } from "./spinner-DVia-eDf.js";
|
|
@@ -103,7 +103,7 @@ import { t as _sfc_main$154 } from "./Spinner-lLOYfbOY.js";
|
|
|
103
103
|
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-Co1ERlg-.js";
|
|
104
104
|
import { t as dropdownMenuMessages } from "./dropdown-menu-BDu4gWwQ.js";
|
|
105
105
|
import { r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
106
|
-
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-
|
|
106
|
+
import { n as _sfc_main$13, t as _sfc_main$17 } from "./Breadcrumbs-CzEe4fKS.js";
|
|
107
107
|
import { n as _sfc_main$19 } from "./ButtonGroup-CknFA9IA.js";
|
|
108
108
|
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";
|
|
109
109
|
import { t as calendarMessages } from "./calendar-Cs2vIPsV.js";
|
|
@@ -133,23 +133,23 @@ import "./CheckboxList/index.js";
|
|
|
133
133
|
import { t as citationMessages } from "./citation-h6fyz-JH.js";
|
|
134
134
|
import { t as _sfc_main$47 } from "./Citation-DXMQVSi5.js";
|
|
135
135
|
import { n as _sfc_main$48 } from "./ClickableCard-Dkt25nJP.js";
|
|
136
|
-
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-
|
|
136
|
+
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-BGaaySc8.js";
|
|
137
137
|
import { t as codeBlockMessages } from "./code-block-DCVrTLMZ.js";
|
|
138
138
|
import { g as isCodeLanguage, m as createCodeLanguage } from "./grammar-Dz71GleT.js";
|
|
139
139
|
import { i as githubDark, n as SYNTAX_TOKEN_KEYS, r as defineSyntaxTheme, t as DIFF_SYNTAX_TOKEN_KEYS } from "./syntaxTheme-R7xnu5x5.js";
|
|
140
|
-
import { _ as CodeLineTokens, 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-
|
|
140
|
+
import { _ as CodeLineTokens, 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-CXHaEk36.js";
|
|
141
141
|
import { n as _sfc_main$51, r as useCollapsible, t as _sfc_main$52 } from "./Collapsible-DqEriJMb.js";
|
|
142
142
|
import { t as commandPaletteMessages } from "./command-palette-g8Mnclgo.js";
|
|
143
143
|
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-CIpvefL3.js";
|
|
144
144
|
import { t as inputMessages } from "./input-DUSvqqG_.js";
|
|
145
145
|
import { t as selectorMessages } from "./selector-BmGLjm94.js";
|
|
146
146
|
import { t as popoverMessages } from "./popover-DxCyd_Ua.js";
|
|
147
|
-
import { n as usePopover, t as _sfc_main$131 } from "./Popover-
|
|
148
|
-
import { n as _sfc_main$60 } from "./ComplexSelector-
|
|
147
|
+
import { n as usePopover, t as _sfc_main$131 } from "./Popover-BXB3DaAJ.js";
|
|
148
|
+
import { n as _sfc_main$60 } from "./ComplexSelector-CipXIUa4.js";
|
|
149
149
|
import { t as contextMenuMessages } from "./context-menu-9i6CObx3.js";
|
|
150
|
-
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-
|
|
150
|
+
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-F315dVbZ.js";
|
|
151
151
|
import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
152
|
-
import { t as _sfc_main$66 } from "./DateInput-
|
|
152
|
+
import { t as _sfc_main$66 } from "./DateInput-D0TJlbEE.js";
|
|
153
153
|
import { t as formatInstant } from "./formatInstant-CjCwl6JS.js";
|
|
154
154
|
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";
|
|
155
155
|
import { n as alertDialogMessages, t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
@@ -179,9 +179,9 @@ import { t as treeListMessages } from "./tree-list-NZ1EZhtd.js";
|
|
|
179
179
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
180
180
|
import { n as useLocale, r as useCollator, t as useTranslator } from "./locale-5NXEHp0U.js";
|
|
181
181
|
import "./DateInput/index.js";
|
|
182
|
-
import { t as _sfc_main$67 } from "./DateRangeInput-
|
|
182
|
+
import { t as _sfc_main$67 } from "./DateRangeInput-CcNQTdtg.js";
|
|
183
183
|
import "./DateRangeInput/index.js";
|
|
184
|
-
import { t as _sfc_main$68 } from "./DateTimeInput-
|
|
184
|
+
import { t as _sfc_main$68 } from "./DateTimeInput-BjtzVqV5.js";
|
|
185
185
|
import "./DateTimeInput/index.js";
|
|
186
186
|
import { t as _sfc_main$70 } from "./DialogHeader-rLh39zHH.js";
|
|
187
187
|
import { n as useDialogContext, t as useImperativeDialog } from "./Dialog-CEbICn0m.js";
|
|
@@ -207,20 +207,20 @@ import { n as resolveProviderMessages, t as _sfc_main$96 } from "./International
|
|
|
207
207
|
import { n as useLocaleDirection, r as getLocaleDirection } from "./context-BNCjTOCB.js";
|
|
208
208
|
import "./Kbd/index.js";
|
|
209
209
|
import { n as mergeInset, r as resolveInset, t as _sfc_main$99 } from "./LayerProvider-B6zpMBWC.js";
|
|
210
|
-
import { t as _sfc_main$102 } from "./Layout-
|
|
211
|
-
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-
|
|
210
|
+
import { t as _sfc_main$102 } from "./Layout-DdsbcT6Z.js";
|
|
211
|
+
import { n as _sfc_main$105, t as useLightbox } from "./Lightbox-TatgdqWu.js";
|
|
212
212
|
import { t as _sfc_main$106 } from "./Link-5KuMIFYl.js";
|
|
213
213
|
import "./Link/index.js";
|
|
214
214
|
import { t as _sfc_main$107 } from "./LinkProvider-Qsps9_mL.js";
|
|
215
215
|
import { i as reorderableOptions, n as useListReorderScope, r as adaptReorderable, t as ListReorderScope } from "./List-BVpWTW6J.js";
|
|
216
216
|
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-Dbu2LRTf.js";
|
|
217
|
-
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, o as firstStrongDirection, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-
|
|
217
|
+
import { a as visitMarkdownNodes, i as defineMarkdownPlugin, n as applyInlinePlugins, o as firstStrongDirection, r as applyMarkdownPlugins, t as _sfc_main$110 } from "./Markdown-qm8WwwjD.js";
|
|
218
218
|
import { n as uniqueSlug, t as slugify } from "./slug-D6ln5PTq.js";
|
|
219
219
|
import { n as _sfc_main$112, t as _sfc_main$113 } from "./MetadataList-n3YXiP4a.js";
|
|
220
220
|
import "./MobileNav/index.js";
|
|
221
221
|
import { t as _sfc_main$116 } from "./MoreMenu-CsPdGjuE.js";
|
|
222
222
|
import { t as _sfc_main$185 } from "./Token-BYl3tF1p.js";
|
|
223
|
-
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-
|
|
223
|
+
import { n as SELECT_ALL_VALUE, r as flattenOptions, t as _sfc_main$117 } from "./MultiSelector-BBetuRV7.js";
|
|
224
224
|
import "./MultiSelector/index.js";
|
|
225
225
|
import { t as _sfc_main$121 } from "./NavItem-thEKXyJA.js";
|
|
226
226
|
import { t as _sfc_main$122 } from "./NavItem-BY24W2B0.js";
|
|
@@ -232,25 +232,25 @@ import "./NumberInput/index.js";
|
|
|
232
232
|
import { i as _sfc_main$126, n as useOutlineFromDOM, r as parseOutlineFromMarkdown, t as useOutlineFromMarkdown } from "./Outline-CCnTR9Pe.js";
|
|
233
233
|
import { t as _sfc_main$127 } from "./OverflowList-uk0l80Zd.js";
|
|
234
234
|
import { n as useOverlay, r as _sfc_main$129, t as _sfc_main$128 } from "./Overlay-DKILTHxI.js";
|
|
235
|
-
import { t as _sfc_main$130 } from "./Pagination-
|
|
236
|
-
import { t as _sfc_main$146 } from "./Selector-
|
|
235
|
+
import { t as _sfc_main$130 } from "./Pagination-9ZlklMvN.js";
|
|
236
|
+
import { t as _sfc_main$146 } from "./Selector-DERRZ5Hh.js";
|
|
237
237
|
import "./Pagination/index.js";
|
|
238
238
|
import { a as PALETTE_BLACK, c as PALETTE_RECIPE_V2, i as DEFAULT_21_STOPS, l as PALETTE_WHITE, n as generateTonalPalette, o as PALETTE_RECIPE, r as COMPACT_11_STOPS, s as PALETTE_RECIPES, t as themePalette } from "./palette-DlNBLR8U.js";
|
|
239
239
|
import "./Popover/index.js";
|
|
240
|
-
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-
|
|
240
|
+
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-BHs855Bg.js";
|
|
241
241
|
import { a as _sfc_main$198 } from "./useTypeaheadMenuConfig-DHX88vqs.js";
|
|
242
|
-
import { t as _sfc_main$186 } from "./Tokenizer-
|
|
242
|
+
import { t as _sfc_main$186 } from "./Tokenizer-DiekBXC-.js";
|
|
243
243
|
import { t as _sfc_main$175 } from "./TextInput-Dd0BHZ5n.js";
|
|
244
244
|
import { n as _sfc_main$134, t as _sfc_main$135 } from "./RadioGroup-BYZ9mspa.js";
|
|
245
245
|
import { n as _sfc_main$137, t as _sfc_main$138 } from "./RadioListItem-BjiT8DAp.js";
|
|
246
|
-
import { t as _sfc_main$178 } from "./TimeInput-
|
|
246
|
+
import { t as _sfc_main$178 } from "./TimeInput-qDkdX2tw.js";
|
|
247
247
|
import { n as _sfc_main$9, t as _sfc_main$197 } from "./Typeahead-oPhwt4z4.js";
|
|
248
248
|
import { t as _sfc_main$133 } from "./ProgressBar-Otv4DLQP.js";
|
|
249
249
|
import "./Radio/index.js";
|
|
250
250
|
import "./RadioList/index.js";
|
|
251
251
|
import { t as _sfc_main$139 } from "./ResizeHandle-Ch18ZZOk.js";
|
|
252
252
|
import "./Resizable/index.js";
|
|
253
|
-
import { t as _sfc_main$140 } from "./ScrollableArea-
|
|
253
|
+
import { t as _sfc_main$140 } from "./ScrollableArea-CJsSDN45.js";
|
|
254
254
|
import { t as _sfc_main$141 } from "./Scrollbars-Gvu4QVaF.js";
|
|
255
255
|
import { t as _sfc_main$142 } from "./Section-Km_FjJ-i.js";
|
|
256
256
|
import "./Section/index.js";
|
|
@@ -262,12 +262,12 @@ import { t as _sfc_main$152 } from "./Skeleton-CrgWxJgr.js";
|
|
|
262
262
|
import "./Skeleton/index.js";
|
|
263
263
|
import { t as _sfc_main$153 } from "./Slider-BrZeUJJF.js";
|
|
264
264
|
import "./Spinner/index.js";
|
|
265
|
-
import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-
|
|
265
|
+
import { n as _sfc_main$156, r as _sfc_main$87, t as _sfc_main$199 } from "./Stack-Bj3MyHVh.js";
|
|
266
266
|
import { t as _sfc_main$157 } from "./StatusDot-Ce31aeru.js";
|
|
267
267
|
import { n as _sfc_main$158, t as _sfc_main$159 } from "./Stepper-BL01wjk9.js";
|
|
268
268
|
import "./Swipe/index.js";
|
|
269
269
|
import { t as _sfc_main$160 } from "./Switch-MeieW4dP.js";
|
|
270
|
-
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-
|
|
270
|
+
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-DCUCpmv8.js";
|
|
271
271
|
import { t as _sfc_main$187 } from "./Toolbar-BHkPxDxA.js";
|
|
272
272
|
import { n as _sfc_main$163, r as _sfc_main$162, t as _sfc_main$164 } from "./TabList-XKIbMcy5.js";
|
|
273
273
|
import "./Text/index.js";
|
package/dist/internal/touch.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as measureLogicalScrollAxis, t as LogicalAxisMapping } from "../scrollGeometry-CJXEydlQ.js";
|
|
1
2
|
import { i as useFingerScroll, r as UseFingerScrollOptions, t as observeResize } from "../sharedResizeObserver-DojOEX9E.js";
|
|
2
3
|
import { MaybeRefOrGetter } from "vue";
|
|
3
4
|
//#region src/motion/springParameters.d.ts
|
|
@@ -1305,6 +1306,54 @@ type InteractionModality = 'keyboard' | 'pointer';
|
|
|
1305
1306
|
*/
|
|
1306
1307
|
export declare function focusForLastInput(element: HTMLElement, options?: FocusOptions, modality?: InteractionModality): void;
|
|
1307
1308
|
//#endregion
|
|
1309
|
+
//#region src/composables/internal/hitArea.d.ts
|
|
1310
|
+
/**
|
|
1311
|
+
* @file hitArea.ts
|
|
1312
|
+
* @input 目标的矩形和它周围可点元素的矩形
|
|
1313
|
+
* @output 触控热区的几何:目标每一边最多能往外长多少(朝 44px 长,碰到邻居就停在一半间距),
|
|
1314
|
+
* 组的整体长法,以及一次触摸该算给哪个目标
|
|
1315
|
+
* @position 内部工具,不对外导出。实时测量在 hitAreaWatch.ts,Vue 接入在 useTouchHitArea.ts。
|
|
1316
|
+
*
|
|
1317
|
+
* 手指需要 44 × 44px 的目标,但控件在手机上不一定能变大,热区也不能抢走邻居的点按。
|
|
1318
|
+
* 所以每一边朝 44px 长,长到离最近邻居一半间距的地方就停:落在间隙里的触摸总归离它更近的那个。
|
|
1319
|
+
*/
|
|
1320
|
+
/** 视口坐标里的矩形。 */
|
|
1321
|
+
interface HitRect {
|
|
1322
|
+
readonly left: number;
|
|
1323
|
+
readonly top: number;
|
|
1324
|
+
readonly right: number;
|
|
1325
|
+
readonly bottom: number;
|
|
1326
|
+
}
|
|
1327
|
+
/** 热区在目标每一边往外伸出多少,px。 */
|
|
1328
|
+
interface HitInsets {
|
|
1329
|
+
readonly top: number;
|
|
1330
|
+
readonly right: number;
|
|
1331
|
+
readonly bottom: number;
|
|
1332
|
+
readonly left: number;
|
|
1333
|
+
}
|
|
1334
|
+
//#endregion
|
|
1335
|
+
//#region src/composables/internal/hitAreaWatch.d.ts
|
|
1336
|
+
interface WatchHitAreaOptions {
|
|
1337
|
+
/**
|
|
1338
|
+
* 碰到邻居之前每一边长多少,在测量时读。组传成员的 `groupGrowth`。
|
|
1339
|
+
* @default 每条轴居中朝 44px 长
|
|
1340
|
+
*/
|
|
1341
|
+
readonly growth?: (target: HitRect, element: HTMLElement) => HitInsets;
|
|
1342
|
+
/**
|
|
1343
|
+
* 手指轻点时是否对照页面复查一次:邻居在上次测量后挪近了,这次点按就作废,不会点错。
|
|
1344
|
+
* 自己在按下时读成员位置的组关掉它。
|
|
1345
|
+
* @default true
|
|
1346
|
+
*/
|
|
1347
|
+
readonly checkAtPress?: boolean;
|
|
1348
|
+
}
|
|
1349
|
+
//#endregion
|
|
1350
|
+
//#region src/composables/internal/useTouchHitArea.d.ts
|
|
1351
|
+
/**
|
|
1352
|
+
* 在 `enabled` 为真(元素接受点按)期间看着 `element` 的热区。元素换了、关掉或卸载时停下并清掉写过的值。
|
|
1353
|
+
* 细指针下共用的测量什么都不观察,热区保持 0。
|
|
1354
|
+
*/
|
|
1355
|
+
export declare function useTouchHitArea(element: MaybeRefOrGetter<HTMLElement | null | undefined>, enabled: MaybeRefOrGetter<boolean>, options?: WatchHitAreaOptions): void;
|
|
1356
|
+
//#endregion
|
|
1308
1357
|
//#region src/utils/inputAge.d.ts
|
|
1309
1358
|
/**
|
|
1310
1359
|
* @file inputAge.ts
|
|
@@ -2594,6 +2643,81 @@ declare class GestureHost extends HostPointer {
|
|
|
2594
2643
|
/** The gesture host of a document, created on first use. */
|
|
2595
2644
|
export declare function getGestureHost(doc: Document): GestureHost;
|
|
2596
2645
|
//#endregion
|
|
2646
|
+
//#region src/gestures/LongPressGestureRecognizer.d.ts
|
|
2647
|
+
interface LongPressGestureRecognizerOptions extends GestureRecognizerOptions<LongPressGestureRecognizer> {
|
|
2648
|
+
minimumPressDuration?: number;
|
|
2649
|
+
allowableMovement?: number;
|
|
2650
|
+
/** Quick taps before the press. @default 0 */
|
|
2651
|
+
numberOfTapsRequired?: number;
|
|
2652
|
+
/** @default 1 */
|
|
2653
|
+
numberOfTouchesRequired?: number;
|
|
2654
|
+
}
|
|
2655
|
+
export declare class LongPressGestureRecognizer extends GestureRecognizer {
|
|
2656
|
+
get kind(): GestureRecognizer['kind'];
|
|
2657
|
+
/** Internal. The host's brand: a long press keeps the callout and selection off (recognizerInternals). */
|
|
2658
|
+
protected get family(): 'longPress';
|
|
2659
|
+
minimumPressDuration: number;
|
|
2660
|
+
allowableMovement: number;
|
|
2661
|
+
numberOfTapsRequired: number;
|
|
2662
|
+
numberOfTouchesRequired: number;
|
|
2663
|
+
private tapsDone;
|
|
2664
|
+
/** The taps phase's current tap: when it landed and its most fingers. */
|
|
2665
|
+
private tapStartedAt;
|
|
2666
|
+
private tapMostTouches;
|
|
2667
|
+
private isPressTimerArmed;
|
|
2668
|
+
/** When the gesture began, on the event clock. */
|
|
2669
|
+
beganAt: number | null;
|
|
2670
|
+
constructor(options?: LongPressGestureRecognizerOptions);
|
|
2671
|
+
isInvolved(): boolean;
|
|
2672
|
+
get nativeTouchBehavior(): NativeTouchBehavior;
|
|
2673
|
+
protected acceptsTouch(touch: GestureTouch): boolean;
|
|
2674
|
+
protected touchesBegan(_touches: ReadonlyArray<GestureTouch>, event: GestureEventContext): void;
|
|
2675
|
+
protected touchesMoved(touches: ReadonlyArray<GestureTouch>): void;
|
|
2676
|
+
protected touchesEnded(touches: ReadonlyArray<GestureTouch>, event: GestureEventContext): void;
|
|
2677
|
+
protected reset(): void;
|
|
2678
|
+
}
|
|
2679
|
+
//#endregion
|
|
2680
|
+
//#region src/gestures/TapGestureRecognizer.d.ts
|
|
2681
|
+
interface TapGestureRecognizerOptions extends GestureRecognizerOptions<TapGestureRecognizer> {
|
|
2682
|
+
/** @default 1 */
|
|
2683
|
+
numberOfTapsRequired?: number;
|
|
2684
|
+
/** @default 1 */
|
|
2685
|
+
numberOfTouchesRequired?: number;
|
|
2686
|
+
allowableMovement?: number;
|
|
2687
|
+
maximumIntervalBetweenTaps?: number;
|
|
2688
|
+
allowableSeparation?: number;
|
|
2689
|
+
maximumTapDuration?: number;
|
|
2690
|
+
}
|
|
2691
|
+
export declare class TapGestureRecognizer extends GestureRecognizer {
|
|
2692
|
+
get kind(): GestureRecognizer['kind'];
|
|
2693
|
+
/** Internal. The host's brand: a tap decides at the lift, so it never claims mid-move (recognizerInternals). */
|
|
2694
|
+
protected get family(): 'tap';
|
|
2695
|
+
numberOfTapsRequired: number;
|
|
2696
|
+
numberOfTouchesRequired: number;
|
|
2697
|
+
allowableMovement: number;
|
|
2698
|
+
maximumIntervalBetweenTaps: number;
|
|
2699
|
+
allowableSeparation: number;
|
|
2700
|
+
maximumTapDuration: number;
|
|
2701
|
+
private tapCount;
|
|
2702
|
+
private isTapInProgress;
|
|
2703
|
+
private maxTouchesThisTap;
|
|
2704
|
+
/** Where the first tap's fingers lifted: their centroid. */
|
|
2705
|
+
private firstTapLocation;
|
|
2706
|
+
/** The current tap's fingers: where each landed and where each lifted. */
|
|
2707
|
+
private tapStarts;
|
|
2708
|
+
private tapLifts;
|
|
2709
|
+
constructor(options?: TapGestureRecognizerOptions);
|
|
2710
|
+
get isDiscrete(): boolean;
|
|
2711
|
+
get nativeTouchBehavior(): NativeTouchBehavior;
|
|
2712
|
+
/** Taps completed so far in the current sequence. */
|
|
2713
|
+
get completedTaps(): number;
|
|
2714
|
+
isInvolved(): boolean;
|
|
2715
|
+
protected touchesBegan(touches: ReadonlyArray<GestureTouch>, event: GestureEventContext): void;
|
|
2716
|
+
protected touchesMoved(touches: ReadonlyArray<GestureTouch>): void;
|
|
2717
|
+
protected touchesEnded(touches: ReadonlyArray<GestureTouch>, event: GestureEventContext): void;
|
|
2718
|
+
protected reset(): void;
|
|
2719
|
+
}
|
|
2720
|
+
//#endregion
|
|
2597
2721
|
//#region src/gestures/useGestureRecognizer.d.ts
|
|
2598
2722
|
interface UseGestureRecognizerOptions {
|
|
2599
2723
|
/**
|
|
@@ -3464,4 +3588,4 @@ export declare function isRtlElement(el: HTMLElement | null): boolean;
|
|
|
3464
3588
|
/** The primary pointer is coarse: touch behaviours. */
|
|
3465
3589
|
export declare const TOUCH_QUERY = "(pointer: coarse)";
|
|
3466
3590
|
//#endregion
|
|
3467
|
-
export { type AnimateOptions, type GestureEventContext, type GestureTouch, type MotionCurve, type Animator as MotionEngine, type AnimatorOptions as MotionEngineOptions, type MotionHandle, type PanGestureRecognizerOptions, type PointerKind, type SpringDescription, type SpringTransition, type UseFingerScrollOptions, observeResize, useFingerScroll };
|
|
3591
|
+
export { type AnimateOptions, type GestureEventContext, type GestureTouch, type LogicalAxisMapping, type MotionCurve, type Animator as MotionEngine, type AnimatorOptions as MotionEngineOptions, type MotionHandle, type PanGestureRecognizerOptions, type PointerKind, type SpringDescription, type SpringTransition, type UseFingerScrollOptions, measureLogicalScrollAxis, observeResize, useFingerScroll };
|
package/dist/internal/touch.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as useTouchHitArea } from "../useTouchHitArea-CxqNaIyt.js";
|
|
1
2
|
import { a as registerMotionTable, f as toSpring, i as parseMotionRoleValue, r as parseCssEasing } from "../roles-D6hLs7Rg.js";
|
|
2
3
|
import { c as solveSpring, o as timing } from "../linearEasing-CDsqxyiS.js";
|
|
3
4
|
import { a as UIKIT_PAN, c as UIKIT_SCREEN_EDGE_PAN, f as scroll, r as UIKIT_GESTURES } from "../gestures-BpGkqgpV.js";
|
|
@@ -10,12 +11,15 @@ import { t as PanGestureRecognizer } from "../PanGestureRecognizer-_yCWSqMD.js";
|
|
|
10
11
|
import { t as TOUCH_QUERY } from "../touchQueries-xy5IeZfe.js";
|
|
11
12
|
import { t as isCoarsePointer } from "../coarsePointer-BWNSUIY8.js";
|
|
12
13
|
import { t as isRtlElement } from "../isRtlElement-NHuH48AA.js";
|
|
14
|
+
import { t as LongPressGestureRecognizer } from "../LongPressGestureRecognizer-C1JQQdg-.js";
|
|
13
15
|
import { t as focusForLastInput } from "../focusReturn-BeSRm0xD.js";
|
|
14
16
|
import { i as rubberBandSlope, r as rubberBandInverse, t as rubberBand } from "../rubberBand-CE3LYEUx.js";
|
|
17
|
+
import { c as measureLogicalScrollAxis } from "../scrollGeometry-ajfQQRJt.js";
|
|
15
18
|
import { n as observeResize } from "../sharedResizeObserver-BekhnB3E.js";
|
|
16
19
|
import { t as mapProgress } from "../progress-FQfSgLZC.js";
|
|
17
20
|
import { t as isFocusLost } from "../focusLeaving-Df0Dqr5v.js";
|
|
18
21
|
import { n as reducedMotionFade } from "../reducedMotion-BcstlXZU.js";
|
|
22
|
+
import { t as TapGestureRecognizer } from "../TapGestureRecognizer-CH88amVE.js";
|
|
19
23
|
import { t as useGestureRecognizer } from "../useGestureRecognizer-CozA1twZ.js";
|
|
20
24
|
import { t as useFingerScroll } from "../useFingerScroll-DO4LVzDf.js";
|
|
21
25
|
//#region src/gestures/ScreenEdgePanGestureRecognizer.ts
|
|
@@ -227,4 +231,4 @@ function registerNavigationTable() {
|
|
|
227
231
|
}
|
|
228
232
|
registerNavigationTable();
|
|
229
233
|
//#endregion
|
|
230
|
-
export { NAVIGATION_BAR_ELEMENTS_SPRING, NAVIGATION_INTERACTIVE_POP_FINISH_SPRING, NAVIGATION_POP_SPRING, NAVIGATION_PUSH_SPRING, PanGestureRecognizer, ScreenEdgePanGestureRecognizer, TOUCH_QUERY, UIKIT_GESTURES, animatorFor, createMotionEngine, cubicBezier, focusForLastInput, getGestureHost, isCoarsePointer, isFocusLost, isRtlElement, mapProgress, navigation, observeResize, parseCssEasing, parseMotionRoleValue, reducedMotionFade, resolveMotion, rubberBand, rubberBandInverse, rubberBandSlope, scroll, solveSpring, timing, toSpring, useFingerScroll, useGestureRecognizer };
|
|
234
|
+
export { LongPressGestureRecognizer, NAVIGATION_BAR_ELEMENTS_SPRING, NAVIGATION_INTERACTIVE_POP_FINISH_SPRING, NAVIGATION_POP_SPRING, NAVIGATION_PUSH_SPRING, PanGestureRecognizer, ScreenEdgePanGestureRecognizer, TOUCH_QUERY, TapGestureRecognizer, UIKIT_GESTURES, animatorFor, createMotionEngine, cubicBezier, focusForLastInput, getGestureHost, isCoarsePointer, isFocusLost, isRtlElement, mapProgress, measureLogicalScrollAxis, navigation, observeResize, parseCssEasing, parseMotionRoleValue, reducedMotionFade, resolveMotion, rubberBand, rubberBandInverse, rubberBandSlope, scroll, solveSpring, timing, toSpring, useFingerScroll, useGestureRecognizer, useTouchHitArea };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent } from "vue";
|
|
2
2
|
//#region src/BottomSheet/lazyBottomSheet.ts
|
|
3
3
|
function loadBottomSheet() {
|
|
4
|
-
return import("./BottomSheet-
|
|
4
|
+
return import("./BottomSheet-q49-srZ5.js").then((n) => n.t);
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* 按需加载的 BottomSheet:只在底部弹层真正进入组件树时请求,只用锚定浮层的页面
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/composables/internal/scrollGeometry.d.ts
|
|
2
|
+
type LogicalScrollAxis = 'inline' | 'block';
|
|
3
|
+
type PhysicalScrollAxis = 'x' | 'y';
|
|
4
|
+
interface LogicalAxisMapping {
|
|
5
|
+
inline: PhysicalScrollAxis;
|
|
6
|
+
block: PhysicalScrollAxis;
|
|
7
|
+
inlineReversed: boolean;
|
|
8
|
+
blockReversed: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface MeasuredScrollAxisState {
|
|
11
|
+
isScrollable: boolean;
|
|
12
|
+
atStart: boolean;
|
|
13
|
+
atEnd: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 读计算样式后量一条逻辑轴的滚动状态。量不了(没连在文档上、`display: none`、宽高为 0)时
|
|
17
|
+
* 返回 null。
|
|
18
|
+
*/
|
|
19
|
+
declare function measureLogicalScrollAxis(element: HTMLElement, axis: LogicalScrollAxis, mapping: LogicalAxisMapping): MeasuredScrollAxisState | null;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { MeasuredScrollAxisState as n, measureLogicalScrollAxis as r, LogicalAxisMapping as t };
|
|
@@ -79,6 +79,14 @@ function measureScrollAxis(element, axis, mapping, isRequested, style) {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
+
* 读计算样式后量一条逻辑轴的滚动状态。量不了(没连在文档上、`display: none`、宽高为 0)时
|
|
83
|
+
* 返回 null。
|
|
84
|
+
*/
|
|
85
|
+
function measureLogicalScrollAxis(element, axis, mapping) {
|
|
86
|
+
const style = getComputedStyle(element);
|
|
87
|
+
return isMeasurable(element, style) ? measureScrollAxis(element, axis, mapping, true, style) : null;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
82
90
|
* 滚动之后读一条逻辑轴的位置,不读计算样式。
|
|
83
91
|
*
|
|
84
92
|
* 滚动只挪偏移量:书写方向映射和 overflow 能不能滚还是上一次完整测量读到的,由调用方把映射传进来。
|
|
@@ -101,4 +109,4 @@ function measureScrollPosition(element, axis, mapping) {
|
|
|
101
109
|
};
|
|
102
110
|
}
|
|
103
111
|
//#endregion
|
|
104
|
-
export { isMeasurable as a,
|
|
112
|
+
export { isMeasurable as a, measureLogicalScrollAxis as c, measureScrollPosition as d, getLogicalAxisMapping as i, measureOverflow as l, INACTIVE_AXIS_STATE as n, isScrollCapableOverflow as o, axisStatesEqual as r, mappingsEqual as s, DEFAULT_AXIS_MAPPING as t, measureScrollAxis as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FOCUSABLE_SELECTOR } from "./focus-x7mxEqjR.js";
|
|
2
|
-
import { o as isScrollCapableOverflow } from "./scrollGeometry-
|
|
2
|
+
import { o as isScrollCapableOverflow } from "./scrollGeometry-ajfQQRJt.js";
|
|
3
3
|
//#region src/composables/internal/scrollOwnerRegistry.ts
|
|
4
4
|
const owners = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function registerScrollOwner(element, state) {
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { a as registerMotionTable, f as toSpring } from "./roles-D6hLs7Rg.js";
|
|
2
2
|
import { c as solveSpring } from "./linearEasing-CDsqxyiS.js";
|
|
3
|
-
import { d as registerScrollTable, f as scroll
|
|
3
|
+
import { d as registerScrollTable, f as scroll } from "./gestures-BpGkqgpV.js";
|
|
4
4
|
import { r as SETTLE_THRESHOLD } from "./animator-D6Buqmbt.js";
|
|
5
5
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
6
6
|
import { n as solveDecay } from "./decay-ClFADeqT.js";
|
|
7
|
-
import {
|
|
8
|
-
import { n as GestureRecognizer } from "./PanGestureRecognizer-_yCWSqMD.js";
|
|
9
|
-
import { n as lockSelection } from "./selectionLock-BM8XEZQD.js";
|
|
10
|
-
import { r as travel } from "./geometry-BDCUnbgh.js";
|
|
7
|
+
import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-C1JQQdg-.js";
|
|
11
8
|
//#region src/motion/coast.ts
|
|
12
9
|
/** A curve that holds `end` from `duration` on. */
|
|
13
10
|
function settling(duration, end, at, velocity) {
|
|
@@ -76,111 +73,6 @@ function coast(animator, velocity, options = {}) {
|
|
|
76
73
|
return curves;
|
|
77
74
|
}
|
|
78
75
|
//#endregion
|
|
79
|
-
//#region src/gestures/LongPressGestureRecognizer.ts
|
|
80
|
-
var LongPressGestureRecognizer = class extends GestureRecognizer {
|
|
81
|
-
get kind() {
|
|
82
|
-
return "longPress";
|
|
83
|
-
}
|
|
84
|
-
/** Internal. The host's brand: a long press keeps the callout and selection off (recognizerInternals). */
|
|
85
|
-
get family() {
|
|
86
|
-
return "longPress";
|
|
87
|
-
}
|
|
88
|
-
minimumPressDuration;
|
|
89
|
-
allowableMovement;
|
|
90
|
-
numberOfTapsRequired;
|
|
91
|
-
numberOfTouchesRequired;
|
|
92
|
-
tapsDone = 0;
|
|
93
|
-
/** The taps phase's current tap: when it landed and its most fingers. */
|
|
94
|
-
tapStartedAt = null;
|
|
95
|
-
tapMostTouches = 0;
|
|
96
|
-
isPressTimerArmed = false;
|
|
97
|
-
/** When the gesture began, on the event clock. */
|
|
98
|
-
beganAt = null;
|
|
99
|
-
constructor(options = {}) {
|
|
100
|
-
super({
|
|
101
|
-
...options,
|
|
102
|
-
selectionLock: options.selectionLock !== void 0 ? options.selectionLock : (options.minimumPressDuration ?? UIKIT_LONG_PRESS.minimumPressDuration.value) > 0 ? lockSelection : null
|
|
103
|
-
});
|
|
104
|
-
this.minimumPressDuration = options.minimumPressDuration ?? UIKIT_LONG_PRESS.minimumPressDuration.value;
|
|
105
|
-
this.allowableMovement = options.allowableMovement ?? UIKIT_LONG_PRESS.allowableMovement.value;
|
|
106
|
-
this.numberOfTapsRequired = options.numberOfTapsRequired ?? 0;
|
|
107
|
-
this.numberOfTouchesRequired = options.numberOfTouchesRequired ?? 1;
|
|
108
|
-
}
|
|
109
|
-
isInvolved() {
|
|
110
|
-
return super.isInvolved() || this.tapsDone > 0;
|
|
111
|
-
}
|
|
112
|
-
get nativeTouchBehavior() {
|
|
113
|
-
return MANIPULATION;
|
|
114
|
-
}
|
|
115
|
-
acceptsTouch(touch) {
|
|
116
|
-
if (isActive(this.state)) return false;
|
|
117
|
-
return super.acceptsTouch(touch);
|
|
118
|
-
}
|
|
119
|
-
touchesBegan(_touches, event) {
|
|
120
|
-
if (this.numberOfTouches > this.numberOfTouchesRequired) {
|
|
121
|
-
this.setState("failed");
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
if (this.tapsDone > 0) this.clearTimer();
|
|
125
|
-
if (this.tapsDone < this.numberOfTapsRequired) {
|
|
126
|
-
this.tapStartedAt ??= event.time;
|
|
127
|
-
this.tapMostTouches = Math.max(this.tapMostTouches, this.numberOfTouches);
|
|
128
|
-
}
|
|
129
|
-
if (this.numberOfTouches === this.numberOfTouchesRequired && this.tapsDone >= this.numberOfTapsRequired) {
|
|
130
|
-
if (this.minimumPressDuration <= 0) {
|
|
131
|
-
this.beganAt = event.time;
|
|
132
|
-
this.setState("began");
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
|
-
this.isPressTimerArmed = true;
|
|
136
|
-
this.setTimer(event.time + this.minimumPressDuration, () => {
|
|
137
|
-
this.isPressTimerArmed = false;
|
|
138
|
-
if (this.state === "possible" && this.numberOfTouches === this.numberOfTouchesRequired) {
|
|
139
|
-
this.beganAt = this.now();
|
|
140
|
-
this.setState("began");
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
touchesMoved(touches) {
|
|
146
|
-
if (this.state === "possible") {
|
|
147
|
-
if (touches.some((touch) => travel(touch) > this.allowableMovement)) this.setState("failed");
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
if (isActive(this.state)) this.setState("changed");
|
|
151
|
-
}
|
|
152
|
-
touchesEnded(touches, event) {
|
|
153
|
-
if (isActive(this.state)) {
|
|
154
|
-
this.setState("ended");
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
if (this.isPressTimerArmed || this.tapsDone >= this.numberOfTapsRequired) {
|
|
158
|
-
this.setState("failed");
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
if (this.numberOfTouches - touches.length > 0) return;
|
|
162
|
-
const heldFor = event.time - (this.tapStartedAt ?? event.time);
|
|
163
|
-
const fingers = this.tapMostTouches;
|
|
164
|
-
this.tapStartedAt = null;
|
|
165
|
-
this.tapMostTouches = 0;
|
|
166
|
-
if (heldFor > UIKIT_TAP.maximumTapDuration.value || fingers !== this.numberOfTouchesRequired) {
|
|
167
|
-
this.setState("failed");
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
this.tapsDone += 1;
|
|
171
|
-
this.setTimer(event.time + UIKIT_TAP.maximumIntervalBetweenTaps.value, () => {
|
|
172
|
-
this.setState("failed");
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
reset() {
|
|
176
|
-
this.tapsDone = 0;
|
|
177
|
-
this.tapStartedAt = null;
|
|
178
|
-
this.tapMostTouches = 0;
|
|
179
|
-
this.isPressTimerArmed = false;
|
|
180
|
-
this.beganAt = null;
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
//#endregion
|
|
184
76
|
//#region src/motion/uikit/paging.ts
|
|
185
77
|
/**
|
|
186
78
|
* @file paging.ts
|
|
@@ -405,4 +297,4 @@ var SettleCatcher = class extends LongPressGestureRecognizer {
|
|
|
405
297
|
}
|
|
406
298
|
};
|
|
407
299
|
//#endregion
|
|
408
|
-
export { coast as
|
|
300
|
+
export { coast as i, paging as n, registerPagingTable as r, SettleCatcher as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isMeasurable, i as getLogicalAxisMapping,
|
|
1
|
+
import { a as isMeasurable, i as getLogicalAxisMapping, u as measureScrollAxis } from "./scrollGeometry-ajfQQRJt.js";
|
|
2
2
|
import { n as observeResize } from "./sharedResizeObserver-BekhnB3E.js";
|
|
3
3
|
import { computed, onScopeDispose, shallowRef, toValue, watch } from "vue";
|
|
4
4
|
//#region src/composables/internal/mainOverflow.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as isMeasurable,
|
|
2
|
-
import { n as registerScrollOwner, r as unregisterScrollOwner, t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-
|
|
1
|
+
import { a as isMeasurable, d as measureScrollPosition, i as getLogicalAxisMapping, l as measureOverflow, n as INACTIVE_AXIS_STATE, r as axisStatesEqual, s as mappingsEqual, t as DEFAULT_AXIS_MAPPING, u as measureScrollAxis } from "./scrollGeometry-ajfQQRJt.js";
|
|
2
|
+
import { n as registerScrollOwner, r as unregisterScrollOwner, t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-COtRAAWq.js";
|
|
3
3
|
import { computed, onBeforeUnmount, ref, shallowRef, watch } from "vue";
|
|
4
4
|
//#region src/composables/internal/scrollInvalidation.ts
|
|
5
5
|
const MEASURE_PROPERTIES = [
|
package/package.json
CHANGED
|
@@ -44,8 +44,8 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
|
|
|
44
44
|
}>, {
|
|
45
45
|
size: TokenSize;
|
|
46
46
|
disabled: boolean;
|
|
47
|
-
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
48
47
|
labelHidden: boolean;
|
|
48
|
+
color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
|
|
49
49
|
removable: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|