@astryx-vue/core 0.48.2 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/AlertDialog/index.js +1 -1
  2. package/dist/{AlertDialog-CZv_5cjZ.js → AlertDialog-DNgVPORz.js} +2 -2
  3. package/dist/AvatarGroup/index.d.ts +1 -1
  4. package/dist/Banner/index.d.ts +1 -1
  5. package/dist/Banner/index.js +1 -1
  6. package/dist/{Banner-rKRkWR6U.js → Banner-Bf02r-yq.js} +1 -1
  7. package/dist/Breadcrumbs/index.d.ts +2 -2
  8. package/dist/Breadcrumbs/index.js +2 -2
  9. package/dist/{Breadcrumbs-B1LVoSmF.js → Breadcrumbs-BO92n_gZ.js} +1 -1
  10. package/dist/Button/index.d.ts +1 -1
  11. package/dist/Button/index.js +1 -1
  12. package/dist/{Button-ByMwpaTC.js → Button-DwmMamqP.js} +1 -1
  13. package/dist/ButtonGroup/index.d.ts +1 -1
  14. package/dist/ButtonGroup/index.js +1 -1
  15. package/dist/{ButtonGroup-DlzYnaXk.js → ButtonGroup-BXakzcni.js} +2 -2
  16. package/dist/Calendar/index.d.ts +1 -1
  17. package/dist/Calendar/index.js +2 -2
  18. package/dist/{Calendar-DvbTMsIC.js → Calendar-Bu5tNFCy.js} +2 -2
  19. package/dist/{Calendar-Nh8eFh1z.js → Calendar-Cr3q-XUb.js} +1 -1
  20. package/dist/Carousel/index.d.ts +1 -1
  21. package/dist/Carousel/index.js +1 -1
  22. package/dist/{Carousel-PAvDguJz.js → Carousel-ChQ4iAbd.js} +1 -1
  23. package/dist/Chat/index.d.ts +1 -1
  24. package/dist/Chat/index.js +1 -1
  25. package/dist/{Chat-CYljOQ16.js → Chat-BQ3X4O_m.js} +1 -1
  26. package/dist/CheckboxInput/index.d.ts +1 -1
  27. package/dist/CheckboxInput/index.js +1 -1
  28. package/dist/{CheckboxInput-B7LhVr3T.js → CheckboxInput-BV24VjGX.js} +2 -2
  29. package/dist/CheckboxList/index.d.ts +1 -1
  30. package/dist/CheckboxList/index.js +1 -1
  31. package/dist/{CheckboxListItem-DV3Uh8dj.js → CheckboxListItem-CkRd0wCc.js} +4 -4
  32. package/dist/ClickableCard/index.d.ts +1 -1
  33. package/dist/Code/index.js +2 -2
  34. package/dist/{Code-Aw-ZvPzl.js → Code-BF64T695.js} +1 -1
  35. package/dist/{CodeBlock-BZUBgEQK.js → CodeBlock-BBDJUZfC.js} +6 -6
  36. package/dist/Collapsible/index.d.ts +1 -1
  37. package/dist/CommandPalette/index.d.ts +1 -1
  38. package/dist/ComplexSelector/index.d.ts +1 -1
  39. package/dist/ComplexSelector/index.js +1 -1
  40. package/dist/{ComplexSelector-BewrtpKV.js → ComplexSelector-CEhKT_Ch.js} +2 -2
  41. package/dist/ContextMenu/index.d.ts +2 -2
  42. package/dist/ContextMenu/index.js +2 -2
  43. package/dist/{ContextMenu--QuYdWDQ.js → ContextMenu-Q9eY1PTu.js} +1 -1
  44. package/dist/DateInput/index.d.ts +1 -1
  45. package/dist/DateInput/index.js +1 -1
  46. package/dist/{DateInput-D4o83xnR.js → DateInput-B6QlWwYX.js} +36 -13
  47. package/dist/DateRangeInput/index.d.ts +1 -1
  48. package/dist/DateRangeInput/index.js +1 -1
  49. package/dist/{DateRangeInput-A-Hrvnmo.js → DateRangeInput-CekZEo9D.js} +116 -184
  50. package/dist/DateTimeInput/index.d.ts +1 -1
  51. package/dist/DateTimeInput/index.js +1 -1
  52. package/dist/{DateTimeInput-DWX1Z3S_.js → DateTimeInput-BQJbBokF.js} +5 -5
  53. package/dist/Dialog/index.d.ts +1 -1
  54. package/dist/Dialog/index.js +1 -1
  55. package/dist/{DialogHeader-CT4gkqfm.js → DialogHeader-CFOZWZCo.js} +1 -1
  56. package/dist/Drawer/index.d.ts +1 -1
  57. package/dist/Drawer/index.js +1 -1
  58. package/dist/{Drawer-BkU8kiAU.js → Drawer-C7TKWFC2.js} +1 -1
  59. package/dist/DropdownMenu/index.d.ts +2 -2
  60. package/dist/DropdownMenu/index.js +2 -2
  61. package/dist/{DropdownMenu-NqkHivVB.js → DropdownMenu-B-RXka4k.js} +3 -3
  62. package/dist/{DropdownMenuRadioItem.vue-Ck5Goxxp.d.ts → DropdownMenuRadioItem.vue-Dnvhnk6I.d.ts} +1 -1
  63. package/dist/Field/index.js +3 -3
  64. package/dist/{Field-2ypSh8vl.js → Field-BBUdFefr.js} +1 -1
  65. package/dist/{FieldInfoTip-Dss2g3m-.js → FieldInfoTip-B5pHDMoB.js} +1 -1
  66. package/dist/{FieldLabel-D0gHrlZZ.js → FieldLabel-Bmf3rMAj.js} +1 -1
  67. package/dist/FileInput/index.js +1 -1
  68. package/dist/{FileInput-B00g3NMy.js → FileInput-CTbpyb7U.js} +3 -3
  69. package/dist/Heading/index.d.ts +1 -1
  70. package/dist/HoverCard/index.d.ts +1 -1
  71. package/dist/Icon/index.d.ts +2 -2
  72. package/dist/IconButton/index.js +1 -1
  73. package/dist/{IconButton-BilMzjDj.js → IconButton-BECXhNpc.js} +1 -1
  74. package/dist/Indicator/index.d.ts +2 -2
  75. package/dist/InfoTip/index.d.ts +1 -1
  76. package/dist/InfoTip/index.js +1 -1
  77. package/dist/{InfoTip-YXziP1RR.js → InfoTip-CzqdqGQb.js} +1 -1
  78. package/dist/{InputClearButton-DEmIF1Dt.js → InputClearButton-DCmZXm1V.js} +1 -1
  79. package/dist/InputGroup/index.js +1 -1
  80. package/dist/{InputGroup-Eodo_3A2.js → InputGroup-BCFekxRW.js} +1 -1
  81. package/dist/InternationalizationProvider/index.d.ts +1 -1
  82. package/dist/InternationalizationProvider/index.js +1 -1
  83. package/dist/{InternationalizationProvider-B6kMYO4h.js → InternationalizationProvider-B9wQM8hN.js} +1 -1
  84. package/dist/{Item-o9ot81Zr.js → Item-Bu6zfWmO.js} +10 -5
  85. package/dist/Lightbox/index.js +1 -1
  86. package/dist/{Lightbox-Di1n_Ghn.js → Lightbox-BuN6O4LJ.js} +1 -1
  87. package/dist/Link/index.d.ts +1 -1
  88. package/dist/List/index.d.ts +3 -3
  89. package/dist/List/index.js +6 -5
  90. package/dist/{List-Da9fS7xP.js → List-j_6OjfPy.js} +4 -3
  91. package/dist/{ListItem-Cp65x47S.js → ListItem-BecR-pIf.js} +45 -16
  92. package/dist/Markdown/index.d.ts +1 -1
  93. package/dist/Markdown/index.js +1 -1
  94. package/dist/{Markdown-DvBtpprk.js → Markdown-DuhbgLxR.js} +1 -1
  95. package/dist/MetadataList/index.js +1 -1
  96. package/dist/{MetadataList-n3YXiP4a.js → MetadataList-BTMI6Ffm.js} +5 -1
  97. package/dist/MoreMenu/index.d.ts +1 -1
  98. package/dist/MoreMenu/index.js +1 -1
  99. package/dist/{MoreMenu-CiYBQ9pt.js → MoreMenu-DR69661F.js} +2 -2
  100. package/dist/MultiSelector/index.d.ts +1 -1
  101. package/dist/MultiSelector/index.js +1 -1
  102. package/dist/{MultiSelector-Cd0x_5Cz.js → MultiSelector-CJhk6rE5.js} +3 -3
  103. package/dist/NavItem/index.d.ts +1 -1
  104. package/dist/NumberInput/index.d.ts +1 -1
  105. package/dist/NumberInput/index.js +1 -1
  106. package/dist/{NumberInput-BBEONs4g.js → NumberInput-u_srLjWB.js} +3 -3
  107. package/dist/OverflowList/index.d.ts +1 -1
  108. package/dist/Pagination/index.d.ts +1 -1
  109. package/dist/Pagination/index.js +1 -1
  110. package/dist/{Pagination-Cu9RHoEu.js → Pagination-oedlA7QU.js} +3 -3
  111. package/dist/Popover/index.d.ts +2 -2
  112. package/dist/Popover/index.js +1 -1
  113. package/dist/{Popover-CgyIJd4u.js → Popover-BPJ1JOpo.js} +1 -1
  114. package/dist/PowerSearch/index.d.ts +1 -1
  115. package/dist/PowerSearch/index.js +1 -1
  116. package/dist/{PowerSearch-Cg0Fe7Ne.js → PowerSearch-6J57Tf11.js} +19 -19
  117. package/dist/ProgressBar/index.d.ts +1 -1
  118. package/dist/Radio/index.d.ts +1 -1
  119. package/dist/Radio/index.js +1 -1
  120. package/dist/{RadioGroup-WoFdfefT.js → RadioGroup-DX-CMn6z.js} +2 -2
  121. package/dist/RadioList/index.d.ts +1 -1
  122. package/dist/RadioList/index.js +1 -1
  123. package/dist/{RadioListItem-CULhpyUB.js → RadioListItem-D3ZGR-2p.js} +1 -1
  124. package/dist/RangeCalendar-pTEnYJqX.js +160 -0
  125. package/dist/Resizable/index.d.ts +1 -1
  126. package/dist/ScrollableArea/index.d.ts +1 -1
  127. package/dist/SegmentedControl/index.d.ts +1 -1
  128. package/dist/SegmentedControl/index.js +1 -1
  129. package/dist/{SegmentedControl-BDD1z8ow.js → SegmentedControl-C1H0lJhN.js} +1 -1
  130. package/dist/SelectableCard/index.d.ts +1 -1
  131. package/dist/Selector/index.d.ts +1 -1
  132. package/dist/Selector/index.js +1 -1
  133. package/dist/{Selector-V9YZ6h09.js → Selector-B3kb-prB.js} +1 -1
  134. package/dist/SideNav/index.d.ts +1 -1
  135. package/dist/SideNav/index.js +1 -1
  136. package/dist/{SideNav-BQbQ4vk6.js → SideNav-BFTTsfpL.js} +1 -1
  137. package/dist/Slider/index.js +1 -1
  138. package/dist/{Slider-IqPowFpR.js → Slider-DDyAlIYs.js} +1 -1
  139. package/dist/Stack/index.d.ts +1 -1
  140. package/dist/Switch/index.d.ts +1 -1
  141. package/dist/Switch/index.js +1 -1
  142. package/dist/{Switch-C3Z-eqrJ.js → Switch-CCWpRU3s.js} +2 -2
  143. package/dist/TabList/index.d.ts +1 -1
  144. package/dist/Table/index.d.ts +1 -1
  145. package/dist/Table/index.js +1 -1
  146. package/dist/{Table-D58FbmZl.js → Table-z2KzblHT.js} +27 -24
  147. package/dist/Text/index.d.ts +1 -1
  148. package/dist/TextArea/index.d.ts +1 -1
  149. package/dist/TextArea/index.js +1 -1
  150. package/dist/{TextArea-vg40GTUn.js → TextArea-D0iKBXn5.js} +4 -4
  151. package/dist/TextInput/index.d.ts +1 -1
  152. package/dist/TextInput/index.js +1 -1
  153. package/dist/{TextInput-BT5SNPml.js → TextInput-C7Hz5OMa.js} +4 -4
  154. package/dist/Theme/index.d.ts +3 -3
  155. package/dist/Theme/index.js +1 -1
  156. package/dist/Thumbnail/index.js +1 -1
  157. package/dist/{Thumbnail-DjTQfpBD.js → Thumbnail-B3BSsLvy.js} +1 -1
  158. package/dist/{TimeField-DzdNGtUE.js → TimeField-BKJLhDGx.js} +2 -2
  159. package/dist/TimeInput/index.d.ts +1 -1
  160. package/dist/TimeInput/index.js +1 -1
  161. package/dist/{TimeInput-CUM1fNsE.js → TimeInput-B05w9Zi7.js} +4 -3
  162. package/dist/Timer/index.d.ts +1 -1
  163. package/dist/Timestamp/index.d.ts +1 -1
  164. package/dist/Timestamp/index.js +2 -2
  165. package/dist/{Timestamp-B0dj9IUl.js → Timestamp-CRuJNA1J.js} +36 -22
  166. package/dist/Toast/index.js +1 -1
  167. package/dist/{Toast-DDOAUhO2.js → Toast-3geCc5ms.js} +1 -1
  168. package/dist/ToggleButton/index.d.ts +1 -1
  169. package/dist/ToggleButton/index.js +1 -1
  170. package/dist/{ToggleButton-BQrwvaI1.js → ToggleButton-BK5Fjp05.js} +3 -3
  171. package/dist/Token/index.d.ts +1 -1
  172. package/dist/Tokenizer/index.d.ts +1 -1
  173. package/dist/Tokenizer/index.js +1 -1
  174. package/dist/{Tokenizer-CU2M1KhH.js → Tokenizer-DLPRqWnJ.js} +4 -4
  175. package/dist/Toolbar/index.d.ts +1 -1
  176. package/dist/Tooltip/index.d.ts +1 -1
  177. package/dist/TopNav/index.d.ts +1 -1
  178. package/dist/Typeahead/index.js +1 -1
  179. package/dist/{Typeahead-_ijsXkA2.js → Typeahead-kiQZR_mY.js} +2 -2
  180. package/dist/{accessibleName-BSQ6PVw-.js → accessibleName-41pKwUlI.js} +1 -1
  181. package/dist/{adaptationTypes-ChvftfT2.d.ts → adaptationTypes-DtZ4sfHW.d.ts} +1 -1
  182. package/dist/{compactDefinition-BruPZusf.d.ts → compactDefinition-CJ7U-1ki.d.ts} +1 -1
  183. package/dist/composables/index.d.ts +3 -3
  184. package/dist/composables/index.js +5 -5
  185. package/dist/{composables-G10dqPNt.js → composables-Bx5tWrpo.js} +165 -71
  186. package/dist/{createReorderable-Bw3Q9mUd.d.ts → createReorderable-yDBsr_S2.d.ts} +26 -1
  187. package/dist/{date-range-input-WnkVv8HN.js → date-range-input-BjM7wgeD.js} +6 -2
  188. package/dist/{formatInstant-B-ukorXg.js → formatInstant-DmQhW6EL.js} +23 -8
  189. package/dist/{index-ZKBj_1nu.d.ts → index-3LdpzxQZ.d.ts} +2 -2
  190. package/dist/{index-BtS6x0HF.d.ts → index-B4vbiBIK.d.ts} +1 -1
  191. package/dist/{index-X4S7_dmq.d.ts → index-BA8exXNP.d.ts} +1 -1
  192. package/dist/{index-ehT_1wO5.d.ts → index-BAewXS3B.d.ts} +3 -3
  193. package/dist/{index-BgT6mH3U.d.ts → index-BR3MOBYd.d.ts} +2 -2
  194. package/dist/{index-DSsuY9v9.d.ts → index-BaXcJ7eE.d.ts} +1 -1
  195. package/dist/{index-waTkqxTz.d.ts → index-C89cIh4E.d.ts} +1 -1
  196. package/dist/{index-C3JmGujU.d.ts → index-C9uW39Mj.d.ts} +2 -2
  197. package/dist/{index-Dqo0KSCZ.d.ts → index-CX_DhZP6.d.ts} +73 -73
  198. package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
  199. package/dist/{index-BaFphczL.d.ts → index-CdvmnNMH.d.ts} +1 -1
  200. package/dist/{index-DJ14EAf2.d.ts → index-CiQe0lC6.d.ts} +2 -2
  201. package/dist/{index-CD1-Hqm0.d.ts → index-CmqD5Ya9.d.ts} +2 -2
  202. package/dist/{index-rdwI-mcm.d.ts → index-CtYlR9Cu.d.ts} +1 -1
  203. package/dist/{index-B8NGDyIe.d.ts → index-DSAtZP4A.d.ts} +1 -1
  204. package/dist/{index-DsD5qKEe.d.ts → index-DVh2VnYE.d.ts} +3 -2
  205. package/dist/{index-BMoR8Uoh.d.ts → index-DZMs9KqG.d.ts} +1 -1
  206. package/dist/{index-Er_LwyZ7.d.ts → index-Dc0PpHtw.d.ts} +1 -1
  207. package/dist/{index-SdevVVTE.d.ts → index-DpyZvaKL.d.ts} +3 -3
  208. package/dist/{index-COazJoIt.d.ts → index-DzIm3T2F.d.ts} +5 -5
  209. package/dist/{index-CJB63c7Y.d.ts → index-HW957XKH.d.ts} +4 -4
  210. package/dist/{index-C5HUsKnf.d.ts → index-JCxvZLM1.d.ts} +2 -2
  211. package/dist/{index-D3UaSnbN.d.ts → index-Otl047R1.d.ts} +2 -2
  212. package/dist/{index-C8hyLvk2.d.ts → index-YpwwNU0k.d.ts} +2 -2
  213. package/dist/{index-aBeGbS1N.d.ts → index-fUpVnYYy.d.ts} +1 -1
  214. package/dist/{index-BzoS2kIC.d.ts → index-p-3TjnAx.d.ts} +1 -1
  215. package/dist/{index--pZVy2s-.d.ts → index-qWsSnTeH.d.ts} +5 -5
  216. package/dist/{index-anFpazJ1.d.ts → index-qfgwQY3C.d.ts} +52 -5
  217. package/dist/{index-Bsl8HqR9.d.ts → index-tNq2IJO8.d.ts} +1 -1
  218. package/dist/{index-rXRK6WSZ.d.ts → index-u0S11WWM.d.ts} +1 -1
  219. package/dist/{index-C2zmTbpC.d.ts → index-uUPApRZX.d.ts} +1 -1
  220. package/dist/index.d.ts +41 -41
  221. package/dist/index.js +72 -71
  222. package/dist/internal/touch.js +1 -1
  223. package/dist/{itemSlots-DtrAXXlG.js → itemSlots-BxdGvQQt.js} +3 -3
  224. package/dist/{loadCatalog-BLR2kAhy.d.ts → loadCatalog-BY88s6vB.d.ts} +4 -0
  225. package/dist/{loadCatalog-DT1OyK-2.js → loadCatalog-crHU34Cs.js} +9 -1
  226. package/dist/locale/index.d.ts +2 -2
  227. package/dist/locale/index.js +3 -3
  228. package/dist/{locale-DhcPo0et.js → locale-R4jJ5VWu.js} +1 -1
  229. package/dist/reorderMarks-AcPJbqH_.js +64 -0
  230. package/dist/{reorderTypes-CvmAkO-R.js → reorderTypes-P74-IlCD.js} +18 -5
  231. package/dist/{semantic-CPGOW6Vf.d.ts → semantic-DJT2VDXi.d.ts} +2 -0
  232. package/dist/{types-FT6yUPZi.d.ts → types-8RqDWwvd.d.ts} +1 -1
  233. package/dist/{types-xOsWAC6i.d.ts → types-FJdc8Z4x.d.ts} +13 -5
  234. package/dist/{useActionGroupTracking-fTU4uvzA.js → useActionGroupTracking-CQa3WqUI.js} +1 -1
  235. package/dist/{useCalendarGrid-Bz7NJmA3.js → useCalendarGrid-BGFIdfo7.js} +1 -1
  236. package/dist/{useDateRange-D1Szw54e.js → useDateRange-vYk0K9ML.js} +6 -2
  237. package/dist/{useInputStatusIcon-DFx25PSi.js → useInputStatusIcon-B4QDbnjc.js} +1 -1
  238. package/dist/{useMonthGrid-Bzvlstgc.js → useMonthGrid-xkn79x_J.js} +1 -1
  239. package/dist/{useTouchHitArea-Cs4K31MA.js → useTouchHitArea-oji1qpyF.js} +1 -1
  240. package/package.json +1 -1
  241. package/styles/date-input.css +40 -5
  242. package/styles/date-range-input.css +22 -0
  243. package/styles/list-reorder.css +180 -19
  244. package/styles/list.css +10 -3
  245. package/styles/tree-list.css +11 -0
  246. package/dist/{Theme-Cw4hiTNt.js → Theme-Dy7FHpog.js} +1 -1
  247. package/dist/{index-7tsRPFfY.d.ts → index-CNZCQgHF.d.ts} +1 -1
