@astryx-vue/core 0.2.2 → 0.2.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.
Files changed (253) hide show
  1. package/THIRD_PARTY_NOTICES.md +2 -0
  2. package/dist/AppShell/index.d.ts +1 -1
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-Cb41gIAj.js → AppShell-Dd-D4bA2.js} +2 -2
  5. package/dist/AvatarGroup/index.d.ts +1 -1
  6. package/dist/Banner/index.d.ts +1 -1
  7. package/dist/Breadcrumbs/index.d.ts +3 -2
  8. package/dist/Breadcrumbs/index.js +3 -2
  9. package/dist/{Breadcrumbs-CTQ7fjDn.js → Breadcrumbs-CWGfgLNK.js} +13 -8
  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 +2 -2
  13. package/dist/Calendar/index.js +1 -1
  14. package/dist/Calendar-CnOsSjMY.js +656 -0
  15. package/dist/Card/index.d.ts +1 -1
  16. package/dist/Carousel/index.js +1 -1
  17. package/dist/{Carousel-X0cuQkvg.js → Carousel-JA7ilqI_.js} +2 -2
  18. package/dist/Chat/index.d.ts +1 -1
  19. package/dist/Chat/index.js +1 -1
  20. package/dist/{Chat-M0tiGrNT.js → Chat-C7WrCOE4.js} +3 -3
  21. package/dist/CheckboxIndicator/index.js +1 -1
  22. package/dist/CheckboxIndicator-D37cm2Rh.js +68 -0
  23. package/dist/CheckboxInput/index.d.ts +1 -1
  24. package/dist/CheckboxInput/index.js +1 -1
  25. package/dist/{CheckboxInput-CMsEE1_4.js → CheckboxInput-25Q8ItH-.js} +10 -9
  26. package/dist/CheckboxList/index.d.ts +1 -1
  27. package/dist/CheckboxList/index.js +1 -1
  28. package/dist/{CheckboxList-BbCPiend.js → CheckboxList-CnCGnkZk.js} +77 -24
  29. package/dist/Citation/index.js +1 -1
  30. package/dist/{Citation-C1veUk5p.js → Citation-CtwrU33I.js} +2 -2
  31. package/dist/ClickableCard/index.d.ts +1 -1
  32. package/dist/Code/index.d.ts +1 -1
  33. package/dist/Code/index.js +2 -2
  34. package/dist/{Code-yb_KOFtJ.js → Code-BvefYRpx.js} +2 -1
  35. package/dist/{CodeBlock-DesTJAkm.js → CodeBlock-BZGzYeoL.js} +1 -1
  36. package/dist/Collapsible/index.d.ts +1 -1
  37. package/dist/Collapsible/index.js +1 -1
  38. package/dist/{Collapsible-BestK35V.js → Collapsible-3YerR-FO.js} +1 -1
  39. package/dist/CommandPalette/index.js +1 -1
  40. package/dist/{CommandPalette-BArt97V8.js → CommandPalette-BNbM9T9y.js} +1 -1
  41. package/dist/ComplexSelector/index.d.ts +1 -1
  42. package/dist/ComplexSelector/index.js +1 -1
  43. package/dist/{ComplexSelector-CAoig1RK.js → ComplexSelector-LtbLlrcj.js} +3 -3
  44. package/dist/ContextMenu/index.d.ts +3 -2
  45. package/dist/ContextMenu/index.js +3 -2
  46. package/dist/{ContextMenu-9Im6i43E.js → ContextMenu-DVQl0xL5.js} +204 -56
  47. package/dist/DateInput/index.d.ts +2 -2
  48. package/dist/DateInput/index.js +1 -1
  49. package/dist/DateInput-zm8sNc0t.js +743 -0
  50. package/dist/DateRangeInput/index.d.ts +1 -1
  51. package/dist/DateRangeInput/index.js +1 -1
  52. package/dist/{DateRangeInput-DwDy3eRo.js → DateRangeInput-DlVFzrf7.js} +54 -19
  53. package/dist/DateTimeInput/index.d.ts +1 -1
  54. package/dist/DateTimeInput/index.js +1 -1
  55. package/dist/{DateTimeInput-BYiaC9bn.js → DateTimeInput-C7Z-p6Yd.js} +54 -15
  56. package/dist/Dialog/index.d.ts +1 -1
  57. package/dist/DropdownMenu/index.d.ts +3 -3
  58. package/dist/DropdownMenu/index.js +4 -3
  59. package/dist/{DropdownMenu-Dh-WAHKb.js → DropdownMenu-BoZChdev.js} +308 -63
  60. package/dist/DropdownMenu-u1psFjis.js +325 -0
  61. package/dist/DropdownMenuRadioItem.vue-uVM0FD2f.d.ts +564 -0
  62. package/dist/FileInput/index.d.ts +1 -1
  63. package/dist/FileInput/index.js +1 -1
  64. package/dist/{FileInput-DLO6V12n.js → FileInput-QdlZn7qK.js} +2 -2
  65. package/dist/Icon/index.d.ts +4 -3
  66. package/dist/Icon/index.js +2 -2
  67. package/dist/{Icon-CJKjdJy-.js → Icon-bteSId7T.js} +113 -18
  68. package/dist/Indicator/index.d.ts +3 -0
  69. package/dist/Indicator/index.js +2 -0
  70. package/dist/InputGroup/index.d.ts +2 -2
  71. package/dist/InputGroup/index.js +3 -2
  72. package/dist/InputGroup-BzR6JRZb.js +129 -0
  73. package/dist/Lightbox/index.js +1 -1
  74. package/dist/{Lightbox-CdFCS_EA.js → Lightbox-BSzfqZ-u.js} +2 -2
  75. package/dist/List/index.d.ts +1 -1
  76. package/dist/Markdown/index.js +1 -1
  77. package/dist/{Markdown-BqKloI3w.js → Markdown-B6tSqenv.js} +8 -5
  78. package/dist/MetadataList/index.js +1 -1
  79. package/dist/{MetadataList-CvZkmisf.js → MetadataList-aN1tRn6W.js} +1 -1
  80. package/dist/MobileNav/index.js +1 -1
  81. package/dist/{MobileNavToggle-Bwi0qXXM.js → MobileNavToggle-fqcSafkc.js} +1 -1
  82. package/dist/MoreMenu/index.d.ts +1 -1
  83. package/dist/MoreMenu/index.js +1 -1
  84. package/dist/{MoreMenu-BwJaJrkB.js → MoreMenu-B3brqdK_.js} +1 -1
  85. package/dist/MultiSelector/index.d.ts +2 -2
  86. package/dist/MultiSelector/index.js +1 -1
  87. package/dist/{MultiSelector-C-ETfFy_.js → MultiSelector-BD5PMgez.js} +303 -121
  88. package/dist/{NavDisclosure-DHrSNRDR.js → NavDisclosure-DbYLDXK0.js} +1 -1
  89. package/dist/NavItem/index.d.ts +1 -1
  90. package/dist/NavMenu/index.js +2 -2
  91. package/dist/{NavMenuItem-B-k7olt5.js → NavMenuItem-DrwIMHKO.js} +1 -1
  92. package/dist/NumberInput/index.d.ts +1 -1
  93. package/dist/NumberInput/index.js +1 -1
  94. package/dist/{NumberInput-DjetVB8O.js → NumberInput-CBeU4lEl.js} +1 -1
  95. package/dist/Outline/index.js +1 -1
  96. package/dist/{Outline-Bz9c-u5y.js → Outline--HVMSB6i.js} +1 -1
  97. package/dist/OverflowList/index.d.ts +1 -1
  98. package/dist/OverflowList/index.js +1 -1
  99. package/dist/{OverflowList-ED-KN9Y5.js → OverflowList-FMh7r-r_.js} +3 -3
  100. package/dist/Pagination/index.d.ts +1 -1
  101. package/dist/Pagination/index.js +1 -1
  102. package/dist/{Pagination-Cb66HMEf.js → Pagination-DlIvESjx.js} +2 -2
  103. package/dist/Popover/index.d.ts +1 -1
  104. package/dist/Popover/index.js +1 -1
  105. package/dist/{Popover-Crhk9PNP.js → Popover-D7zqpFwU.js} +1 -1
  106. package/dist/PowerSearch/index.d.ts +1 -1
  107. package/dist/PowerSearch/index.js +1 -1
  108. package/dist/{PowerSearch-CjU8y4mi.js → PowerSearch-CMG7Rb69.js} +14 -14
  109. package/dist/ProgressBar/index.d.ts +1 -1
  110. package/dist/Radio/index.d.ts +1 -1
  111. package/dist/Radio/index.js +1 -1
  112. package/dist/{RadioGroup-BqjdSCfJ.js → RadioGroup-CBqUPq_L.js} +16 -8
  113. package/dist/RadioList/index.d.ts +1 -1
  114. package/dist/RadioList/index.js +1 -1
  115. package/dist/{RadioList-DI8ujXcT.js → RadioList-CPOJn9Th.js} +1 -1
  116. package/dist/Resizable/index.js +1 -1
  117. package/dist/{Resizable-D-TBCg0Y.js → Resizable-CXpvj1TZ.js} +1 -1
  118. package/dist/ScrollableArea/index.d.ts +1 -1
  119. package/dist/SegmentedControl/index.d.ts +1 -1
  120. package/dist/SelectableCard/index.d.ts +1 -1
  121. package/dist/Selector/index.d.ts +2 -2
  122. package/dist/Selector/index.js +1 -1
  123. package/dist/Selector-BpPnuWH3.js +618 -0
  124. package/dist/SideNav/index.d.ts +1 -1
  125. package/dist/SideNav/index.js +1 -1
  126. package/dist/{SideNav-DonEfiAx.js → SideNav-D4TupqgE.js} +3 -3
  127. package/dist/Stack/index.d.ts +1 -1
  128. package/dist/Stepper/index.d.ts +1 -1
  129. package/dist/Stepper/index.js +1 -1
  130. package/dist/{Stepper-D2ZIcUNx.js → Stepper-H-6-T5Ps.js} +1 -1
  131. package/dist/Switch/index.d.ts +1 -1
  132. package/dist/TabList/index.d.ts +1 -1
  133. package/dist/TabList/index.js +1 -1
  134. package/dist/{TabList-D3F-stq-.js → TabList-BlzkrObv.js} +2 -2
  135. package/dist/Table/index.js +1 -1
  136. package/dist/{Table-CrP2Uffq.js → Table-nqA_njNz.js} +6 -6
  137. package/dist/TextArea/index.d.ts +1 -1
  138. package/dist/TextInput/index.d.ts +1 -1
  139. package/dist/Theme/index.d.ts +2 -1
  140. package/dist/Theme/index.js +1 -1
  141. package/dist/{Theme-BuUiiJNr.js → Theme-CejS9MHm.js} +21 -3
  142. package/dist/Thumbnail/index.js +1 -1
  143. package/dist/{Thumbnail-BC5JGPGZ.js → Thumbnail-CXb3m_Hv.js} +2 -2
  144. package/dist/{TimeField-DpHFrNv0.js → TimeField-B3cndWb0.js} +2 -2
  145. package/dist/TimeInput/index.d.ts +1 -1
  146. package/dist/TimeInput/index.js +1 -1
  147. package/dist/{TimeInput-DJLV0_4z.js → TimeInput-BHQ_LKGm.js} +1 -1
  148. package/dist/Timestamp/index.d.ts +1 -1
  149. package/dist/Timestamp/index.js +1 -1
  150. package/dist/{Timestamp-GKNjjt5g.js → Timestamp-Cfuxbb3i.js} +2 -2
  151. package/dist/ToggleButton/index.d.ts +1 -1
  152. package/dist/Token/index.d.ts +1 -1
  153. package/dist/Token/index.js +1 -1
  154. package/dist/{Token-Chu_eCVs.js → Token-CdVLH0_H.js} +2 -2
  155. package/dist/Tokenizer/index.d.ts +1 -1
  156. package/dist/Tokenizer/index.js +1 -1
  157. package/dist/{Tokenizer-DRDpvQ_l.js → Tokenizer-DlD-S_8-.js} +3 -3
  158. package/dist/Toolbar/index.d.ts +1 -1
  159. package/dist/TopNav/index.d.ts +1 -1
  160. package/dist/TopNav/index.js +1 -1
  161. package/dist/{TopNav-CEyWddtA.js → TopNav-DzV874G7.js} +5 -5
  162. package/dist/TreeList/index.js +1 -1
  163. package/dist/{TreeList-COS8US8e.js → TreeList-DEwvlZRV.js} +2 -2
  164. package/dist/Typeahead/index.d.ts +1 -1
  165. package/dist/Typeahead/index.js +1 -1
  166. package/dist/{Typeahead-P7cCqtaQ.js → Typeahead-DQ3tmqYe.js} +3 -3
  167. package/dist/{context-O2Vb8cJl.js → colorMode-CBgdgDSn.js} +1 -7
  168. package/dist/composables/index.d.ts +2 -2
  169. package/dist/composables/index.js +10 -5
  170. package/dist/{composables-CVfjp9h4.js → composables-DDI08XFF.js} +98 -1
  171. package/dist/context-Cws_tXTr.js +7 -0
  172. package/dist/context-D5-MwxnN.js +4 -0
  173. package/dist/{context-CiKncNSH.js → context-DmOLCubj.js} +82 -8
  174. package/dist/{index-DimuSES0.d.ts → index-B1x05arQ.d.ts} +3 -1
  175. package/dist/index-B9f1rUEv.d.ts +77 -0
  176. package/dist/{index-D-ZuubCK.d.ts → index-BB5yVIN-.d.ts} +2 -2
  177. package/dist/{index-Bu0Zd1uw.d.ts → index-BMn9ghAX.d.ts} +3 -3
  178. package/dist/{index-CJlBAXwj.d.ts → index-BRfR0lhb.d.ts} +41 -4
  179. package/dist/{index-DNRBbwp_.d.ts → index-BTAgQRP0.d.ts} +758 -111
  180. package/dist/{index-DA52oIdw.d.ts → index-BcJBLWJ0.d.ts} +2 -2
  181. package/dist/{index-jdjcb3Js.d.ts → index-Bqb_Fyju.d.ts} +2 -2
  182. package/dist/{index-CNjbOgty.d.ts → index-C-QpeUlQ.d.ts} +2 -2
  183. package/dist/{index-DGXviOlp.d.ts → index-C2sfHfBw.d.ts} +31 -5
  184. package/dist/{index-By2mSzUA.d.ts → index-CA6RbRWx.d.ts} +1 -1
  185. package/dist/{index-gW0HW02U.d.ts → index-COxy6LEW.d.ts} +1 -1
  186. package/dist/{index-CVn0GBdB.d.ts → index-Ca8VIE4l.d.ts} +1 -1
  187. package/dist/{index-CRizexSC.d.ts → index-Ch6BbxCP.d.ts} +2 -67
  188. package/dist/{index-DWH_HzXi.d.ts → index-ChWlKHjc.d.ts} +1 -1
  189. package/dist/{index-kVhSuA9t.d.ts → index-Ctu32CLv.d.ts} +4 -4
  190. package/dist/{index-DOUEn7V0.d.ts → index-D1Twv_fL.d.ts} +65 -6
  191. package/dist/{index-D_nYxnNv.d.ts → index-D7-WTV6I.d.ts} +1 -1
  192. package/dist/{index-c_TaW8mM.d.ts → index-D8o50qOE.d.ts} +1 -1
  193. package/dist/{index-D4I_obqR.d.ts → index-DAiGhkNZ.d.ts} +1 -1
  194. package/dist/{index-Cs5pcwY3.d.ts → index-DMQG6kdM.d.ts} +3 -3
  195. package/dist/index-D_UEJIU5.d.ts +83 -0
  196. package/dist/{index-fa72tWIU.d.ts → index-DkVEBdWa.d.ts} +2 -2
  197. package/dist/{index-B1TG2GPS.d.ts → index-DxsKyAxq.d.ts} +116 -44
  198. package/dist/{index-BHqRH7QW.d.ts → index-FEy8qFSD.d.ts} +2 -2
  199. package/dist/{index-qiZtHnGK.d.ts → index-LIyvJTW3.d.ts} +39 -0
  200. package/dist/{index-BKr7yvVv.d.ts → index-MPcg1Pm4.d.ts} +1 -1
  201. package/dist/{index-cGagYM1g.d.ts → index-ViSV0RBx.d.ts} +1 -1
  202. package/dist/{index-C7mxUcDR.d.ts → index-f4NGT-e2.d.ts} +4 -4
  203. package/dist/{index-DsyKhauk.d.ts → index-foQMNKZO.d.ts} +1 -1
  204. package/dist/{index-u5ozu0G7.d.ts → index-vP0EtrJJ.d.ts} +13 -3
  205. package/dist/{index-CZeoAr0a.d.ts → index-xfkEuGLY.d.ts} +2 -2
  206. package/dist/index.d.ts +76 -75
  207. package/dist/index.js +115 -107
  208. package/dist/locale/index.d.ts +1 -1
  209. package/dist/locale/index.js +2 -2
  210. package/dist/{locale-Cpk_nrLA.js → locale-CCwVnyMZ.js} +25 -1
  211. package/dist/searchResultMessage-DN0HeRRB.js +94 -0
  212. package/dist/semantic-CKH9XVqa.d.ts +54 -0
  213. package/dist/{types-pnljWjEE.d.ts → types-CwyibrRB.d.ts} +12 -11
  214. package/dist/types-jmqqnkKA.d.ts +163 -0
  215. package/dist/{useAnchoredListbox-7W90Ny-9.js → useAnchoredListbox-BN9LQnon.js} +1 -1
  216. package/dist/useDatePresentation-C07PnOCw.js +21 -0
  217. package/dist/{useMonthGrid-CmJsZTcB.js → useDateRange-CIXoE_8k.js} +1 -42
  218. package/dist/useDisclosureHandle-Df3HhAfC.js +24 -0
  219. package/dist/{useDismiss-CAiHU6QD.js → useDismiss-Cj8x_51F.js} +8 -4
  220. package/dist/useFieldControlState-voICDrys.js +18 -0
  221. package/dist/useHandleRef-6cdKugm8.js +17 -0
  222. package/dist/useIndicator-i1NORM7W.js +147 -0
  223. package/dist/useMenuDrillIn-OaEwjK44.js +520 -0
  224. package/dist/useMonthGrid-fGHSSrFc.js +43 -0
  225. package/dist/usePendingChange-ib-h8FZK.js +25 -0
  226. package/dist/useSubmenuMode-CZN9qrUo.js +37 -0
  227. package/package.json +5 -1
  228. package/styles/calendar.css +38 -3
  229. package/styles/check-indicator.css +17 -0
  230. package/styles/checkbox-indicator.css +29 -10
  231. package/styles/checkbox-input.css +0 -11
  232. package/styles/date-input.css +48 -0
  233. package/styles/dropdown-menu.css +163 -0
  234. package/styles/field.css +48 -0
  235. package/styles/icon.css +51 -3
  236. package/styles/input-group.css +32 -3
  237. package/styles/multi-selector.css +26 -0
  238. package/styles/radio-indicator.css +90 -0
  239. package/styles/radio.css +9 -42
  240. package/styles/selector.css +112 -14
  241. package/styles.css +2 -0
  242. package/dist/Calendar-BFaI5AMv.js +0 -352
  243. package/dist/CheckboxIndicator-DdJmksHt.js +0 -52
  244. package/dist/DateInput-BLocxqC3.js +0 -376
  245. package/dist/DropdownMenu-Ddfr-aEC.js +0 -164
  246. package/dist/InputGroup-ChrFVxzV.js +0 -42
  247. package/dist/Selector-DE2IEFML.js +0 -468
  248. package/dist/index-Bgv4ZmBl.d.ts +0 -72
  249. package/dist/index-DN7MXPHM.d.ts +0 -398
  250. package/dist/index-IbUN4M8V.d.ts +0 -40
  251. package/dist/types-DDAAT1Xd.d.ts +0 -285
  252. package/dist/useGridRovingFocus-DQQAOYH5.js +0 -99
  253. /package/dist/{index-BUXNRekN.d.ts → index-BXkNZF3q.d.ts} +0 -0
