@astryx-vue/core 0.42.2 → 0.42.4

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.
Files changed (163) hide show
  1. package/dist/AppShell/index.js +1 -1
  2. package/dist/{AppShell-BkFP6tZb.js → AppShell-CLi6skwa.js} +3 -3
  3. package/dist/AvatarGroup/index.d.ts +1 -1
  4. package/dist/Banner/index.d.ts +1 -1
  5. package/dist/BottomSheet/index.js +2 -2
  6. package/dist/{BottomSheet-CpIDC6Wv.js → BottomSheet-DRimCV1O.js} +1 -1
  7. package/dist/{BottomSheet-ngtupehG.js → BottomSheet-q49-srZ5.js} +1 -1
  8. package/dist/Breadcrumbs/index.js +1 -1
  9. package/dist/{Breadcrumbs-Bm8vn9Cv.js → Breadcrumbs-CzEe4fKS.js} +1 -1
  10. package/dist/Button/index.d.ts +1 -1
  11. package/dist/ButtonGroup/index.d.ts +1 -1
  12. package/dist/Calendar/index.d.ts +1 -1
  13. package/dist/Carousel/index.d.ts +1 -1
  14. package/dist/Chat/index.d.ts +1 -1
  15. package/dist/CheckboxInput/index.d.ts +1 -1
  16. package/dist/CheckboxList/index.d.ts +1 -1
  17. package/dist/ClickableCard/index.d.ts +1 -1
  18. package/dist/Code/index.d.ts +2 -2
  19. package/dist/Code/index.js +3 -3
  20. package/dist/Code/languages/dockerfile/index.d.ts +1 -1
  21. package/dist/Code/languages/dockerfile/index.js +1 -1
  22. package/dist/Code/languages/graphql/index.d.ts +1 -1
  23. package/dist/Code/languages/graphql/index.js +1 -1
  24. package/dist/Code/languages/java/index.d.ts +1 -1
  25. package/dist/Code/languages/java/index.js +1 -1
  26. package/dist/Code/languages/lua/index.d.ts +1 -1
  27. package/dist/Code/languages/lua/index.js +1 -1
  28. package/dist/Code/languages/objective-c/index.d.ts +1 -1
  29. package/dist/Code/languages/objective-c/index.js +1 -1
  30. package/dist/Code/languages/powershell/index.d.ts +1 -1
  31. package/dist/Code/languages/powershell/index.js +1 -1
  32. package/dist/Code/languages/ruby/index.d.ts +1 -1
  33. package/dist/Code/languages/ruby/index.js +1 -1
  34. package/dist/Code/languages/thrift/index.d.ts +1 -1
  35. package/dist/Code/languages/thrift/index.js +1 -1
  36. package/dist/Code/languages/toml/index.d.ts +1 -1
  37. package/dist/Code/languages/toml/index.js +1 -1
  38. package/dist/{Code-BWZ2fvkr.js → Code-BbjuJYk5.js} +1 -1
  39. package/dist/{CodeBlock-B__g42B_.js → CodeBlock-BpjzHtSR.js} +2 -2
  40. package/dist/ComplexSelector/index.d.ts +1 -1
  41. package/dist/ComplexSelector/index.js +1 -1
  42. package/dist/{ComplexSelector-CXEBaPbo.js → ComplexSelector-CipXIUa4.js} +1 -1
  43. package/dist/ContextMenu/index.d.ts +1 -1
  44. package/dist/ContextMenu/index.js +1 -1
  45. package/dist/{ContextMenu-B9UlXANv.js → ContextMenu-F315dVbZ.js} +1 -1
  46. package/dist/DateInput/index.d.ts +1 -1
  47. package/dist/DateInput/index.js +1 -1
  48. package/dist/{DateInput-BMAcydbp.js → DateInput-D0TJlbEE.js} +2 -2
  49. package/dist/DateRangeInput/index.d.ts +1 -1
  50. package/dist/DateRangeInput/index.js +1 -1
  51. package/dist/{DateRangeInput-DLvd8izI.js → DateRangeInput-CcNQTdtg.js} +1 -1
  52. package/dist/DateTimeInput/index.d.ts +1 -1
  53. package/dist/DateTimeInput/index.js +1 -1
  54. package/dist/{DateTimeInput-Cq57Vm5c.js → DateTimeInput-BjtzVqV5.js} +3 -3
  55. package/dist/Drawer/index.d.ts +1 -1
  56. package/dist/DropdownMenu/index.js +1 -1
  57. package/dist/{DropdownMenu-bFq5UM7K.js → DropdownMenu-B6lOBGrw.js} +1 -1
  58. package/dist/Heading/index.d.ts +1 -1
  59. package/dist/HoverCard/index.d.ts +1 -1
  60. package/dist/InfoTip/index.d.ts +1 -1
  61. package/dist/InputGroup/index.d.ts +1 -1
  62. package/dist/Layout/index.js +2 -2
  63. package/dist/{Layout-DlfCompe.js → Layout-DdsbcT6Z.js} +1 -1
  64. package/dist/{LayoutPanel-DCDIV9LU.js → LayoutPanel-0yi1xept.js} +1 -1
  65. package/dist/Lightbox/index.js +1 -1
  66. package/dist/{Lightbox-Ge25N7ec.js → Lightbox-TatgdqWu.js} +2 -1
  67. package/dist/Link/index.d.ts +1 -1
  68. package/dist/List/index.d.ts +1 -1
  69. package/dist/LongPressGestureRecognizer-C1JQQdg-.js +111 -0
  70. package/dist/Markdown/index.d.ts +1 -1
  71. package/dist/Markdown/index.js +1 -1
  72. package/dist/{Markdown-BUkKWRcl.js → Markdown-B1gt3Uq4.js} +2 -2
  73. package/dist/MoreMenu/index.d.ts +1 -1
  74. package/dist/MultiSelector/index.d.ts +1 -1
  75. package/dist/MultiSelector/index.js +1 -1
  76. package/dist/{MultiSelector-TcYQyyki.js → MultiSelector-BBetuRV7.js} +1 -1
  77. package/dist/NavItem/index.d.ts +1 -1
  78. package/dist/NumberInput/index.d.ts +1 -1
  79. package/dist/OverflowList/index.d.ts +1 -1
  80. package/dist/Overlay/index.d.ts +1 -1
  81. package/dist/Pagination/index.d.ts +1 -1
  82. package/dist/Pagination/index.js +1 -1
  83. package/dist/{Pagination-1ZayZgit.js → Pagination-9ZlklMvN.js} +1 -1
  84. package/dist/Popover/index.d.ts +1 -1
  85. package/dist/Popover/index.js +1 -1
  86. package/dist/{Popover-D34Lo-Cr.js → Popover-BXB3DaAJ.js} +1 -1
  87. package/dist/PowerSearch/index.d.ts +1 -1
  88. package/dist/PowerSearch/index.js +1 -1
  89. package/dist/{PowerSearch-DBUQWnPi.js → PowerSearch-BHs855Bg.js} +8 -8
  90. package/dist/ProgressBar/index.d.ts +1 -1
  91. package/dist/Radio/index.d.ts +1 -1
  92. package/dist/RadioList/index.d.ts +1 -1
  93. package/dist/Resizable/index.d.ts +1 -1
  94. package/dist/ScrollableArea/index.d.ts +1 -1
  95. package/dist/ScrollableArea/index.js +1 -1
  96. package/dist/{ScrollableArea-Cflez3d4.js → ScrollableArea-CJsSDN45.js} +1 -1
  97. package/dist/SelectableCard/index.d.ts +1 -1
  98. package/dist/Selector/index.d.ts +1 -1
  99. package/dist/Selector/index.js +1 -1
  100. package/dist/{Selector-P_jhOpNI.js → Selector-DERRZ5Hh.js} +1 -1
  101. package/dist/SideNav/index.d.ts +1 -1
  102. package/dist/Stack/index.js +1 -1
  103. package/dist/{Stack-Byxur1jV.js → Stack-Bj3MyHVh.js} +1 -1
  104. package/dist/Stepper/index.d.ts +1 -1
  105. package/dist/Switch/index.d.ts +1 -1
  106. package/dist/Table/index.d.ts +1 -1
  107. package/dist/Table/index.js +1 -1
  108. package/dist/{Table-x-1Z7nWH.js → Table-DCUCpmv8.js} +6 -6
  109. package/dist/Text/index.d.ts +1 -1
  110. package/dist/TextArea/index.d.ts +1 -1
  111. package/dist/TextInput/index.d.ts +1 -1
  112. package/dist/{TimeField-BqOuAcGd.js → TimeField-6UCe0-g2.js} +1 -1
  113. package/dist/TimeInput/index.d.ts +1 -1
  114. package/dist/TimeInput/index.js +1 -1
  115. package/dist/{TimeInput-n9ANugSL.js → TimeInput-qDkdX2tw.js} +1 -1
  116. package/dist/Timestamp/index.d.ts +1 -1
  117. package/dist/ToggleButton/index.d.ts +1 -1
  118. package/dist/Token/index.d.ts +1 -1
  119. package/dist/Tokenizer/index.d.ts +1 -1
  120. package/dist/Tokenizer/index.js +1 -1
  121. package/dist/{Tokenizer-CHhnsfO1.js → Tokenizer-DiekBXC-.js} +2 -2
  122. package/dist/Toolbar/index.d.ts +1 -1
  123. package/dist/Tooltip/index.d.ts +1 -1
  124. package/dist/TopNav/index.d.ts +1 -1
  125. package/dist/composables/index.d.ts +1 -1
  126. package/dist/composables/index.js +2 -2
  127. package/dist/{composables-CJ5vBpZ6.js → composables-DeNxbB0w.js} +3 -2
  128. package/dist/{grammar-4Pn2745Q.d.ts → grammar-CPnqQ7ar.d.ts} +2 -2
  129. package/dist/{grammar-Dz71GleT.js → grammar-DzM9qeTd.js} +1 -1
  130. package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
  131. package/dist/{index-CqXJYXT-.d.ts → index-0RIgvtdm.d.ts} +2 -2
  132. package/dist/{index-Pad9p8CU.d.ts → index-Ak1b0V24.d.ts} +1 -1
  133. package/dist/{index-DPhQZXYw.d.ts → index-B44fLswd.d.ts} +1 -1
  134. package/dist/{index-EAKu_r6h.d.ts → index-BXPadfuA.d.ts} +7 -7
  135. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  136. package/dist/{index-CZ29Xu_E.d.ts → index-Bwh8O-v8.d.ts} +1 -1
  137. package/dist/{index-BfOs5BQj.d.ts → index-CEdoNcHF.d.ts} +2 -2
  138. package/dist/{index-BzaRSOA3.d.ts → index-CLbslOVk.d.ts} +1 -7
  139. package/dist/{index-CdvmnNMH.d.ts → index-COgrQZIL.d.ts} +1 -1
  140. package/dist/{index-B75VMKvS.d.ts → index-C_U7qGF2.d.ts} +6 -6
  141. package/dist/{index-CJT9kM7e.d.ts → index-CqvIpZ-t.d.ts} +1 -1
  142. package/dist/{index-8FJZ4hpI.d.ts → index-DB5qCY-e.d.ts} +1 -1
  143. package/dist/{index-BtqvPjAf.d.ts → index-Dk50Zh3F.d.ts} +1 -1
  144. package/dist/{index-C4viybIG.d.ts → index-DprdUHnl.d.ts} +3 -3
  145. package/dist/{index-DgNCHxvu.d.ts → index-J83fLEyo.d.ts} +2 -2
  146. package/dist/{index-CHnP91LU.d.ts → index-P25rFY2l.d.ts} +59 -59
  147. package/dist/{index-BfFpUr1B.d.ts → index-ZKBj_1nu.d.ts} +1 -1
  148. package/dist/{index-BenG-F5d.d.ts → index-maTGrWjF.d.ts} +1 -1
  149. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  150. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  151. package/dist/index.d.ts +23 -23
  152. package/dist/index.js +29 -29
  153. package/dist/internal/touch.d.ts +125 -1
  154. package/dist/internal/touch.js +5 -1
  155. package/dist/{lazyBottomSheet-BzI1mp-I.js → lazyBottomSheet-BfDsDl4w.js} +1 -1
  156. package/dist/scrollGeometry-CJXEydlQ.d.ts +21 -0
  157. package/dist/{scrollGeometry-ivD7aoBo.js → scrollGeometry-ajfQQRJt.js} +9 -1
  158. package/dist/{scrollKeyboardDelegation-DZ4t5PvC.js → scrollKeyboardDelegation-COtRAAWq.js} +1 -1
  159. package/dist/{snapPagingCatcher-Cskp7W35.js → snapPagingCatcher-DUb8YU3G.js} +3 -111
  160. package/dist/{useScrollRegionProps-DwkPUb-O.js → useScrollRegionProps-D5fMvdfn.js} +1 -1
  161. package/dist/{useScrollableArea-BaHkGWbX.js → useScrollableArea-i2X5vvTv.js} +2 -2
  162. package/package.json +1 -1
  163. package/dist/{index-J6YRJ7Ul.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -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-ngtupehG.js").then((n) => n.t);
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, measureOverflow as c, getLogicalAxisMapping as i, measureScrollAxis as l, INACTIVE_AXIS_STATE as n, isScrollCapableOverflow as o, axisStatesEqual as r, mappingsEqual as s, DEFAULT_AXIS_MAPPING as t, measureScrollPosition as u };
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-ivD7aoBo.js";
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, i as UIKIT_LONG_PRESS, l as UIKIT_TAP } from "./gestures-BpGkqgpV.js";
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 { a as MANIPULATION, o as isActive } from "./GestureHost-CRgadcBb.js";
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 a, LongPressGestureRecognizer as i, paging as n, registerPagingTable as r, SettleCatcher as t };
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, l as measureScrollAxis } from "./scrollGeometry-ivD7aoBo.js";
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, c as measureOverflow, i as getLogicalAxisMapping, l as measureScrollAxis, n as INACTIVE_AXIS_STATE, r as axisStatesEqual, s as mappingsEqual, t as DEFAULT_AXIS_MAPPING, u as measureScrollPosition } from "./scrollGeometry-ivD7aoBo.js";
2
- import { n as registerScrollOwner, r as unregisterScrollOwner, t as attachScrollKeyboardDelegation } from "./scrollKeyboardDelegation-DZ4t5PvC.js";
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astryx-vue/core",
3
3
  "type": "module",
4
- "version": "0.42.2",
4
+ "version": "0.42.4",
5
5
  "description": "Vue 3 components for the unofficial astryx-vue port of Astryx. Not affiliated with Meta.",
6
6
  "author": "ShenQingchuan",
7
7
  "license": "MIT",
@@ -43,9 +43,9 @@ declare const __VLS_base: import("vue").DefineComponent<TokenProps, {}, {}, {},
43
43
  onRemove?: ((event: Event) => any) | undefined;
44
44
  }>, {
45
45
  size: TokenSize;
46
+ labelHidden: boolean;
46
47
  disabled: boolean;
47
48
  color: "default" | "blue" | "cyan" | "gray" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow";
48
- labelHidden: boolean;
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>;