@@ -8,8 +8,8 @@ import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
8
8
  import { n as watchMediaQuery, t as useMediaQuery } from "../useMediaQuery-DKnSDG3S.js";
9
9
  import { t as characterCount } from "../characters-DmSa8HSB.js";
10
10
  import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
11
- 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-G10dqPNt.js";
12
- import { f as createPanGesture } from "../itemSlots-DtrAXXlG.js";
11
+ 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-Bx5tWrpo.js";
12
+ import { f as createPanGesture } from "../itemSlots-BxdGvQQt.js";
13
13
  import { t as useAnnounce } from "../announce-GU01Oix2.js";
14
14
  import { t as useAnimatedLayout } from "../useAnimatedLayout-BUXOuGrF.js";
15
15
  import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
@@ -18,7 +18,7 @@ import { a as useChatNewMessages, i as CHAT_MESSAGE_CLASS, t as useChatStreamScr
18
18
  import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
19
19
  import { t as useCombobox } from "../useCombobox-BbDP75hw.js";
20
20
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
21
- import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-D1Szw54e.js";
21
+ import { a as isRangeWithinSpan, c as resolveWeekStart, i as isDayOutsideSpan, l as spanDays, n as compareISODate, o as isSameRange, r as formatDateRange, s as orderRange, t as applyRangeClick } from "../useDateRange-vYk0K9ML.js";
22
22
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
23
23
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
24
24
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
@@ -26,12 +26,12 @@ import { t as useFocusTrap } from "../useFocusTrap-DhhwiBEF.js";
26
26
  import { t as useHandleRef } from "../useHandleRef-6cdKugm8.js";
27
27
  import { n as percent, r as useHotkeys, t as useResizable } from "../useResizable-BAlmjLNN.js";
28
28
  import { t as useInputContainer } from "../useInputContainer-yA8wbN3_.js";
29
- import { t as useInputStatusIcon } from "../useInputStatusIcon-DFx25PSi.js";
29
+ import { t as useInputStatusIcon } from "../useInputStatusIcon-B4QDbnjc.js";
30
30
  import { t as useInteractiveRole } from "../useInteractiveRole-Cn0Nd5GX.js";
31
31
  import { t as useListFocus } from "../useListFocus-Ccd_HU9T.js";
32
32
  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-Cxn2iz5-.js";
33
33
  import { t as useMergedRefs } from "../useMergedRefs-DTGo1cEU.js";
34
- import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-Bzvlstgc.js";
34
+ import { a as todayISODate, i as toISODate, n as buildMonthGrid, r as parseISODate, t as addMonths } from "../useMonthGrid-xkn79x_J.js";
35
35
  import { n as useNumberField, t as computeSteppedValue } from "../useNumberField-Dk1BE3-K.js";
36
36
  import { n as computeOverflow, t as useOverflow } from "../useOverflow-GU0pxGaU.js";
37
37
  import { t as usePendingChange } from "../usePendingChange-ib-h8FZK.js";
@@ -1,5 +1,5 @@
1
1
  import { s as subscribeInput } from "./inputStream-CFvjNDgT.js";
2
- import { n as useTouchHitArea } from "./useTouchHitArea-Cs4K31MA.js";
2
+ import { c as plainRect, l as screenScale, n as useTouchHitArea, o as growth, s as inLayout } from "./useTouchHitArea-oji1qpyF.js";
3
3
  import { f as toSpring, u as durationBounceOf } from "./roles-D6hLs7Rg.js";
4
4
  import { i as reducedMotionCrossFade } from "./linearEasing-CDsqxyiS.js";
5
5
  import { f as scroll, r as UIKIT_GESTURES } from "./gestures-BpGkqgpV.js";
@@ -18,15 +18,17 @@ import { t as getGestureHost } from "./GestureHost-CnGqeHAJ.js";
18
18
  import { t as PanGestureRecognizer } from "./PanGestureRecognizer-DZpS28MS.js";
19
19
  import { i as locksSelectionFor, n as lockSelection } from "./selectionLock-c18P1UV3.js";
20
20
  import { t as VelocityTracker } from "./VelocityTracker-Cw1aVRnL.js";
21
- import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-DtrAXXlG.js";
21
+ import { f as createPanGesture, l as useListContext, r as useItemLabelId, u as createSnapDrag } from "./itemSlots-BxdGvQQt.js";
22
+ import { t as _sfc_main$5 } from "./ComponentIcon-DEcgLIM0.js";
22
23
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
23
24
  import { n as listMessages, t as keyboardHintMessages } from "./keyboard-hint-DZrL82bU.js";
24
25
  import { t as renderedText } from "./renderedText-BwJdmps3.js";
26
+ import { c as markReorderPreview, d as reorderHandlesIn, f as showReorderLine, i as hideReorderLine, l as markReorderSource, n as clearReordering, o as isReordering, r as closestReorderHandle, s as listReorderHandleAttrs, t as clearReorderSource, u as markReordering } from "./reorderMarks-AcPJbqH_.js";
25
27
  import { t as useAnnounce } from "./announce-GU01Oix2.js";
26
- import { t as _sfc_main$5 } from "./Kbd-CwtGTUmB.js";
28
+ import { t as _sfc_main$6 } from "./Kbd-CwtGTUmB.js";
27
29
  import { n as paintedBackground, t as inertClone } from "./inertClone-BUK-k6-n.js";
28
30
  import { t as nearestScroller } from "./scrollingAncestor-QzzYeTWo.js";
29
- import { a as markLeaving, n as isLeaving, t as REORDER_ENGINE } from "./reorderTypes-CvmAkO-R.js";
31
+ import { a as markLeaving, n as isLeaving, o as markTravelling, s as setTravellingBackdrop, t as REORDER_ENGINE } from "./reorderTypes-P74-IlCD.js";
30
32
  import { r as reducesMotion } from "./reducedMotion-CgciA13L.js";
31
33
  import { t as createDevWarnings } from "./devWarnings-DI1R0rGp.js";
32
34
  import { t as LongPressGestureRecognizer } from "./LongPressGestureRecognizer-BA7RijIc.js";
@@ -37,6 +39,7 @@ import { r as makeSnapPaging, s as snapPages } from "./snapPagingValue-B5hfph1H.
37
39
  import { t as useTouchTriggerInternal } from "./useTouchTriggerInternal-CCk8lhbz.js";
38
40
  import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, getCurrentScope, h, mergeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, openBlock, ref, renderList, renderSlot, shallowRef, toDisplayString, toValue, unref, useId, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
39
41
  import "../styles/layer.css";
42
+ import "../styles/container-reveal.css";
40
43
  import "../styles/list-reorder.css";
41
44
  import "../styles/keyboard-hint.css";
42
45
  import "../styles/indicator-focus-ring.css";
@@ -332,63 +335,27 @@ function releaseMotion(element, ...properties) {
332
335
  for (const property of properties) if (isIdentityText(property, element.style.getPropertyValue(property))) element.style.removeProperty(property);
333
336
  }
334
337
  //#endregion
335
- //#region src/List/reorder/reorderMarks.ts
338
+ //#region src/List/reorder/reorderHandleHitArea.ts
336
339
  /**
337
- * @file reorderMarks.ts
338
- * @input A reorderable List's element, its rows and its handles
339
- * @output The private data attributes of the reorder: a handle
340
- * (`data-astryx-list-reorder`), the list while it reorders
341
- * (`data-astryx-reordering`), its insertion line
342
- * (`data-astryx-reorder-line`), the dimmed source row
343
- * (`data-astryx-reorder-source`) and the preview copy
344
- * (`data-astryx-reorder-preview`)
345
- * @position List reorder internals: only this file writes these names.
346
- * styles/list.css reads them. Not exported from the package root.
340
+ * A finger's target grows toward 44 px, centred on the grip, but it stays
341
+ * inside its list on the block axis. On the first and last rows, a control
342
+ * right against the list's top or bottom edge then keeps its taps, as it does
343
+ * next to the rows' own targets. The insets are the handle's layout px.
347
344
  */
348
- const LIST_REORDER = "data-astryx-list-reorder";
349
- const REORDERING = "data-astryx-reordering";
350
- const REORDER_LINE = "data-astryx-reorder-line";
351
- const REORDER_SOURCE = "data-astryx-reorder-source";
352
- const REORDER_PREVIEW = "data-astryx-reorder-preview";
353
- /** Bound on a reorder handle. */
354
- const listReorderHandleAttrs = { [LIST_REORDER]: "" };
355
- function closestReorderHandle(target) {
356
- return target.closest(`[${LIST_REORDER}]`);
357
- }
358
- function reorderHandlesIn(root) {
359
- return Array.from(root.querySelectorAll(`[${LIST_REORDER}]`));
360
- }
361
- /**
362
- * The list reorders: a drag or a reorder mode move owns its next commit, and
363
- * its handles show the grabbing cursor.
364
- */
365
- function markReordering(list) {
366
- list.setAttribute(REORDERING, "");
367
- }
368
- function clearReordering(list) {
369
- list.removeAttribute(REORDERING);
370
- }
371
- function isReordering(list) {
372
- return list.hasAttribute(REORDERING);
373
- }
374
- /** The list's insertion line (its `::after`) shows. */
375
- function showReorderLine(list) {
376
- list.setAttribute(REORDER_LINE, "");
377
- }
378
- function hideReorderLine(list) {
379
- list.removeAttribute(REORDER_LINE);
380
- }
381
- /** The dragged row, dimmed in its place while its preview moves. */
382
- function markReorderSource(row) {
383
- row.setAttribute(REORDER_SOURCE, "");
384
- }
385
- function clearReorderSource(row) {
386
- row.removeAttribute(REORDER_SOURCE);
387
- }
388
- /** The copy of the dragged row that follows the pointer. */
389
- function markReorderPreview(element) {
390
- element.setAttribute(REORDER_PREVIEW, "");
345
+ function reorderHandleGrowth(target, element) {
346
+ const scale = screenScale(element, target);
347
+ const box = inLayout(target, target, scale);
348
+ const full = growth(box);
349
+ const list = element.closest("ul, ol");
350
+ if (list == null) return full;
351
+ const bounds = inLayout(plainRect(list), target, scale);
352
+ return {
353
+ ...full,
354
+ top: Math.max(0, Math.min(full.top, box.top - bounds.top)),
355
+ bottom: Math.max(0, Math.min(full.bottom, bounds.bottom - box.bottom))
356
+ };
391
357
  }
358
+ const REORDER_HANDLE_HIT_AREA = { growth: reorderHandleGrowth };
392
359
  //#endregion
393
360
  //#region src/List/reorder/reorderState.ts
394
361
  function messagesFrom(list) {
@@ -421,6 +388,10 @@ function gestureStateOf(state) {
421
388
  //#region src/List/reorder/ListReorderHandle.vue
422
389
  const _hoisted_1$4 = [
423
390
  "id",
391
+ "data-placement",
392
+ "data-reveal",
393
+ "data-hangs",
394
+ "data-in-end-slot",
424
395
  "data-row-align",
425
396
  "aria-label",
426
397
  "aria-labelledby",
@@ -440,17 +411,39 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
440
411
  type: Boolean,
441
412
  default: false
442
413
  },
443
- rowAlign: {}
414
+ rowAlign: {},
415
+ placement: { default: "end" },
416
+ isAlwaysVisible: {
417
+ type: Boolean,
418
+ default: true
419
+ },
420
+ isInRow: {
421
+ type: Boolean,
422
+ default: false
423
+ },
424
+ isInEndSlot: {
425
+ type: Boolean,
426
+ default: false
427
+ }
444
428
  },
445
429
  setup(__props) {
446
430
  /**
447
- * 可重排行末尾的手柄:一个切换按钮。鼠标按住拖过 4px、手指按住片刻后拖,都会拖动这一行;
448
- * 点一下(或空格、回车)进入重排模式,`aria-pressed` 表示模式开着。
431
+ * 可重排行的手柄:一个切换按钮,默认在行末,`handle.placement` 为 `start` 时在行首。鼠标按住拖过 4px、
432
+ * 手指按住片刻后拖,都会拖动这一行;点一下(或空格、回车)进入重排模式,`aria-pressed` 表示模式开着。
433
+ *
434
+ * 手柄只有一个握把:主题 `list-reorder-handle` 槽位的图标(默认 `menu`),对辅助技术隐藏,框固定 1rem。
435
+ * 四周有一圈看不见、至少 24px 的点按范围;粗指针下它朝 44px 长,但不伸出列表的上下边。
436
+ * `isAlwaysVisible` 为假时,细指针下它只在行悬停或含焦点时显示,挂在行内容外面,不占位置。
449
437
  *
450
438
  * 名字跟着行走:行有自己的名字时叫「调整「名字」的顺序」;借行的标签元素命名时只写动词,
451
439
  * 后半句由 `aria-labelledby` 指过去;行没有能读的名字时按位置叫「调整第 N 项的顺序」。
452
440
  */
453
441
  const props = __props;
442
+ /** 主题没给槽位时画的握把。 */
443
+ const REORDER_GRIP_FALLBACK = {
444
+ icon: "menu",
445
+ size: "sm"
446
+ };
454
447
  const button = useTemplateRef("button");
455
448
  const list = useListContext();
456
449
  const controller = computed(() => list?.reorder.value?.session);
@@ -534,7 +527,8 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
534
527
  if (labelledBy.value != null) return list.reorderHandleVerb;
535
528
  return text.value !== "" ? list.reorderHandle(text.value) : void 0;
536
529
  });
537
- useTouchHitArea(button, computed(() => controller.value != null && !props.isDisabled));
530
+ useTouchHitArea(button, computed(() => controller.value != null && !props.isDisabled), REORDER_HANDLE_HIT_AREA);
531
+ const hangs = computed(() => !props.isAlwaysVisible && !props.isInRow);
538
532
  function onClick() {
539
533
  const session = controller.value;
540
534
  if (session != null && !session.takeDrag(button.value) && !props.isDisabled) session.toggleMode(button.value);
@@ -559,9 +553,13 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
559
553
  ref_key: "button",
560
554
  ref: button,
561
555
  type: "button",
562
- class: "astryx-list-reorder-handle astryx-touch-hit-area"
556
+ class: ["astryx-list-reorder-handle astryx-touch-hit-area", { "astryx-reveal__content--preserve": !__props.isAlwaysVisible }]
563
557
  }, unref(listReorderHandleAttrs), {
564
558
  "data-astryx-pressable": "",
559
+ "data-placement": __props.placement,
560
+ "data-reveal": __props.isAlwaysVisible ? "always" : "adaptive",
561
+ "data-hangs": hangs.value || void 0,
562
+ "data-in-end-slot": __props.isInEndSlot || void 0,
565
563
  "data-row-align": __props.rowAlign,
566
564
  "aria-label": name.value,
567
565
  "aria-labelledby": shownLabelledBy.value == null ? void 0 : `${verbId} ${shownLabelledBy.value}`,
@@ -574,7 +572,12 @@ const _sfc_main$4 = /*@__PURE__*/ defineComponent({
574
572
  onPointerdown: _cache[0] || (_cache[0] = withModifiers(() => {}, ["stop"])),
575
573
  onTouchstartPassive: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"])),
576
574
  onContextmenu: onContextMenu
577
- }), null, 16, _hoisted_1$4)) : createCommentVNode("v-if", true);
575
+ }), [createVNode(_sfc_main$5, {
576
+ class: "astryx-list-reorder-handle__grip",
577
+ "icon-slot": "list-reorder-handle",
578
+ fallback: REORDER_GRIP_FALLBACK,
579
+ color: "inherit"
580
+ })], 16, _hoisted_1$4)) : createCommentVNode("v-if", true);
578
581
  };