@@ -3,6 +3,30 @@ import "./useClipboard-CU-kfqeJ.js";
3
3
  import "./useResizable-CUoNPmUw.js";
4
4
  import { CSSProperties, ComputedRef, InjectionKey, MaybeRefOrGetter, Ref } from "vue";
5
5
  import { CalendarDate } from "@internationalized/date";
6
+ //#region src/composables/useDateRange.d.ts
7
+ interface ISODateRange {
8
+ start: string;
9
+ end: string;
10
+ }
11
+ type WeekStartsOn = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat';
12
+ declare function resolveWeekStart(value: WeekStartsOn | number | undefined): number;
13
+ declare function compareISODate(a: string, b: string): number;
14
+ declare function spanDays(start: string, end: string): number;
15
+ declare function orderRange(a: string, b: string): ISODateRange;
16
+ declare function isSameRange(a: ISODateRange | null, b: ISODateRange | null): boolean;
17
+ declare function isRangeWithinSpan(range: ISODateRange, minRangeSpan?: number, maxRangeSpan?: number): boolean;
18
+ interface RangeClickResult {
19
+ pending: string | null;
20
+ commit: ISODateRange | null;
21
+ }
22
+ /**
23
+ * 第一次点击记下起点。第二次点击在跨度合法时提交区间。
24
+ * 再次点击起点时,最短跨度允许单日就提交单日,否则取消这次选择。
25
+ */
26
+ declare function applyRangeClick(pending: string | null, day: string, minRangeSpan?: number, maxRangeSpan?: number): RangeClickResult;
27
+ declare function isDayOutsideSpan(pending: string | null, day: string, minRangeSpan?: number, maxRangeSpan?: number): boolean;
28
+ declare function formatDateRange(range: ISODateRange | null, locale: string): string;
29
+ //#endregion
6
30
  //#region src/composables/internal/announce.d.ts
7
31
  /**
8
32
  * 对应原版 Astryx 的 `hooks/useAnnounce`。
@@ -252,29 +276,59 @@ interface ControllableState<T> {
252
276
  */
253
277
  declare function useControllableState<T>(options: UseControllableStateOptions<T>): ControllableState<T>;
254
278
  //#endregion
255
- //#region src/composables/useDateRange.d.ts
256
- interface ISODateRange {
257
- start: string;
258
- end: string;
279
+ //#region src/composables/useTimeValue.d.ts
280
+ type HourFormat = '12h' | '24h';
281
+ type ISOTimeString = string;
282
+ interface ParsedTime {
283
+ hours: number;
284
+ minutes: number;
285
+ seconds: number;
259
286
  }
260
- type WeekStartsOn = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat';
261
- declare function resolveWeekStart(value: WeekStartsOn | number | undefined): number;
262
- declare function compareISODate(a: string, b: string): number;
263
- declare function spanDays(start: string, end: string): number;
264
- declare function orderRange(a: string, b: string): ISODateRange;
265
- declare function isSameRange(a: ISODateRange | null, b: ISODateRange | null): boolean;
266
- declare function isRangeWithinSpan(range: ISODateRange, minRangeSpan?: number, maxRangeSpan?: number): boolean;
267
- interface RangeClickResult {
268
- pending: string | null;
269
- commit: ISODateRange | null;
287
+ declare function parseISOTime(value: string): ParsedTime | null;
288
+ declare function formatISOTime(time: ParsedTime, hasSeconds: boolean): ISOTimeString;
289
+ declare function formatDisplayTime(value: string, hourFormat: HourFormat, hasSeconds: boolean): string;
290
+ declare function parseDisplayTime(text: string, hasSeconds: boolean): ISOTimeString | null;
291
+ declare function shiftTime(value: string, minuteDelta: number, hasSeconds: boolean): ISOTimeString;
292
+ declare function isTimeInRange(value: string, min?: string, max?: string): boolean;
293
+ type TimePresentation = 'text-input' | 'popover' | 'bottom-sheet' | 'native' | 'adaptive-bottom-sheet' | 'adaptive-native';
294
+ type NativePicker = 'touch' | 'always' | 'never';
295
+ declare function resolveTimeSurface(options: {
296
+ presentation?: TimePresentation;
297
+ nativePicker?: NativePicker;
298
+ coarse: boolean;
299
+ hasSeconds: boolean;
300
+ increment: number;
301
+ }): 'text' | 'native';
302
+ //#endregion
303
+ //#region src/composables/useDatePresentation.d.ts
304
+ /** Which surface collects a date. The text-only option belongs to the time field. */
305
+ type DatePresentation = 'popover' | 'bottom-sheet' | 'native' | 'adaptive-bottom-sheet' | 'adaptive-native';
306
+ type DateSurface = 'popover' | 'sheet' | 'native';
307
+ /**
308
+ * `presentation` wins over the older native picker name.
309
+ * With neither set, a mouse gets the calendar popover and a coarse pointer gets the system date control.
310
+ */
311
+ declare function resolveDatePresentation(presentation: DatePresentation | undefined, nativePicker: NativePicker | undefined): DatePresentation;
312
+ declare function resolveDateSurface(presentation: DatePresentation, coarse: boolean): DateSurface;
313
+ //#endregion
314
+ //#region src/composables/useDisclosureHandle.d.ts
315
+ interface DisclosureHandle {
316
+ open: () => void;
317
+ close: () => void;
318
+ toggle: () => void;
319
+ isOpen: () => boolean;
270
320
  }
271
321
  /**
272
- * 第一次点击记下起点。第二次点击在跨度合法时提交区间。
273
- * 再次点击起点时,最短跨度允许单日就提交单日,否则取消这次选择。
322
+ * 模板里的 ref 会被自动解包,所以直接绑到模板上会拿到 null。
323
+ * 请把读取函数交给 useDisclosureHandle,函数里再返回这个句柄。
274
324
  */
275
- declare function applyRangeClick(pending: string | null, day: string, minRangeSpan?: number, maxRangeSpan?: number): RangeClickResult;
276
- declare function isDayOutsideSpan(pending: string | null, day: string, minRangeSpan?: number, maxRangeSpan?: number): boolean;
277
- declare function formatDateRange(range: ISODateRange | null, locale: string): string;
325
+ type DisclosureHandleRef = Ref<DisclosureHandle | null> | ((handle: DisclosureHandle | null) => void);
326
+ /**
327
+ * 把打开、关闭、切换和当前是否打开写到调用方持有的句柄上。
328
+ * 必须传入读取函数。句柄本身常常就是一个 ref,直接交给 Vue 的解包会拿到里面的 null。
329
+ * 句柄换掉时先把旧的清空,组件卸载时也清空。
330
+ */
331
+ declare function useDisclosureHandle(read: () => DisclosureHandleRef | undefined, handle: DisclosureHandle): void;
278
332
  //#endregion
279
333
  //#region src/composables/useDismiss.d.ts
280
334
  interface UseDismissOptions {
@@ -288,6 +342,11 @@ interface UseDismissOptions {
288
342
  enableEscape?: Ref<boolean>;
289
343
  /** 关闭回调 */
290
344
  onDismiss: () => void;
345
+ /**
346
+ * Escape 单独处理。不传时和点击外部走同一个回调。
347
+ * 菜单钻进子层时,Escape 先退一层,点击外部仍整层关闭。
348
+ */
349
+ onEscape?: () => void;
291
350
  }
292
351
  /**
293
352
  * 统一处理浮层组件的关闭逻辑:点击外部和按 Escape 键。
@@ -300,6 +359,27 @@ interface UseDismissOptions {
300
359
  */
301
360
  declare function useDismiss(options: UseDismissOptions): void;
302
361
  //#endregion
362
+ //#region src/composables/useFieldControlState.d.ts
363
+ interface FieldControlStateInput {
364
+ disabled?: MaybeRefOrGetter<boolean | undefined>;
365
+ readOnly?: MaybeRefOrGetter<boolean | undefined>;
366
+ loading?: MaybeRefOrGetter<boolean | undefined>;
367
+ }
368
+ interface FieldControlState {
369
+ /** 禁用优先于只读。禁用时控件变暗,并且不能聚焦到可操作的状态。 */
370
+ isDisabled: ComputedRef<boolean>;
371
+ /** 只读保留当前值、焦点和表单提交,但不打开选择面,也不变暗。 */
372
+ isReadOnly: ComputedRef<boolean>;
373
+ isLoading: ComputedRef<boolean>;
374
+ /** 可以打开选择面或切换选项。 */
375
+ canActivate: ComputedRef<boolean>;
376
+ }
377
+ /**
378
+ * 选择器和复选列表共用的三种互斥状态。
379
+ * 同时标成禁用和只读时,按禁用处理。
380
+ */
381
+ declare function useFieldControlState(input: FieldControlStateInput): FieldControlState;
382
+ //#endregion
303
383
  //#region src/composables/useFileSelection.d.ts
304
384
  interface FileRejection {
305
385
  code: 'type' | 'size' | 'count';
@@ -374,6 +454,11 @@ interface GridRovingFocus {
374
454
  */
375
455
  declare function useGridRovingFocus(options: UseGridRovingFocusOptions): GridRovingFocus;
376
456
  //#endregion
457
+ //#region src/composables/useHandleRef.d.ts
458
+ type HandleRef<T> = Ref<T | null> | ((handle: T | null) => void);
459
+ /** Keeps an imperative handle on a ref or a callback, and clears it when the owner goes away. */
460
+ declare function useHandleRef<T extends object>(read: () => HandleRef<T> | undefined, handle: T): void;
461
+ //#endregion
377
462
  //#region src/composables/useHotkeys.d.ts
378
463
  /**
379
464
  * 一条全局快捷键。
@@ -662,6 +747,17 @@ declare function computeOverflow(input: ComputeOverflowInput): ComputeOverflowRe
662
747
  declare function useOverflow(element: Ref<HTMLElement | null>, isActive: Ref<boolean>): Ref<boolean>;
663
748
  declare function useOverflow(itemCount: MaybeRefOrGetter<number>, options?: UseOverflowOptions): UseOverflowReturn;
664
749
  //#endregion
750
+ //#region src/composables/usePendingChange.d.ts
751
+ interface PendingChange<T> {
752
+ busy: Readonly<Ref<boolean>>;
753
+ run: (value: T) => Promise<void>;
754
+ }
755
+ /**
756
+ * Runs a change action after the value is already committed.
757
+ * Overlapping calls stay busy until the last one settles.
758
+ */
759
+ declare function usePendingChange<T>(action: () => ((value: T) => void | Promise<void>) | undefined): PendingChange<T>;
760
+ //#endregion
665
761
  //#region src/composables/useRestoreFocus.d.ts
666
762
  interface UseRestoreFocusOptions {
667
763
  /** 是否启用焦点恢复 */
@@ -756,30 +852,6 @@ declare function snapToGraphemeBoundary(text: string, offset: number): number;
756
852
  */
757
853
  declare function useStreamingText(targetText: MaybeRefOrGetter<string>, isStreaming?: MaybeRefOrGetter<boolean>, options?: MaybeRefOrGetter<UseStreamingTextOptions>): ComputedRef<string>;
758
854
  //#endregion
759
- //#region src/composables/useTimeValue.d.ts
760
- type HourFormat = '12h' | '24h';
761
- type ISOTimeString = string;
762
- interface ParsedTime {
763
- hours: number;
764
- minutes: number;
765
- seconds: number;
766
- }
767
- declare function parseISOTime(value: string): ParsedTime | null;
768
- declare function formatISOTime(time: ParsedTime, hasSeconds: boolean): ISOTimeString;
769
- declare function formatDisplayTime(value: string, hourFormat: HourFormat, hasSeconds: boolean): string;
770
- declare function parseDisplayTime(text: string, hasSeconds: boolean): ISOTimeString | null;
771
- declare function shiftTime(value: string, minuteDelta: number, hasSeconds: boolean): ISOTimeString;
772
- declare function isTimeInRange(value: string, min?: string, max?: string): boolean;
773
- type TimePresentation = 'text-input' | 'popover' | 'bottom-sheet' | 'native' | 'adaptive-bottom-sheet' | 'adaptive-native';
774
- type NativePicker = 'touch' | 'always' | 'never';
775
- declare function resolveTimeSurface(options: {
776
- presentation?: TimePresentation;
777
- nativePicker?: NativePicker;
778
- coarse: boolean;
779
- hasSeconds: boolean;
780
- increment: number;
781
- }): 'text' | 'native';
782
- //#endregion
783
855
  //#region src/composables/useTypeahead.d.ts
784
856
  interface UseTypeaheadOptions {
785
857
  /** 当前 DOM 顺序上的标签。某一项可以是 null,表示这个下标不能匹配。 */
@@ -812,4 +884,4 @@ interface UseTypeaheadReturn {
812
884
  */
813
885
  declare function useTypeahead(options: UseTypeaheadOptions): UseTypeaheadReturn;
814
886
  //#endregion
815
- export { useLongPress as $, useAppShellMobile as $t, UseScrollableAreaOptions as A, spanDays as At, computeOverflow as B, INTERACTIVE_SELECTORS as Bt, useScrollLock as C, compareISODate as Ct, ScrollRole as D, isSameRange as Dt, ScrollOverscroll as E, isRangeWithinSpan as Et, useRestoreFocus as F, ComboboxOption as Ft, addMonths as G, UseChatStreamScrollReturn as Gt, NumberField as H, useClickableContainer as Ht, ComputeOverflowInput as I, UseComboboxOptions as It, toISODate as J, UseChatNewMessagesOptions as Jt, buildMonthGrid as K, useChatStreamScroll as Kt, ComputeOverflowResult as L, useCombobox as Lt, useScrollableArea as M, UseControllableStateOptions as Mt, RestoreFocus as N, useControllableState as Nt, ScrollStickyContainment as O, orderRange as Ot, UseRestoreFocusOptions as P, Combobox as Pt, LongPressOptions as Q, appShellMobileKey as Qt, UseOverflowOptions as R, useCoarsePointer as Rt, useScrollOverflow as S, applyRangeClick as St, ScrollAxisState as T, isDayOutsideSpan as Tt, UseNumberFieldOptions as U, ChatScrollToBottomOptions as Ut, useOverflow as V, UseClickableContainerOptions as Vt, useNumberField as W, UseChatStreamScrollOptions as Wt, useMediaQuery as X, useChatNewMessages as Xt, todayISODate as Y, UseChatNewMessagesReturn as Yt, LongPressHandlers as Z, AppShellMobile as Zt, UseStreamingTextOptions as _, UseDismissOptions as _t, ISOTimeString as a, useHotkeys as at, ScrollOverflowState as b, RangeClickResult as bt, TimePresentation as c, useGridRovingFocus as ct, isTimeInRange as d, useFocusTrap as dt, AnnounceFn as en, ListFocus as et, parseDisplayTime as f, FileRejection as ft, StreamingTextSpeed as g, selectFiles as gt, shiftTime as h, formatFileSize as ht, HourFormat as i, Hotkey as it, UseScrollableAreaResult as j, ControllableState as jt, ScrollableAreaState as k, resolveWeekStart as kt, formatDisplayTime as l, FocusTrap as lt, resolveTimeSurface as m, FileSelectionResult as mt, UseTypeaheadReturn as n, useAnnounce as nn, UseListFocusOptions as nt, NativePicker as o, GridRovingFocus as ot, parseISOTime as p, FileSelectionOptions as pt, parseISODate as q, CHAT_MESSAGE_CLASS as qt, useTypeahead as r, useListFocus as rt, ParsedTime as s, UseGridRovingFocusOptions as st, UseTypeaheadOptions as t, AnnouncePoliteness as tn, ListFocusOrientation as tt, formatISOTime as u, UseFocusTrapOptions as ut, snapToGraphemeBoundary as v, useDismiss as vt, ScrollAxis as w, formatDateRange as wt, UseScrollOverflowResult as x, WeekStartsOn as xt, useStreamingText as y, ISODateRange as yt, UseOverflowReturn as z, ClickableContainerHandlers as zt };
887
+ export { UseGridRovingFocusOptions as $, AppShellMobile as $t, computeOverflow as A, parseISOTime as At, useMediaQuery as B, useCoarsePointer as Bt, useRestoreFocus as C, NativePicker as Ct, ComputeOverflowResult as D, formatISOTime as Dt, ComputeOverflowInput as E, formatDisplayTime as Et, addMonths as F, useControllableState as Ft, ListFocusOrientation as G, ChatScrollToBottomOptions as Gt, LongPressOptions as H, INTERACTIVE_SELECTORS as Ht, buildMonthGrid as I, Combobox as It, Hotkey as J, useChatStreamScroll as Jt, UseListFocusOptions as K, UseChatStreamScrollOptions as Kt, parseISODate as L, ComboboxOption as Lt, NumberField as M, shiftTime as Mt, UseNumberFieldOptions as N, ControllableState as Nt, UseOverflowOptions as O, isTimeInRange as Ot, useNumberField as P, UseControllableStateOptions as Pt, GridRovingFocus as Q, useChatNewMessages as Qt, toISODate as R, UseComboboxOptions as Rt, UseRestoreFocusOptions as S, ISOTimeString as St, usePendingChange as T, TimePresentation as Tt, useLongPress as U, UseClickableContainerOptions as Ut, LongPressHandlers as V, ClickableContainerHandlers as Vt, ListFocus as W, useClickableContainer as Wt, HandleRef as X, UseChatNewMessagesOptions as Xt, useHotkeys as Y, CHAT_MESSAGE_CLASS as Yt, useHandleRef as Z, UseChatNewMessagesReturn as Zt, ScrollableAreaState as _, DatePresentation as _t, UseStreamingTextOptions as a, ISODateRange as an, FileSelectionOptions as at, useScrollableArea as b, resolveDateSurface as bt, ScrollOverflowState as c, applyRangeClick as cn, selectFiles as ct, useScrollLock as d, isDayOutsideSpan as dn, useFieldControlState as dt, appShellMobileKey as en, useGridRovingFocus as et, ScrollAxis as f, isRangeWithinSpan as fn, UseDismissOptions as ft, ScrollStickyContainment as g, spanDays as gn, useDisclosureHandle as gt, ScrollRole as h, resolveWeekStart as hn, DisclosureHandleRef as ht, StreamingTextSpeed as i, useAnnounce as in, FileRejection as it, useOverflow as j, resolveTimeSurface as jt, UseOverflowReturn as k, parseDisplayTime as kt, UseScrollOverflowResult as l, compareISODate as ln, FieldControlState as lt, ScrollOverscroll as m, orderRange as mn, DisclosureHandle as mt, UseTypeaheadReturn as n, AnnounceFn as nn, UseFocusTrapOptions as nt, snapToGraphemeBoundary as o, RangeClickResult as on, FileSelectionResult as ot, ScrollAxisState as p, isSameRange as pn, useDismiss as pt, useListFocus as q, UseChatStreamScrollReturn as qt, useTypeahead as r, AnnouncePoliteness as rn, useFocusTrap as rt, useStreamingText as s, WeekStartsOn as sn, formatFileSize as st, UseTypeaheadOptions as t, useAppShellMobile as tn, FocusTrap as tt, useScrollOverflow as u, formatDateRange as un, FieldControlStateInput as ut, UseScrollableAreaOptions as v, DateSurface as vt, PendingChange as w, ParsedTime as wt, RestoreFocus as x, HourFormat as xt, UseScrollableAreaResult as y, resolveDatePresentation as yt, todayISODate as z, useCombobox as zt };
@@ -72,8 +72,8 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
72
72
  //#region src/Tokenizer/Tokenizer.vue.d.ts
73
73
  declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
74
74
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
75
- onSearch?: ((query: string) => any) | undefined;
76
75
  onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
76
+ onSearch?: ((query: string) => any) | undefined;
77
77
  "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
78
78
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
79
79
  }> & (typeof globalThis extends {
@@ -85,7 +85,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
85
85
  }>) => void;
86
86
  attrs: any;
87
87
  slots: TokenizerSlots<T>;
88
- emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "openChange", isOpen: boolean) => void);
88
+ emit: ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "search", query: string) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "openChange", isOpen: boolean) => void);
89
89
  }>) => import("vue").VNode & {
90
90
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
91
91
  };