579
582
  }
580
583
  });
@@ -706,7 +709,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
706
709
  label: unref(messages).list.reorderMoveUp,
707
710
  onPress: _cache[0] || (_cache[0] = ($event) => step(-1))
708
711
  }, {
709
- default: withCtx(() => [createVNode(_sfc_main$5, {
712
+ default: withCtx(() => [createVNode(_sfc_main$6, {
710
713
  keys: "up",
711
714
  "aria-hidden": "true"
712
715
  })]),
@@ -716,7 +719,7 @@ const _sfc_main$2 = /*@__PURE__*/ defineComponent({
716
719
  label: unref(messages).list.reorderMoveDown,
717
720
  onPress: _cache[1] || (_cache[1] = ($event) => step(1))
718
721
  }, {
719
- default: withCtx(() => [createVNode(_sfc_main$5, {
722
+ default: withCtx(() => [createVNode(_sfc_main$6, {
720
723
  keys: "down",
721
724
  "aria-hidden": "true"
722
725
  })]),
@@ -1572,6 +1575,32 @@ var ReorderNames = class extends ReorderBase {
1572
1575
  //#endregion
1573
1576
  //#region src/List/reorder/reorderDrag.ts
1574
1577
  var ReorderDrag = class extends ReorderNames {
1578
+ /** A re-grab or the rest step ends the mark that the drop started. */
1579
+ travelEnds = /* @__PURE__ */ new WeakMap();
1580
+ /**
1581
+ * Marks a dropped row as travelling for the length of its glide: it rides
1582
+ * above the rows it passes, on its preview's backdrop.
1583
+ */
1584
+ travel(row, backdrop) {
1585
+ setTravellingBackdrop(row, backdrop);
1586
+ this.travelEnds.set(row, markTravelling(row));
1587
+ }
1588
+ endTravel(row) {
1589
+ const end = this.travelEnds.get(row);
1590
+ if (end != null) {
1591
+ this.travelEnds.delete(row);
1592
+ end();
1593
+ setTravellingBackdrop(row, null);
1594
+ }
1595
+ }
1596
+ /**
1597
+ * The row's handle top inside the row, or 0 without a handle. It reads
1598
+ * layout; a transform on the row moves both boxes alike.
1599
+ */
1600
+ handleInset(row) {
1601
+ const handle = this.handleIn(row);
1602
+ return handle == null ? 0 : handle.getBoundingClientRect().top - row.getBoundingClientRect().top;
1603
+ }
1575
1604
  gesture(row, event) {
1576
1605
  switch (event.state) {
1577
1606
  case "began":
@@ -1601,6 +1630,7 @@ var ReorderDrag = class extends ReorderNames {
1601
1630
  if (dragged < 0 || !movable[dragged]) return false;
1602
1631
  const at = motionNow();
1603
1632
  const tops = rows.map((element) => layoutTop(element, list));
1633
+ const insets = rows.map((element) => this.handleInset(element));
1604
1634
  const heights = rows.map((element) => element.offsetHeight);
1605
1635
  const lineSpan = lineSpanOf(row, list);
1606
1636
  const previewSpan = previewSpanOf(row, list);
@@ -1617,6 +1647,7 @@ var ReorderDrag = class extends ReorderNames {
1617
1647
  const shown = shownY(row, at);
1618
1648
  const origin = row.getBoundingClientRect().top - shown - tops[dragged];
1619
1649
  const scroller = scrollerOf(list);
1650
+ this.endTravel(row);
1620
1651
  const restore = {
1621
1652
  zIndex: row.style.zIndex,
1622
1653
  backgroundColor: row.style.backgroundColor,
@@ -1639,6 +1670,7 @@ var ReorderDrag = class extends ReorderNames {
1639
1670
  list,
1640
1671
  rows,
1641
1672
  tops,
1673
+ insets,
1642
1674
  geometry,
1643
1675
  dragged,
1644
1676
  lineSpan,
@@ -1659,6 +1691,7 @@ var ReorderDrag = class extends ReorderNames {
1659
1691
  step: 0,
1660
1692
  restore,
1661
1693
  preview,
1694
+ background,
1662
1695
  previewOffset: 0,
1663
1696
  scrollStale: false,
1664
1697
  ownScroll: false,
@@ -1941,10 +1974,12 @@ var ReorderDrop = class extends ReorderDrag {
1941
1974
  list,
1942
1975
  rows,
1943
1976
  tops: session.tops,
1977
+ insets: session.insets,
1944
1978
  dragged,
1945
1979
  droppedTop,
1946
1980
  velocity,
1947
1981
  restore: session.restore,
1982
+ background: session.background,
1948
1983
  releasedAt
1949
1984
  };
1950
1985
  options.onReorder({
@@ -2006,6 +2041,7 @@ var ReorderDrop = class extends ReorderDrag {
2006
2041
  running.handle.finished.then(settle);
2007
2042
  return;
2008
2043
  }
2044
+ this.endTravel(element);
2009
2045
  element.style.zIndex = restore.zIndex;
2010
2046
  element.style.backgroundColor = restore.backgroundColor;
2011
2047
  for (const row of restore.rows) releaseMotion(row, "translate");
@@ -2096,14 +2132,14 @@ var ReorderDrop = class extends ReorderDrag {
2096
2132
  return {
2097
2133
  element,
2098
2134
  index,
2099
- shift: (index === pending.dragged ? pending.droppedTop : pending.tops[index]) - layoutTop(element, list),
2135
+ shift: (index === pending.dragged ? pending.droppedTop : pending.tops[index]) + pending.insets[index] - this.handleInset(element) - layoutTop(element, list),
2100
2136
  value: shownY(element, at),
2101
2137
  moving: isMoving(element)
2102
2138
  };
2103
2139
  });
2104
2140
  const settles = (row) => Math.abs(row.value + row.shift) < .5 && !row.moving;
2105
2141
  const glides = (row) => !settles(row) && Math.abs(row.shift) >= .5;
2106
- const spring = this.animates && !landsAtOnce && rows.some((row) => row != null && glides(row)) ? touchMotion.glideBase(list) : null;
2142
+ const spring = !landsAtOnce && rows.some((row) => row != null && glides(row)) ? touchMotion.glideBase(list) : null;
2107
2143
  for (const row of rows) {
2108
2144
  if (row == null) continue;
2109
2145
  const { element, index, shift, value, moving } = row;
@@ -2112,8 +2148,10 @@ var ReorderDrop = class extends ReorderDrag {
2112
2148
  continue;
2113
2149
  }
2114
2150
  if (!glides(row)) continue;
2115
- if (spring != null && index === pending.dragged) touchMotion.glide(element, shift, spring, at, pending.velocity);
2116
- else if (spring != null) touchMotion.follow(element, shift, spring, at);
2151
+ if (spring != null && index === pending.dragged) {
2152
+ if (!reducesMotion(list)) this.travel(element, pending.background || "transparent");
2153
+ touchMotion.glide(element, shift, spring, at, pending.velocity);
2154
+ } else if (spring != null) touchMotion.follow(element, shift, spring, at);
2117
2155
  else settleAtRest(element, value, moving);
2118
2156
  }
2119
2157
  clearReordering(list);
@@ -2151,11 +2189,67 @@ var ReorderDrop = class extends ReorderDrag {
2151
2189
  }
2152
2190
  };
2153
2191
  //#endregion
2192
+ //#region src/List/reorder/reorderLayout.ts
2193
+ function placementOf(handle) {
2194
+ return handle?.placement === "start" ? "start" : "end";
2195
+ }
2196
+ function isAlwaysVisibleOf(handle) {
2197
+ return (handle?.revealBehavior ?? "always") === "always";
2198
+ }
2199
+ /** Rows that reach their container's padding edge keep their handles in them. */
2200
+ function reachesPadding(edge) {
2201
+ return edge === "outset" || edge === "bleed";
2202
+ }
2203
+ const REVEALING_ROW = { class: "astryx-reveal" };
2204
+ const ROOM_AT_START = { "data-reorder-room": "start" };
2205
+ const ROOM_AFTER_MARKER = { "data-reorder-room": "marker" };
2206
+ const NO_ATTRS = {};
2207
+ /** Where a List row's handle sits, and the row's own attributes for it. */
2208
+ function reorderRowLayout({ edge, handle, hasHandle, hasMarker, hasEndContent }) {
2209
+ const placement = placementOf(handle);
2210
+ const isAtStart = placement === "start";
2211
+ const isAlwaysVisible = isAlwaysVisibleOf(handle);
2212
+ const isAfterMarker = isAtStart && hasMarker;
2213
+ const isInRow = isAfterMarker || reachesPadding(edge);
2214
+ let rowAttrs = NO_ATTRS;
2215
+ if (hasHandle) rowAttrs = isAlwaysVisible ? NO_ATTRS : REVEALING_ROW;
2216
+ else if (isAfterMarker) rowAttrs = ROOM_AFTER_MARKER;
2217
+ else if (isAtStart) rowAttrs = ROOM_AT_START;
2218
+ return {
2219
+ placement,
2220
+ isAlwaysVisible,
2221
+ isInRow,
2222
+ isInEndSlot: !isAtStart && isAlwaysVisible && hasEndContent,
2223
+ rowAttrs
2224
+ };
2225
+ }
2226
+ /**
2227
+ * The List's own attributes while it reorders. `data-reorder-handle` names
2228
+ * the handles' edge. `data-reorder-shown` says when the handles take a place
2229
+ * in their rows: `always`, or only where the primary pointer is coarse. The
2230
+ * rows read both for the room a row without a handle keeps.
2231
+ * `data-reorder-gutter` names the room hanging handles take beside the rows'
2232
+ * text, by the rows' own inset.
2233
+ */
2234
+ function reorderListLayout({ edge, density, handle, hasMarkers }) {
2235
+ const placement = placementOf(handle);
2236
+ const sitsInRows = isAlwaysVisibleOf(handle) || reachesPadding(edge);
2237
+ const hangs = !sitsInRows && !(placement === "start" && hasMarkers);
2238
+ const attrs = {
2239
+ "data-reorder-handle": placement,
2240
+ "data-reorder-shown": sitsInRows ? "always" : "coarse"
2241
+ };
2242
+ if (hangs) attrs["data-reorder-gutter"] = edge === "flush" ? "flush" : density === "spacious" ? "spacious" : "padded";
2243
+ return attrs;
2244
+ }
2245
+ //#endregion
2154
2246
  //#region src/List/reorder/reorderController.ts
2155
2247
  var ListReorderController = class extends ReorderDrop {
2156
2248
  Host = _sfc_main$1;
2157
2249
  Handle = _sfc_main$4;
2158
2250
  RowName = ListReorderRowName_default;
2251
+ rowLayout = reorderRowLayout;
2252
+ listLayout = reorderListLayout;
2159
2253
  /** Starts reorder mode on `handle`, or ends it there. */
2160
2254
  toggleMode(handle) {
2161
2255
  if (handle == null || this.session != null) return;
@@ -3114,7 +3208,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
3114
3208
  "aria-hidden": "true",
3115
3209
  style: normalizeStyle(style.value)
3116
3210
  }, [createElementVNode("span", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(keys.value, (key) => {
3117
- return openBlock(), createBlock(_sfc_main$5, {
3211
+ return openBlock(), createBlock(_sfc_main$6, {
3118
3212
  key,
3119
3213
  keys: key
3120
3214
  }, null, 8, ["keys"]);
@@ -6,6 +6,26 @@ interface ReorderMove<TKey extends string | number = string | number, TTo = numb
6
6
  /** The item's index after the move. */
7
7
  readonly to: TTo;
8
8
  }
9
+ /** Where each item's reorder handle sits and when it shows. */
10
+ interface ReorderHandleOptions {
11
+ /**
12
+ * The edge of each item that the handle sits at: `'end'`, after the item's
13
+ * content, or `'start'`, before it.
14
+ * @default 'end'
15
+ */
16
+ readonly placement?: 'start' | 'end';
17
+ /**
18
+ * How the handle reveals itself. `'always'`: it takes its own place in its
19
+ * item, and its grip always shows. `'adaptive'`: where the primary pointer
20
+ * is fine, it shows while its item is hovered or holds the focus; where it
21
+ * is coarse, it always shows. Where it shows only on hover or focus, it
22
+ * takes no space: it hangs outside the item's content, so the content keeps
23
+ * its place, and the collection takes that room from its container's
24
+ * padding. Without it, the collection decides: List and TransferList use
25
+ * `'always'`, and ListInput uses `'adaptive'`.
26
+ */
27
+ readonly revealBehavior?: 'always' | 'adaptive';
28
+ }
9
29
  interface ReorderableOptions<TKey extends string | number = string | number, TTo = number> {
10
30
  /**
11
31
  * Called once per committed move. Apply it by rendering the items in their
@@ -18,6 +38,11 @@ interface ReorderableOptions<TKey extends string | number = string | number, TTo
18
38
  * item moves without it.
19
39
  */
20
40
  isReorderable?: (key: TKey) => boolean;
41
+ /**
42
+ * Where each item's handle sits and when it shows. Without it, the handle
43
+ * ends each item, and the collection decides when it shows.
44
+ */
45
+ handle?: ReorderHandleOptions;
21
46
  }
22
47
  declare const reorderableBrand: unique symbol;
23
48
  /** What `createReorderable` makes: pass it to a List's `reorderable`. */
@@ -52,4 +77,4 @@ interface Reorderable<TKey extends string | number = string | number, TTo = numb
52
77
  */
53
78
  declare function createReorderable<TKey extends string | number = string | number, TTo = number>(options: ReorderableOptions<TKey, TTo>): Reorderable<TKey, TTo>;
54
79
  //#endregion
55
- export { createReorderable as i, Reorderable as n, ReorderableOptions as r, ReorderMove as t };
80
+ export { createReorderable as a, ReorderableOptions as i, ReorderMove as n, Reorderable as r, ReorderHandleOptions as t };
@@ -5,13 +5,17 @@ const dateRangeInputMessages = {
5
5
  placeholder: "Select date range",
6
6
  dialogLabel: "Choose date range",
7
7
  clear: (label) => clearLabel(label, "Clear", "Clear "),
8
- presetDateRanges: "Preset date ranges"
8
+ presetDateRanges: "Preset date ranges",
9
+ rangeValue: (start, end) => `${start} – ${end}`,
10
+ triggerLabel: (label, value) => `${label}: ${value}`
9
11
  },
10
12
  "zh-CN": {
11
13
  placeholder: "选择日期范围",
12
14
  dialogLabel: "选择日期范围",
13
15
  clear: (label) => clearLabel(label, "清除", "清除"),
14
- presetDateRanges: "快捷日期范围"
16
+ presetDateRanges: "快捷日期范围",
17
+ rangeValue: (start, end) => `${start} – ${end}`,
18
+ triggerLabel: (label, value) => `${label}:${value}`
15
19
  }
16
20
  };
17
21
  //#endregion
@@ -33,6 +33,21 @@ const FULL = {
33
33
  second: "2-digit",
34
34
  timeZoneName: "short"
35
35
  };
36
+ const pinnedFormatters = /* @__PURE__ */ new Map();
37
+ /**
38
+ * 写明了时区的格式器按语言和选项留着,再次渲染不重新构造。没写时区的每次现构造,
39
+ * 这样宿主的时区变了也跟得上。
40
+ */
41
+ function dateTimeFormatFor(locale, options) {
42
+ if (options.timeZone == null) return new Intl.DateTimeFormat(locale, options);
43
+ const key = `${locale}\u0000${JSON.stringify(options)}`;
44
+ let formatter = pinnedFormatters.get(key);
45
+ if (formatter == null) {
46
+ formatter = new Intl.DateTimeFormat(locale, options);
47
+ pinnedFormatters.set(key, formatter);
48
+ }
49
+ return formatter;
50
+ }
36
51
  function pad(value) {
37
52
  return String(value).padStart(2, "0");
38
53
  }
@@ -45,7 +60,7 @@ function wallClock(date, timeZone) {
45
60
  minute: date.getMinutes(),
46
61
  second: date.getSeconds()
47
62
  };
48
- const parts = new Intl.DateTimeFormat("en-US", {
63
+ const parts = dateTimeFormatFor("en-US", {
49
64
  timeZone,
50
65
  hourCycle: "h23",
51
66
  year: "numeric",
@@ -70,34 +85,34 @@ function formatInstant(date, format, locale, { timeZone, isTimezoneShown = false
70
85
  const zoneName = isTimezoneShown ? { timeZoneName: "short" } : {};
71
86
  const calendar = labelCalendar(system);
72
87
  switch (format) {
73
- case "full": return new Intl.DateTimeFormat(locale, {
88
+ case "full": return dateTimeFormatFor(locale, {
74
89
  ...FULL,
75
90
  timeZoneName: timeZoneNameStyle,
76
91
  ...zone,
77
92
  calendar
78
93
  }).format(date);
79
- case "date": return new Intl.DateTimeFormat(locale, {
94
+ case "date": return dateTimeFormatFor(locale, {
80
95
  ...DATE_SHORT,
81
96
  ...zone,
82
97
  calendar
83
98
  }).format(date);
84
- case "date_long": return new Intl.DateTimeFormat(locale, {
99
+ case "date_long": return dateTimeFormatFor(locale, {
85
100
  ...DATE_LONG,
86
101
  ...zone,
87
102
  calendar
88
103
  }).format(date);
89
- case "date_weekday": return new Intl.DateTimeFormat(locale, {
104
+ case "date_weekday": return dateTimeFormatFor(locale, {
90
105
  ...DATE_WEEKDAY,
91
106
  ...zone,
92
107
  calendar
93
108
  }).format(date);
94
- case "date_time": return new Intl.DateTimeFormat(locale, {
109
+ case "date_time": return dateTimeFormatFor(locale, {
95
110
  ...DATE_TIME,
96
111
  ...zoneName,
97
112
  ...zone,
98
113
  calendar
99
114
  }).format(date);
100
- case "time": return new Intl.DateTimeFormat(locale, {
115
+ case "time": return dateTimeFormatFor(locale, {
101
116
  ...TIME,
102
117
  ...zoneName,
103
118
  ...zone
@@ -118,4 +133,4 @@ function formatInstant(date, format, locale, { timeZone, isTimezoneShown = false
118
133
  }
119
134
  }
120
135
  //#endregion
121
- export { formatInstant as t };
136
+ export { formatInstant as n, dateTimeFormatFor as t };
@@ -28,9 +28,9 @@ 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
- isDisabled: boolean;
33
31
  isIconOnly: boolean;
32
+ isDisabled: boolean;
33
+ size: NavItemSize;
34
34
  isSelected: boolean;
35
35
  isFocusableWhenDisabled: boolean;
36
36
  plain: boolean;
@@ -1,5 +1,5 @@
1
1
  import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
2
- import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-Ck5Goxxp.js";
2
+ import { C as DropdownMenuGroupSlots, D as DropdownMenuItemVariant, E as DropdownMenuItemSlots, F as DropdownMenuSubMenuProps, I as DropdownMenuSubMenuSlots, P as DropdownMenuSubMenuPresentation, S as DropdownMenuGroupProps, T as DropdownMenuItemProps, _ as DropdownMenuSlots, f as DropdownMenuProps, g as DropdownMenuSize } from "./DropdownMenuRadioItem.vue-Dnvhnk6I.js";
3
3
  import { ComputedRef, InjectionKey, Ref } from "vue";
4
4
  //#region src/DropdownMenu/useMenuDrillIn.d.ts
5
5
  /**
@@ -45,8 +45,8 @@ interface TimerProps {
45
45
  //#region src/Timer/Timer.vue.d.ts
46
46
  declare const __VLS_export: import("vue").DefineComponent<TimerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimerProps> & Readonly<{}>, {
47
47
  type: TimerType;
48
- format: "clock" | "elapsed";
49
48
  color: TimerColor;
49
+ format: "clock" | "elapsed";
50
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
51
  declare const _default: typeof __VLS_export;
52
52
  //#endregion
@@ -8,12 +8,12 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
8
8
  }, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
9
9
  onClick?: ((event: MouseEvent) => any) | undefined;
10
10
  }>, {
11
- type: "button" | "submit" | "reset";
11
+ type: "button" | "reset" | "submit";
12
+ isIconOnly: boolean;
12
13
  elevation: ButtonElevation;
13
14
  isDisabled: boolean;
14
- isLoading: boolean;
15
- isIconOnly: boolean;
16
15
  isInterruptible: boolean;
16
+ isLoading: boolean;
17
17
  loadingLabel: string;
18
18
  variant: ButtonVariant;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;