@@ -8,6 +8,12 @@ interface CalendarMessages {
8
8
  label: string;
9
9
  previousMonth: string;
10
10
  nextMonth: string;
11
+ rangeStart: (date: string) => string;
12
+ rangeCleared: (date: string) => string;
13
+ rangeComplete: (start: string, end: string) => string;
14
+ rangeStartName: (date: string) => string;
15
+ rangeEndName: (date: string) => string;
16
+ rangeBoth: (date: string) => string;
11
17
  }
12
18
  //#endregion
13
19
  //#region src/locale/messages/carousel.d.ts
@@ -59,6 +65,11 @@ interface ChatMessages {
59
65
  noResults: string;
60
66
  }
61
67
  //#endregion
68
+ //#region src/locale/messages/checkbox-list.d.ts
69
+ interface CheckboxListMessages {
70
+ loading: string;
71
+ }
72
+ //#endregion
62
73
  //#region src/locale/messages/citation.d.ts
63
74
  interface CitationMessages {
64
75
  label: (number: number, title: string) => string;
@@ -86,6 +97,8 @@ interface DateInputMessages {
86
97
  openCalendar: string;
87
98
  closeCalendar: string;
88
99
  clear: (label?: string) => string;
100
+ invalidDate: string;
101
+ loading: string;
89
102
  }
90
103
  //#endregion
91
104
  //#region src/locale/messages/date-range-input.d.ts
@@ -102,6 +115,12 @@ interface DateTimeInputMessages {
102
115
  clear: (label?: string) => string;
103
116
  }
104
117
  //#endregion
118
+ //#region src/locale/messages/dropdown-menu.d.ts
119
+ interface DropdownMenuMessages {
120
+ back: string;
121
+ backTo: (parent: string) => string;
122
+ }
123
+ //#endregion
105
124
  //#region src/locale/messages/file-input.d.ts
106
125
  interface FileInputMessages {
107
126
  placeholder: string;
@@ -115,6 +134,13 @@ interface FileInputMessages {
115
134
  errorCount: (maxFiles: number) => string;
116
135
  }
117
136
  //#endregion
137
+ //#region src/locale/messages/input.d.ts
138
+ interface InputMessages {
139
+ statusError: string;
140
+ statusWarning: string;
141
+ statusSuccess: string;
142
+ }
143
+ //#endregion
118
144
  //#region src/locale/messages/layout.d.ts
119
145
  interface LayoutMessages {
120
146
  skipToContent: string;
@@ -156,9 +182,15 @@ interface MultiSelectorMessages {
156
182
  search: string;
157
183
  clear: string;
158
184
  empty: string;
185
+ emptySearch: string;
159
186
  selectAll: string;
160
187
  selected: (count: number) => string;
161
188
  more: (count: number) => string;
189
+ resultCount: (count: number) => string;
190
+ create: (query: string) => string;
191
+ created: (label: string) => string;
192
+ readOnly: string;
193
+ loading: string;
162
194
  }
163
195
  //#endregion
164
196
  //#region src/locale/messages/nav.d.ts
@@ -211,6 +243,10 @@ interface SelectorMessages {
211
243
  search: string;
212
244
  clear: string;
213
245
  empty: string;
246
+ emptySearch: string;
247
+ resultCount: (count: number) => string;
248
+ readOnly: string;
249
+ loading: string;
214
250
  }
215
251
  //#endregion
216
252
  //#region src/locale/messages/stepper.d.ts
@@ -321,12 +357,15 @@ interface AstryxMessages {
321
357
  calendar: CalendarMessages;
322
358
  carousel: CarouselMessages;
323
359
  chat: ChatMessages;
360
+ checkboxList: CheckboxListMessages;
324
361
  citation: CitationMessages;
325
362
  commandPalette: CommandPaletteMessages;
326
363
  dateInput: DateInputMessages;
327
364
  dateRangeInput: DateRangeInputMessages;
328
365
  dateTimeInput: DateTimeInputMessages;
366
+ dropdownMenu: DropdownMenuMessages;
329
367
  fileInput: FileInputMessages;
368
+ input: InputMessages;
330
369
  layout: LayoutMessages;
331
370
  lightbox: LightboxMessages;
332
371
  markdown: MarkdownMessages;
@@ -35,8 +35,8 @@ type __VLS_Slots$1 = {
35
35
  default: () => unknown;
36
36
  };
37
37
  declare const __VLS_base$1: import("vue").DefineComponent<StackItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackItemProps> & Readonly<{}>, {
38
- size: StackItemSize;
39
38
  as: StackElement;
39
+ size: StackItemSize;
40
40
  isScrollable: boolean;
41
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
42
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
@@ -28,9 +28,9 @@ interface ProgressBarProps {
28
28
  //#endregion
29
29
  //#region src/ProgressBar/ProgressBar.vue.d.ts
30
30
  declare const __VLS_export: import("vue").DefineComponent<ProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
31
+ variant: ProgressBarVariant;
31
32
  size: ProgressBarSize;
32
33
  value: number;
33
- variant: ProgressBarVariant;
34
34
  isLabelHidden: boolean;
35
35
  min: number;
36
36
  max: number;
@@ -8,14 +8,14 @@ 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
- elevation: ButtonElevation;
12
11
  isDisabled: boolean;
13
- isLoading: boolean;
14
- isIconOnly: boolean;
12
+ variant: ButtonVariant;
13
+ elevation: ButtonElevation;
15
14
  type: "button" | "reset" | "submit";
15
+ isIconOnly: boolean;
16
16
  isInterruptible: boolean;
17
+ isLoading: boolean;
17
18
  loadingLabel: string;
18
- variant: ButtonVariant;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
@@ -198,8 +198,8 @@ declare const __VLS_export$1: import("vue").DefineComponent<CodeBlockProps, {
198
198
  }, string, import("vue").PublicProps, Readonly<CodeBlockProps> & Readonly<{
199
199
  onCopy?: (() => any) | undefined;
200
200
  }>, {
201
- size: CodeBlockSize;
202
201
  width: string;
202
+ size: CodeBlockSize;
203
203
  container: CodeBlockContainer;
204
204
  language: string;
205
205
  hasLanguageLabel: boolean;
@@ -1,4 +1,5 @@
1
- import { i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "./types-pnljWjEE.js";
1
+ import { i as IconProps, n as IconColor, o as IconSlots, r as IconName } from "./types-CwyibrRB.js";
2
+ import { ComputedRef, MaybeRefOrGetter } from "vue";
2
3
  //#region src/Icon/glyphs.d.ts
3
4
  /**
4
5
  * A name that resolves to built-in artwork: one of the semantic names the
@@ -10,7 +11,7 @@ type IconGlyphName = IconName | `${string}:${string}`;
10
11
  * The artwork kept for the components' own chrome. Applications bring their own
11
12
  * icons; this list only has to cover what astryx-vue draws itself.
12
13
  */
13
- declare const ICON_GLYPHS: readonly ["chevronDown", "chevronLeft", "chevronRight", "check", "moreHorizontal", "copy", "calendar", "clock", "upload", "arrowUp", "arrowDown", "close", "funnel", "image", "search", "stop", "microphone", "warning", "error"];
14
+ declare const ICON_GLYPHS: readonly ["close", "chevronDown", "chevronLeft", "chevronRight", "chevronsLeft", "chevronsRight", "check", "success", "error", "warning", "info", "calendar", "clock", "externalLink", "menu", "moreHorizontal", "search", "upload", "arrowUp", "arrowDown", "arrowsUpDown", "funnel", "eyeSlash", "viewColumns", "copy", "checkDouble", "wrench", "stop", "microphone", "image"];
14
15
  declare function isIconGlyph(value: string): value is IconGlyphName;
15
16
  /** The CSS-safe form of a name, used as the `astryx-icon--<slug>` class. */
16
17
  declare function iconGlyphSlug(name: IconGlyphName): string;
@@ -28,4 +29,13 @@ type __VLS_WithSlots<T, S> = T & {
28
29
  };
29
30
  };
30
31
  //#endregion
31
- export { isIconGlyph as a, iconGlyphSlug as i, ICON_GLYPHS as n, IconGlyphName as r, _default as t };
32
+ //#region src/Icon/useSemanticIcon.d.ts
33
+ /**
34
+ * The Iconify id for a semantic icon name, from the nearest theme.
35
+ *
36
+ * Returns undefined when the name is not a semantic icon and the theme does
37
+ * not map it. Callers then keep the built-in glyph or a CSS class.
38
+ */
39
+ declare function useSemanticIcon(name: MaybeRefOrGetter<string | undefined>): ComputedRef<string | undefined>;
40
+ //#endregion
41
+ export { iconGlyphSlug as a, IconGlyphName as i, _default as n, isIconGlyph as o, ICON_GLYPHS as r, useSemanticIcon as t };
@@ -64,9 +64,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
64
64
  }, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
65
65
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
66
66
  }>, {
67
- variant: DialogVariant;
68
- width: string | number;
69
67
  padding: DialogPadding;
68
+ width: string | number;
69
+ variant: DialogVariant;
70
70
  isInline: boolean;
71
71
  position: DialogPosition;
72
72
  purpose: DialogPurpose;