@astryx-vue/core 0.16.5 → 0.17.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 (154) hide show
  1. package/dist/AvatarGroup/index.d.ts +1 -1
  2. package/dist/Banner/index.d.ts +1 -1
  3. package/dist/Button/index.d.ts +1 -1
  4. package/dist/ButtonGroup/index.d.ts +1 -1
  5. package/dist/Calendar/index.d.ts +1 -1
  6. package/dist/Card/index.d.ts +1 -1
  7. package/dist/Carousel/index.d.ts +1 -1
  8. package/dist/Chat/index.d.ts +1 -1
  9. package/dist/Chat/index.js +1 -1
  10. package/dist/CheckboxInput/index.d.ts +1 -1
  11. package/dist/CheckboxList/index.d.ts +1 -1
  12. package/dist/ClickableCard/index.d.ts +1 -1
  13. package/dist/Code/index.js +1 -1
  14. package/dist/Collapsible/index.d.ts +1 -1
  15. package/dist/CommandPalette/index.d.ts +1 -1
  16. package/dist/CommandPalette/index.js +1 -1
  17. package/dist/{CommandPalette-mNR6dV0B.js → CommandPalette-CECjNvGB.js} +1 -1
  18. package/dist/ComplexSelector/index.d.ts +1 -1
  19. package/dist/ComplexSelector/index.js +1 -1
  20. package/dist/{ComplexSelector-CR9XbpTa.js → ComplexSelector-Dmaag1wm.js} +5 -1
  21. package/dist/ContextMenu/index.d.ts +1 -1
  22. package/dist/DateInput/index.d.ts +1 -1
  23. package/dist/DateInput/index.js +1 -1
  24. package/dist/DateRangeInput/index.d.ts +1 -1
  25. package/dist/DateRangeInput/index.js +1 -1
  26. package/dist/DateTimeInput/index.d.ts +1 -1
  27. package/dist/DateTimeInput/index.js +1 -1
  28. package/dist/{DateTimeInput-ChGin5zS.js → DateTimeInput-Cfkuec_h.js} +1 -1
  29. package/dist/Dialog/index.d.ts +1 -1
  30. package/dist/Drawer/index.d.ts +1 -1
  31. package/dist/Field/index.d.ts +1 -1
  32. package/dist/FileInput/index.d.ts +1 -1
  33. package/dist/Heading/index.d.ts +1 -1
  34. package/dist/HoverCard/index.d.ts +1 -1
  35. package/dist/Indicator/index.d.ts +2 -2
  36. package/dist/InfoTip/index.d.ts +1 -1
  37. package/dist/InputGroup/index.d.ts +1 -1
  38. package/dist/InternationalizationProvider/index.d.ts +1 -1
  39. package/dist/InternationalizationProvider/index.js +1 -1
  40. package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js} +1 -1
  41. package/dist/Link/index.d.ts +1 -1
  42. package/dist/List/index.d.ts +1 -1
  43. package/dist/Markdown/index.js +1 -1
  44. package/dist/{Markdown-BNVd70jg.js → Markdown-DnnWjJGX.js} +1 -1
  45. package/dist/MoreMenu/index.d.ts +1 -1
  46. package/dist/MultiSelector/index.d.ts +1 -1
  47. package/dist/MultiSelector/index.js +1 -1
  48. package/dist/{MultiSelector-CXX1Hsty.js → MultiSelector-BK6nZweN.js} +26 -14
  49. package/dist/NavItem/index.d.ts +1 -1
  50. package/dist/NumberInput/index.d.ts +1 -1
  51. package/dist/OverflowList/index.d.ts +1 -1
  52. package/dist/Pagination/index.d.ts +1 -1
  53. package/dist/Pagination/index.js +1 -1
  54. package/dist/{Pagination-BvZFvwso.js → Pagination-DFQNX_Mb.js} +1 -1
  55. package/dist/Popover/index.d.ts +1 -1
  56. package/dist/PowerSearch/index.d.ts +1 -1
  57. package/dist/PowerSearch/index.js +1 -1
  58. package/dist/{PowerSearch-BiupstfT.js → PowerSearch-BAOqpQag.js} +10 -10
  59. package/dist/ProgressBar/index.d.ts +1 -1
  60. package/dist/Radio/index.d.ts +1 -1
  61. package/dist/RadioList/index.d.ts +1 -1
  62. package/dist/Resizable/index.d.ts +1 -1
  63. package/dist/ScrollableArea/index.d.ts +1 -1
  64. package/dist/SegmentedControl/index.d.ts +1 -1
  65. package/dist/SelectableCard/index.d.ts +1 -1
  66. package/dist/Selector/index.d.ts +1 -1
  67. package/dist/Selector/index.js +1 -1
  68. package/dist/{Selector-DiSLNzl8.js → Selector-Bo7qkt1P.js} +157 -62
  69. package/dist/SideNav/index.d.ts +1 -1
  70. package/dist/Stepper/index.d.ts +1 -1
  71. package/dist/Switch/index.d.ts +1 -1
  72. package/dist/TabList/index.d.ts +1 -1
  73. package/dist/Table/index.d.ts +1 -1
  74. package/dist/Table/index.js +1 -1
  75. package/dist/{Table-BD8MugZo.js → Table-CRKljXg4.js} +6 -6
  76. package/dist/Text/index.d.ts +1 -1
  77. package/dist/TextArea/index.d.ts +1 -1
  78. package/dist/TextInput/index.d.ts +1 -1
  79. package/dist/Theme/index.d.ts +3 -3
  80. package/dist/Theme/index.js +1 -1
  81. package/dist/{Theme-8bDq2nud.js → Theme-iqi6AvU_.js} +363 -39
  82. package/dist/TimeInput/index.d.ts +1 -1
  83. package/dist/Timestamp/index.d.ts +1 -1
  84. package/dist/ToggleButton/index.d.ts +1 -1
  85. package/dist/Token/index.d.ts +1 -1
  86. package/dist/Tokenizer/index.d.ts +1 -1
  87. package/dist/Tokenizer/index.js +1 -1
  88. package/dist/{Tokenizer-mu0Sak58.js → Tokenizer-CsFiYUJ_.js} +171 -103
  89. package/dist/Toolbar/index.d.ts +1 -1
  90. package/dist/Tooltip/index.d.ts +1 -1
  91. package/dist/TopNav/index.d.ts +1 -1
  92. package/dist/Typeahead/index.d.ts +2 -1
  93. package/dist/Typeahead/index.js +2 -2
  94. package/dist/{Typeahead-Db8Tu27Z.js → Typeahead--kEp21ut.js} +159 -71
  95. package/dist/{useKeyboardHighlight-CGCf1O57.js → assertOptions-CK_gJ0d3.js} +12 -1
  96. package/dist/composables/index.d.ts +3 -3
  97. package/dist/composables/index.js +5 -5
  98. package/dist/composables-BKHcPgN0.js +5730 -0
  99. package/dist/{index-CE74Qsbn.d.ts → index-85RFPeV0.d.ts} +10 -10
  100. package/dist/{index-BFZxzCYu.d.ts → index-9tZJgo0R.d.ts} +2 -2
  101. package/dist/{index-B-Jla56c.d.ts → index-B0iRA00v.d.ts} +3 -3
  102. package/dist/{index-LHvLg1Pv.d.ts → index-B95VIgRl.d.ts} +84 -84
  103. package/dist/{index-DMN_JVEt.d.ts → index-BL4mH8aK.d.ts} +1 -1
  104. package/dist/{index-Bfm6mF-r.d.ts → index-BfoazhEu.d.ts} +1 -1
  105. package/dist/{index-CQ1bsxLC.d.ts → index-C1qJlC65.d.ts} +1 -1
  106. package/dist/{index-ygmRS6Np.d.ts → index-C1zwvxPH.d.ts} +2 -2
  107. package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
  108. package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
  109. package/dist/{index-B0yaHi__.d.ts → index-CH-xSiJz.d.ts} +12 -5
  110. package/dist/{index-sXu15K4j.d.ts → index-CO9GW-ik.d.ts} +1 -1
  111. package/dist/{index-Xc3q9f84.d.ts → index-COgrQZIL.d.ts} +3 -3
  112. package/dist/{index-Bgk1Rj2A.d.ts → index-CTjkJP4x.d.ts} +1 -1
  113. package/dist/{index-BQ3cm7mP.d.ts → index-CbA8rR_b.d.ts} +1 -1
  114. package/dist/{index-B0R5CLPF.d.ts → index-CsYDrQ9R.d.ts} +1 -1
  115. package/dist/{index-BWzEt0gT.d.ts → index-CuW4AQ7M.d.ts} +2 -2
  116. package/dist/{index-BPf_jmME.d.ts → index-Cy1rEWC-.d.ts} +2 -2
  117. package/dist/{index-D_xBhUV5.d.ts → index-CyMStZq4.d.ts} +10 -10
  118. package/dist/{index-C2cH8OLC.d.ts → index-D31bgBoy.d.ts} +1 -1
  119. package/dist/index-DGXCnzOL.d.ts +69 -0
  120. package/dist/{index-DBwEz4M9.d.ts → index-DK0Wdo9N.d.ts} +13 -13
  121. package/dist/{index-SWw-WMTO.d.ts → index-DYabo8TI.d.ts} +2 -2
  122. package/dist/{index-CJdOt5Cc.d.ts → index-DofC9Rll.d.ts} +2 -2
  123. package/dist/{index-Byan7Dad.d.ts → index-GmoeIuhl.d.ts} +1 -1
  124. package/dist/{index-unAZVFGz.d.ts → index-Qdbssopn.d.ts} +2 -2
  125. package/dist/{index-DE1genab.d.ts → index-QnlWyUxN.d.ts} +2 -2
  126. package/dist/{index-C5e2rZML.d.ts → index-dWlCpnua.d.ts} +2 -2
  127. package/dist/{index-BPHqOCfp.d.ts → index-lmd9LZKB.d.ts} +4 -4
  128. package/dist/{index-CtYlR9Cu.d.ts → index-rdwI-mcm.d.ts} +1 -1
  129. package/dist/{index-BXDqyk2_.d.ts → index-tuNsmJxw.d.ts} +169 -2
  130. package/dist/{index-BEZ4ezJk.d.ts → index-wY6dKz6c.d.ts} +2 -2
  131. package/dist/{index-C89cIh4E.d.ts → index-waTkqxTz.d.ts} +1 -1
  132. package/dist/index.d.ts +39 -38
  133. package/dist/index.js +26 -26
  134. package/dist/{loadCatalog-DFyDz_4e.d.ts → loadCatalog-BJwcyX8i.d.ts} +2 -0
  135. package/dist/{loadCatalog-C3MSknfx.js → loadCatalog-C1kms5sO.js} +5 -1
  136. package/dist/locale/index.d.ts +2 -2
  137. package/dist/locale/index.js +3 -3
  138. package/dist/{locale-OCGw4bi6.js → locale-CHhsd9Mq.js} +1 -1
  139. package/dist/{typeahead-RkZw0Ktn.js → typeahead-BgfLP7vR.js} +2 -0
  140. package/dist/{index-DbFIQDoa.d.ts → types-C1ydeFiu.d.ts} +43 -65
  141. package/dist/{types-uWxXh1Jm.d.ts → types-fRasDCe4.d.ts} +47 -6
  142. package/dist/{useAsyncSource-Gk0VtE7_.js → useAsyncSource-7GTcK8ep.js} +31 -1
  143. package/dist/{useAsyncSource-aGzrvRkI.d.ts → useAsyncSource-DbG2FSuI.d.ts} +19 -2
  144. package/dist/{useCombobox-D374_pT8.js → useCombobox-DIR9yoEu.js} +150 -3
  145. package/dist/{useTypeaheadAnnouncement-CSikDlpK.js → useTypeaheadMenuConfig--4f7jR6G.js} +264 -20
  146. package/package.json +1 -1
  147. package/styles/motion.css +10 -0
  148. package/styles/selector.css +10 -0
  149. package/dist/composables-CCsHfpCS.js +0 -1256
  150. package/dist/{Chat-PEkZTrQE.js → Chat-Wq7e98zS.js} +1 -1
  151. package/dist/{CodeBlock-9Lfec8C8.js → CodeBlock-CLVXVlB7.js} +1 -1
  152. package/dist/{DateInput-kXAc_r5m.js → DateInput-BitZfGEY.js} +1 -1
  153. package/dist/{DateRangeInput-DW7IzFQM.js → DateRangeInput-kxXBsUTU.js} +1 -1
  154. package/dist/{index-BqhgeAT4.d.ts → index-D8lv2BiD.d.ts} +1 -1
@@ -1,19 +1,22 @@
1
+ import { t as _sfc_main$2 } from "./Icon-BCHo7W0x.js";
1
2
  import { r as useInputGroupDisabled } from "./context-Bg7eSJ47.js";
2
3
  import { p as isImeKeyEvent } from "./interactionModality-B5dR7nnb.js";
3
- import { t as _sfc_main$2 } from "./ButtonTooltip-CNKOQHYR.js";
4
+ import { t as _sfc_main$3 } from "./ButtonTooltip-CNKOQHYR.js";
4
5
  import { t as useButtonTooltip } from "./useButtonTooltip-DjCaZMp_.js";
6
+ import { t as useAnnounce } from "./announce-GU01Oix2.js";
5
7
  import { t as useInputStatusIcon } from "./useInputStatusIcon-ne9V7ZQC.js";
6
8
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
7
9
  import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
8
10
  import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
9
- import { t as _sfc_main$3 } from "./Spinner-DEVPDsD0.js";
10
- import { t as _sfc_main$4 } from "./Field-BXkGR8H0.js";
11
+ import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
12
+ import { t as _sfc_main$5 } from "./Field-BXkGR8H0.js";
11
13
  import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
12
- import { t as typeaheadMessages } from "./typeahead-RkZw0Ktn.js";
13
- import { t as _sfc_main$5 } from "./Token-jBbgdevV.js";
14
+ import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
15
+ import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
16
+ import { t as _sfc_main$6 } from "./Token-jBbgdevV.js";
14
17
  import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-0vdn-hSa.js";
15
- import { a as useTypeaheadMenu, i as useLatchedOptionGrid, n as _sfc_main$6, t as useTypeaheadAnnouncement } from "./useTypeaheadAnnouncement-CSikDlpK.js";
16
- import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
18
+ import { a as useLatchedOptionGrid, n as useTypeaheadAnnouncement, o as useTypeaheadMenu, r as _sfc_main$7, t as useTypeaheadMenuConfig } from "./useTypeaheadMenuConfig--4f7jR6G.js";
19
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
17
20
  import "../styles/layer.css";
18
21
  import "../styles/visually-hidden-utility.css";
19
22
  import "../styles/typeahead.css";
@@ -23,6 +26,11 @@ import "../styles/typeahead.css";
23
26
  * 单独使用的 `BaseTypeahead` 拿不到它,只渲染裸输入。
24
27
  */
25
28
  const typeaheadChromeKey = Symbol("astryxTypeaheadChrome");
29
+ /**
30
+ * `Typeahead` 告诉里面的 `BaseTypeahead`:输入框被值标签盖住时,dialog 菜单关闭后
31
+ * 焦点还给哪个元素(值标签的按钮),而不是看不见的输入框。
32
+ */
33
+ const typeaheadFocusKey = Symbol("astryxTypeaheadFocus");
26
34
  //#endregion
27
35
  //#region src/Typeahead/BaseTypeahead.vue
28
36
  const _hoisted_1 = {
@@ -53,12 +61,6 @@ const _hoisted_3 = [
53
61
  const _hoisted_4 = ["aria-label"];
54
62
  const _hoisted_5 = ["id"];
55
63
  const _hoisted_6 = ["name", "value"];
56
- const _hoisted_7 = [
57
- "id",
58
- "role",
59
- "aria-label",
60
- "data-placement"
61
- ];
62
64
  const _sfc_main$1 = /*@__PURE__*/ defineComponent({
63
65
  name: "AstryxBaseTypeahead",
64
66
  inheritAttrs: false,
@@ -122,7 +124,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
122
124
  String,
123
125
  Object,
124
126
  Array
125
- ] }
127
+ ] },
128
+ menu: {}
126
129
  },
127
130
  emits: [
128
131
  "update:modelValue",
@@ -135,6 +138,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
135
138
  const props = __props;
136
139
  const emit = __emit;
137
140
  const attrs = useAttrs();
141
+ const announce = useAnnounce();
138
142
  const messages = useComponentMessages({ typeahead: typeaheadMessages });
139
143
  const generatedId = `astryx-typeahead-${useId()}`;
140
144
  const inputId = computed(() => props.inputId ?? generatedId);
@@ -145,14 +149,17 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
145
149
  let suppressFocusOpen = false;
146
150
  const inputRef = useTemplateRef("inputRef");
147
151
  const controlRef = useTemplateRef("controlRef");
148
- const listboxRef = useTemplateRef("listboxRef");
152
+ const popupRef = useTemplateRef("popupRef");
153
+ const listboxRef = computed(() => popupRef.value?.el ?? null);
149
154
  useScrollbars(listboxRef);
150
155
  const placeholder = computed(() => props.placeholder ?? messages.value.typeahead.placeholder);
151
156
  const emptyText = computed(() => props.emptySearchText ?? props.emptyText ?? messages.value.typeahead.empty);
152
157
  const clearLabel = computed(() => messages.value.typeahead.clear);
153
158
  /** 新名 hasEntriesOnFocus 和旧名 showOnFocus 任一为真就生效。 */
154
159
  const showsEntriesOnFocus = computed(() => props.hasEntriesOnFocus || props.showOnFocus);
155
- const focusableDisabled = computed(() => Boolean(props.isFocusableDisabled) || props.disabled && Boolean(props.disabledReason?.trim()));
160
+ /** 禁用的字段仍是 Tab 停点:输入框用 aria-disabled 加只读,不用原生 disabled。 */
161
+ const focusableDisabled = computed(() => Boolean(props.isFocusableDisabled) || props.disabled);
162
+ const disabledDescription = computed(() => focusableDisabled.value && Boolean(props.disabledReason?.trim()));
156
163
  /** 有禁用原因时鼠标悬停或键盘聚焦都能读到它。 */
157
164
  const showsDisabledMessage = computed(() => Boolean(props.disabled) && Boolean(props.disabledReason?.trim()));
158
165
  const disabledTooltip = useButtonTooltip(showsDisabledMessage);
@@ -185,7 +192,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
185
192
  return [
186
193
  props.describedBy,
187
194
  externalDescribedBy.value,
188
- focusableDisabled.value ? disabledId.value : void 0
195
+ disabledDescription.value ? disabledId.value : void 0
189
196
  ].filter(Boolean).join(" ") || void 0;
190
197
  });
191
198
  /**
@@ -219,38 +226,58 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
219
226
  function inputAttrs() {
220
227
  return Object.fromEntries(Object.entries(attrs).filter(([key]) => !controlledAttrs.has(key)));
221
228
  }
229
+ /** dialog 角色的菜单只能由 `open()` 打开,输入和聚焦都不开结果列表。 */
230
+ const isDialogMenu = computed(() => props.menu?.role === "dialog");
222
231
  const menu = useTypeaheadMenu({
223
232
  source: () => props.searchSource,
224
233
  debounceMs: () => props.debounceMs,
225
234
  showOnFocus: () => showsEntriesOnFocus.value,
226
235
  minQueryLength: () => props.minQueryLength,
227
236
  maxItems: () => props.maxMenuItems,
228
- disabled: () => props.disabled,
237
+ disabled: () => props.disabled || isDialogMenu.value,
229
238
  onSelect: (entry) => {
230
239
  commit(entry.item);
231
240
  },
232
- onEscape: () => {
233
- restoreSelection();
234
- },
235
241
  onQueryChange: (query) => {
236
242
  emit("search", query);
237
243
  emit("changeQuery", query);
238
244
  }
239
245
  });
246
+ /** 搜索忙碌时由输入框念一次「加载中」;框里的转圈图标只是装饰。 */
247
+ const settleBusy = useBusyAnnouncement(() => menu.status.value === "loading", () => messages.value.typeahead.loading, inputRef);
240
248
  useTypeaheadAnnouncement({
241
249
  menu,
250
+ settleBusy,
242
251
  emptyText: () => emptyText.value,
243
252
  emptySearchText: () => emptyText.value,
244
253
  resultCount: (count) => messages.value.typeahead.resultCount(count)
245
254
  });
255
+ const focusWiring = inject(typeaheadFocusKey, null);
256
+ const menuConfig = useTypeaheadMenuConfig({
257
+ config: () => props.menu,
258
+ popupEl: () => listboxRef.value,
259
+ inputEl: () => inputRef.value,
260
+ listbox: {
261
+ isOpen: menu.combobox.isOpen,
262
+ open: () => menu.open(),
263
+ close: () => menu.close()
264
+ },
265
+ isDisabled: () => props.disabled,
266
+ canOpenList: () => showsEntriesOnFocus.value || menu.query.value !== "",
267
+ returnTarget: () => focusWiring?.inputReturnTarget() ?? null
268
+ });
246
269
  /** 下拉挂靠外面给的元素;没给就挂在自己的外框上。 */
247
270
  const anchor = computed(() => props.anchorRef ?? controlRef.value ?? null);
248
271
  const anchored = useAnchoredListbox({
249
272
  anchor,
250
273
  layer: listboxRef,
251
- isOpen: menu.combobox.isOpen,
274
+ isOpen: menuConfig.popupOpen,
252
275
  menuWidth: () => props.menuWidth,
253
276
  onDismiss: () => {
277
+ if (menuConfig.isDialog.value) {
278
+ menuConfig.dismiss();
279
+ return;
280
+ }
254
281
  menu.close();
255
282
  restoreSelection();
256
283
  }
@@ -264,7 +291,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
264
291
  onMounted(() => {
265
292
  if (props.hasAutoFocus) inputRef.value?.focus();
266
293
  });
267
- watch(() => menu.combobox.isOpen.value, (isOpen) => {
294
+ watch(menuConfig.popupOpen, (isOpen) => {
268
295
  emit("openChange", isOpen);
269
296
  });
270
297
  watch(() => menu.combobox.activeIndex.value, (index) => {
@@ -274,11 +301,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
274
301
  });
275
302
  });
276
303
  function commit(item) {
304
+ if (props.disabled) return;
277
305
  editing.value = false;
278
- menu.query.value = "";
279
- menu.close();
306
+ menu.resetQuery();
307
+ menuConfig.beginPick();
280
308
  emit("update:modelValue", item);
281
309
  emit("change", item);
310
+ if (!menuConfig.endPick() || !showsEntriesOnFocus.value) menu.close();
282
311
  suppressFocusOpen = item != null;
283
312
  nextTick(() => {
284
313
  inputRef.value?.focus();
@@ -288,7 +317,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
288
317
  function restoreSelection() {
289
318
  if (selected.value == null) return;
290
319
  editing.value = false;
291
- menu.query.value = "";
320
+ menu.resetQuery();
292
321
  }
293
322
  function startEdit() {
294
323
  if (props.disabled || selected.value == null || editing.value) return;
@@ -299,6 +328,16 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
299
328
  inputRef.value?.select();
300
329
  });
301
330
  }
331
+ /** 值标签上按退格或删除:有清除按钮就和它一样清掉并念出来,没有就进入编辑。 */
332
+ function onTokenKeydown(event) {
333
+ if (event.key !== "Backspace" && event.key !== "Delete" || props.disabled || selected.value == null) return;
334
+ event.preventDefault();
335
+ if (props.clearable) {
336
+ const { label } = selected.value;
337
+ commit(null);
338
+ announce(messages.value.typeahead.selectionCleared(label));
339
+ } else startEdit();
340
+ }
302
341
  function highlight(index) {
303
342
  const entry = menu.entries.value[index];
304
343
  if (entry && !entry.disabled) menu.combobox.activeIndex.value = index;
@@ -337,7 +376,17 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
337
376
  function onKeydown(event) {
338
377
  if (event.defaultPrevented || isImeKeyEvent(event)) return;
339
378
  if (optionGrid.actionGrid.onKeyDown(event)) return;
379
+ if (menuConfig.isDialog.value) {
380
+ menuConfig.closeOnEscape(event);
381
+ return;
382
+ }
383
+ const endsEdit = event.key === "Escape" && editing.value && !menu.combobox.isOpen.value;
340
384
  menu.onKeyDown(event);
385
+ if (endsEdit) {
386
+ event.preventDefault();
387
+ restoreSelection();
388
+ nextTick(() => controlRef.value?.querySelector(".astryx-token button")?.focus());
389
+ }
341
390
  }
342
391
  function onControlClick(event) {
343
392
  if (props.disabled) return;
@@ -359,7 +408,9 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
359
408
  }
360
409
  __expose({
361
410
  focus: () => inputRef.value?.focus(),
362
- blur: () => inputRef.value?.blur()
411
+ blur: () => inputRef.value?.blur(),
412
+ open: menuConfig.open,
413
+ close: menuConfig.close
363
414
  });
364
415
  return (_ctx, _cache) => {
365
416
  return openBlock(), createElementBlock(Fragment, null, [
@@ -387,7 +438,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
387
438
  id: tokenValueId.value,
388
439
  hidden: ""
389
440
  }, toDisplayString(selected.value.label), 9, _hoisted_2)) : createCommentVNode("v-if", true),
390
- showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$5, {
441
+ showToken.value && selected.value ? (openBlock(), createBlock(_sfc_main$6, {
391
442
  key: 2,
392
443
  class: "astryx-typeahead-value",
393
444
  label: selected.value.label,
@@ -395,7 +446,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
395
446
  disabled: props.disabled,
396
447
  "aria-labelledby": tokenLabelledBy.value,
397
448
  "aria-describedby": describedBy.value,
398
- onClick: startEdit
449
+ onClick: startEdit,
450
+ onKeydown: onTokenKeydown
399
451
  }, null, 8, [
400
452
  "label",
401
453
  "size",
@@ -412,6 +464,8 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
412
464
  role: "combobox",
413
465
  autocomplete: "off",
414
466
  autocapitalize: "off",
467
+ autocorrect: "off",
468
+ enterkeyhint: "search",
415
469
  tabindex: resolvedTabIndex.value,
416
470
  "data-autofocus": props.hasAutoFocus || void 0,
417
471
  placeholder: showToken.value ? void 0 : placeholder.value,
@@ -419,13 +473,13 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
419
473
  disabled: props.disabled && !focusableDisabled.value,
420
474
  readonly: focusableDisabled.value || void 0,
421
475
  "aria-disabled": focusableDisabled.value ? "true" : void 0,
422
- "aria-expanded": unref(menu).combobox.isOpen.value,
476
+ "aria-expanded": unref(menuConfig).popupOpen.value,
423
477
  "aria-controls": listboxId.value,
424
- "aria-haspopup": unref(optionGrid).popupKind.value,
478
+ "aria-haspopup": unref(menuConfig).isDialog.value ? "dialog" : unref(optionGrid).popupKind.value,
425
479
  "aria-label": ariaLabel.value,
426
480
  "aria-labelledby": labelledBy.value,
427
481
  "aria-autocomplete": "list",
428
- "aria-activedescendant": unref(optionGrid).gridMode.value ? unref(optionGrid).actionGrid.activeDescendant.value : unref(menu).activeId.value ? `${listboxId.value}-option-${unref(menu).combobox.activeIndex.value}` : void 0,
482
+ "aria-activedescendant": unref(menuConfig).isDialog.value ? void 0 : unref(optionGrid).gridMode.value ? unref(optionGrid).actionGrid.activeDescendant.value : unref(menu).activeId.value ? `${listboxId.value}-option-${unref(menu).combobox.activeIndex.value}` : void 0,
429
483
  "aria-describedby": describedBy.value,
430
484
  "aria-required": props.required || void 0,
431
485
  "aria-invalid": props.status === "error" ? true : void 0,
@@ -434,12 +488,12 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
434
488
  onBlur,
435
489
  onKeydown
436
490
  }), null, 16, _hoisted_3),
437
- unref(menu).status.value === "loading" ? (openBlock(), createBlock(_sfc_main$3, {
491
+ unref(menu).status.value === "loading" ? (openBlock(), createBlock(_sfc_main$4, {
438
492
  key: 3,
439
493
  class: "astryx-typeahead-spinner",
440
494
  size: "sm",
441
- "aria-label": unref(messages).typeahead.loading
442
- }, null, 8, ["aria-label"])) : createCommentVNode("v-if", true),
495
+ "aria-hidden": "true"
496
+ })) : createCommentVNode("v-if", true),
443
497
  props.clearable && selected.value && !props.disabled ? (openBlock(), createElementBlock("button", {
444
498
  key: 4,
445
499
  type: "button",
@@ -459,7 +513,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
459
513
  "stroke-linecap": "round"
460
514
  })], -1)])], 8, _hoisted_4)) : createCommentVNode("v-if", true),
461
515
  unref(statusIcon) ? (openBlock(), createBlock(resolveDynamicComponent(unref(statusIcon)), normalizeProps(mergeProps({ key: 5 }, unref(statusIconProps))), null, 16)) : createCommentVNode("v-if", true),
462
- focusableDisabled.value ? (openBlock(), createElementBlock("span", {
516
+ disabledDescription.value ? (openBlock(), createElementBlock("span", {
463
517
  key: 6,
464
518
  id: disabledId.value,
465
519
  class: "astryx-visually-hidden"
@@ -471,7 +525,7 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
471
525
  value: selected.value?.id ?? ""
472
526
  }, null, 8, _hoisted_6)) : createCommentVNode("v-if", true)
473
527
  ], 38)], 2),
474
- showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$2, {
528
+ showsDisabledMessage.value ? (openBlock(), createBlock(_sfc_main$3, {
475
529
  key: 0,
476
530
  id: disabledTooltipId.value,
477
531
  anchor: controlRef.value,
@@ -487,17 +541,17 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
487
541
  "onPointerEnter",
488
542
  "onPointerLeave"
489
543
  ])) : createCommentVNode("v-if", true),
490
- (openBlock(), createBlock(Teleport, { to: "body" }, [withDirectives(createElementVNode("div", {
544
+ createVNode(_sfc_main$7, {
491
545
  id: listboxId.value,
492
- ref_key: "listboxRef",
493
- ref: listboxRef,
494
- class: "astryx-typeahead-listbox astryx-typeahead-popup astryx-layer",
495
- role: unref(optionGrid).gridMode.value ? "grid" : "listbox",
496
- "aria-label": unref(messages).typeahead.results,
497
- "data-placement": unref(anchored).position.value.placement,
498
- style: normalizeStyle(unref(anchored).style.value),
499
- tabindex: "-1"
500
- }, [createVNode(_sfc_main$6, {
546
+ ref_key: "popupRef",
547
+ ref: popupRef,
548
+ "is-open": unref(menuConfig).popupOpen.value,
549
+ config: props.menu,
550
+ label: unref(messages).typeahead.results,
551
+ grid: unref(optionGrid).gridMode.value,
552
+ placement: unref(anchored).position.value.placement,
553
+ "popup-style": unref(anchored).style.value,
554
+ "popup-class": "astryx-typeahead-popup",
501
555
  entries: unref(menu).entries.value.map((entry) => ({
502
556
  id: entry.id,
503
557
  label: entry.label,
@@ -508,38 +562,57 @@ const _sfc_main$1 = /*@__PURE__*/ defineComponent({
508
562
  selected: optionSelected(entry.item.id)
509
563
  })),
510
564
  "active-index": unref(menu).combobox.activeIndex.value,
511
- grid: unref(optionGrid).gridMode.value,
512
565
  "action-index": unref(optionGrid).actionGrid.column.value === "action" ? unref(menu).combobox.activeIndex.value : -1,
513
- status: unref(menu).status.value,
514
- "listbox-id": listboxId.value,
566
+ status: unref(menu).menuStatus.value,
515
567
  "empty-text": emptyText.value,
516
568
  "loading-text": unref(messages).typeahead.loading,
517
569
  "error-text": unref(messages).typeahead.error,
570
+ query: unref(menu).query.value,
571
+ "is-settled": unref(menu).isSettled.value,
518
572
  onSelect: onMenuSelect,
519
- onHighlight: highlight
520
- }, createSlots({ _: 2 }, [_ctx.$slots.item ? {
521
- name: "item",
522
- fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, "item", {
523
- item: unref(menu).entries.value.find((entry) => entry.id === slotProps.entry.id).item,
524
- isActive: slotProps.isActive,
525
- isSelected: slotProps.isSelected
526
- })]),
527
- key: "0"
528
- } : void 0, _ctx.$slots.empty ? {
529
- name: "empty",
530
- fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
531
- key: "1"
532
- } : void 0]), 1032, [
573
+ onHighlight: highlight,
574
+ onClose: unref(menuConfig).close,
575
+ onKeydown: unref(menuConfig).closeOnEscape
576
+ }, createSlots({ _: 2 }, [
577
+ _ctx.$slots.item ? {
578
+ name: "item",
579
+ fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, "item", {
580
+ item: unref(menu).entries.value.find((entry) => entry.id === slotProps.entry.id).item,
581
+ isActive: slotProps.isActive,
582
+ isSelected: slotProps.isSelected
583
+ })]),
584
+ key: "0"
585
+ } : void 0,
586
+ _ctx.$slots.empty ? {
587
+ name: "empty",
588
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
589
+ key: "1"
590
+ } : void 0,
591
+ _ctx.$slots.menu ? {
592
+ name: "menu",
593
+ fn: withCtx((menuProps) => [renderSlot(_ctx.$slots, "menu", normalizeProps(guardReactiveProps(menuProps)))]),
594
+ key: "2"
595
+ } : void 0
596
+ ]), 1032, [
597
+ "id",
598
+ "is-open",
599
+ "config",
600
+ "label",
601
+ "grid",
602
+ "placement",
603
+ "popup-style",
533
604
  "entries",
534
605
  "active-index",
535
- "grid",
536
606
  "action-index",
537
607
  "status",
538
- "listbox-id",
539
608
  "empty-text",
540
609
  "loading-text",
541
- "error-text"
542
- ])], 12, _hoisted_7), [[vShow, unref(menu).combobox.isOpen.value]])]))
610
+ "error-text",
611
+ "query",
612
+ "is-settled",
613
+ "onClose",
614
+ "onKeydown"
615
+ ])
543
616
  ], 64);
544
617
  };
545
618
  }
@@ -605,6 +678,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
605
678
  name: {},
606
679
  width: {},
607
680
  startIcon: {},
681
+ menu: {},
608
682
  containerClass: { type: [
609
683
  Boolean,
610
684
  null,
@@ -666,6 +740,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
666
740
  });
667
741
  provide(typeaheadChromeKey, true);
668
742
  const inputId = `astryx-typeahead-${useId()}`;
743
+ provide(typeaheadFocusKey, { inputReturnTarget: () => document.getElementById(inputId)?.closest(".astryx-typeahead-control")?.querySelector(".astryx-token button") ?? null });
669
744
  const base = useTemplateRef("base");
670
745
  /** 新名 disabledMessage 优先,旧名 disabledReason 继续可用。 */
671
746
  const disabledMessage = computed(() => {
@@ -694,10 +769,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
694
769
  }
695
770
  __expose({
696
771
  focus: () => base.value?.focus(),
697
- blur: () => base.value?.blur()
772
+ blur: () => base.value?.blur(),
773
+ open: () => base.value?.open(),
774
+ close: () => base.value?.close()
698
775
  });
699
776
  return (_ctx, _cache) => {
700
- return openBlock(), createBlock(_sfc_main$4, {
777
+ return openBlock(), createBlock(_sfc_main$5, {
701
778
  class: normalizeClass(["astryx-typeahead", [unref(parts).containerClass.value, `size-${props.size}`]]),
702
779
  style: normalizeStyle(unref(parts).containerStyle.value),
703
780
  label: props.label,
@@ -740,6 +817,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
740
817
  "show-on-focus": showsEntriesOnFocus.value,
741
818
  "has-auto-focus": props.hasAutoFocus,
742
819
  "empty-search-text": emptySearchText.value,
820
+ menu: props.menu,
743
821
  required: props.required,
744
822
  name: props.name,
745
823
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event)),
@@ -750,7 +828,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
750
828
  }), createSlots({ _: 2 }, [
751
829
  _ctx.$slots.icon || props.startIcon ? {
752
830
  name: "icon",
753
- fn: withCtx(() => [renderSlot(_ctx.$slots, "icon", {}, () => [(openBlock(), createBlock(resolveDynamicComponent(props.startIcon)))])]),
831
+ fn: withCtx(() => [renderSlot(_ctx.$slots, "icon", {}, () => [typeof props.startIcon === "string" ? (openBlock(), createBlock(_sfc_main$2, {
832
+ key: 0,
833
+ icon: props.startIcon,
834
+ size: "sm"
835
+ }, null, 8, ["icon"])) : (openBlock(), createBlock(resolveDynamicComponent(props.startIcon), { key: 1 }))])]),
754
836
  key: "0"
755
837
  } : void 0,
756
838
  _ctx.$slots.item ? {
@@ -766,6 +848,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
766
848
  name: "empty",
767
849
  fn: withCtx(() => [renderSlot(_ctx.$slots, "empty")]),
768
850
  key: "2"
851
+ } : void 0,
852
+ _ctx.$slots.menu ? {
853
+ name: "menu",
854
+ fn: withCtx((menuProps) => [renderSlot(_ctx.$slots, "menu", normalizeProps(guardReactiveProps(menuProps)))]),
855
+ key: "3"
769
856
  } : void 0
770
857
  ]), 1040, [
771
858
  "control-class",
@@ -789,6 +876,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
789
876
  "show-on-focus",
790
877
  "has-auto-focus",
791
878
  "empty-search-text",
879
+ "menu",
792
880
  "required",
793
881
  "name"
794
882
  ])]),
@@ -1,4 +1,5 @@
1
1
  import { n as isKeyboardModality, p as isImeKeyEvent } from "./interactionModality-B5dR7nnb.js";
2
+ import { n as isDevBuild, t as devPropError } from "./devBuild-G249YcdZ.js";
2
3
  import { n as focusElement } from "./focus-x7mxEqjR.js";
3
4
  import { nextTick, onScopeDispose, ref, watch } from "vue";
4
5
  //#region src/Selector/selectorEscape.ts
@@ -57,4 +58,14 @@ function useKeyboardHighlight(activeIndex) {
57
58
  };
58
59
  }
59
60
  //#endregion
60
- export { onSelectorListboxEscape as a, focusSelectorTrigger as i, bindListboxEscape as n, dismissSelectorEscape as r, useKeyboardHighlight as t };
61
+ //#region src/selectors/assertOptions.ts
62
+ /**
63
+ * 开发期检查:Selector、MultiSelector 的 `options` 必须是数组。
64
+ * 它们不读 `<option>` 子节点,缺了这个属性时点名组件、属性和改法,
65
+ * 免得调用方只看到内部的 TypeError。生产构建里不做这项检查。
66
+ */
67
+ function assertOptionsArray(component, options) {
68
+ if (isDevBuild() && !Array.isArray(options)) throw devPropError(component, "options", `must be an array of options, for example :options="[{ value: 'nyc', label: 'New York' }]". ${component} does not read <option> children.`);
69
+ }
70
+ //#endregion
71
+ export { focusSelectorTrigger as a, dismissSelectorEscape as i, useKeyboardHighlight as n, onSelectorListboxEscape as o, bindListboxEscape as r, assertOptionsArray as t };
@@ -1,7 +1,7 @@
1
- import { $ as todayISODate, $n as UseContainerRevealOptions, $t as HandleRef, A as useRestoreFocus, An as DatePresentation, Ar as RangeClickResult, At as useLayer, B as useOverflow, Bn as formatDisplayTime, Br as spanDays, Bt as UseInputContainerOptions, C as ScrollStickyContainment, Cn as UseDismissOptions, Cr as AnnounceFn, Ct as useListFocus, D as useScrollableArea, Dn as useDisclosureHandle, Dr as SnapPaging, Dt as LayerMode, E as UseScrollableAreaResult, En as DisclosureHandleRef, Er as AnnouncePoliteness, Et as useResolvedLayerTeleport, F as PendingChange, Fn as ISOTimeString, Fr as isDayOutsideSpan, Ft as InteractiveRole, G as NumberStepDirection, Gn as resolveTimeSurface, Gt as useIndicatorFocusRing, H as ComputeOverflowResult, Hn as isTimeInRange, Ht as IndicatorFocusRingHandlers, I as usePendingChange, In as NativePicker, Ir as isRangeWithinSpan, It as UseInteractiveRoleOptions, J as useNumberField, Jn as UseControllableStateOptions, Jt as imageModeFromPixels, K as UseNumberFieldOptions, Kn as shiftTime, Kt as ImageSampleRegion, L as OverflowInlineBounds, Ln as ParsedTime, Lr as isSameRange, Lt as UseInteractiveRoleReturn, M as UsePressFeedbackOptions, Mn as resolveDatePresentation, Mr as applyRangeClick, Mt as UseKeyboardHint, N as UsePressFeedbackReturn, Nn as resolveDateSurface, Nr as compareISODate, Nt as UseKeyboardHintOptions, O as RestoreFocus, On as devWarn, Or as SnapPagingOptions, Ot as UseLayerOptions, P as usePressFeedback, Pn as HourFormat, Pr as formatDateRange, Pt as useKeyboardHint, Q as toISODate, Qn as UseContainerReveal, Qt as useHotkeys, R as UseOverflowOptions, Rn as TimePresentation, Rr as orderRange, Rt as useInteractiveRole, S as ScrollRole, Sn as useEntryAnimation, Sr as useAppShellMobile, St as UseListFocusOptions, T as UseScrollableAreaOptions, Tn as DisclosureHandle, Tr as useAnnounce, Tt as useLayerTeleportTarget, U as computeOverflow, Un as parseDisplayTime, Ut as UseIndicatorFocusRingOptions, V as ComputeOverflowInput, Vn as formatISOTime, Vt as useInputContainer, W as NumberField, Wn as parseISOTime, Wt as UseIndicatorFocusRingReturn, X as buildMonthGrid, Xn as ContainerRevealOptions, Xt as useImageMode, Y as addMonths, Yn as useControllableState, Yt as perceptualLightness, Z as parseISODate, Zn as ContentRevealOptions, Zt as Hotkey, _ as useScrollLock, _n as FieldControlStateInput, _r as UseChatNewMessagesOptions, _t as LongPressHandlers, a as UseTouchTriggerOptions, an as UseGridFocusReturn, ar as useCoarsePointer, at as useMenuPress, b as ScrollKeyboardAccess, bn as UseEntryAnimationOptions, br as AppShellMobile, bt as ListFocus, c as isActionTrigger, cn as UseFocusTrapOptions, cr as UseClickableContainerOptions, ct as MENU_PRESS_MARKER, d as snapToGraphemeBoundary, dn as FileSelectionOptions, dr as useClickableContainer, dt as MenuPressEvent, en as useHandleRef, er as useContainerReveal, et as MergedRef, f as useStreamingText, fn as FileSelectionResult, fr as ChatScrollToBottomOptions, ft as MenuPressGesture, g as useScrollOverflow, gn as FieldControlState, gr as CHAT_MESSAGE_CLASS, gt as useMediaQuery, h as UseScrollOverflowResult, hn as selectFiles, hr as useChatStreamScroll, ht as menuPressStep, i as LayerTouchTrigger, in as UseGridFocusOptions, ir as useCombobox, it as MenuPressOptions, j as useResolvedLabelHidden, jn as DateSurface, jr as WeekStartsOn, jt as KeyboardHintOrientation, k as UseRestoreFocusOptions, kn as useDevWarning, kr as ISODateRange, kt as UseLayerReturn, l as StreamingTextSpeed, ln as useFocusTrap, lr as hasInteractiveAncestor, lt as MENU_PRESS_SETTLE_MS, m as ScrollOverflowState, mn as formatFileSize, mr as UseChatStreamScrollReturn, mt as MenuPressStep, n as UseTypeaheadReturn, nn as UseGridRovingFocusOptions, nr as ComboboxOption, nt as useMergedRefs, o as UseTouchTriggerReturn, on as useGridFocus, or as ClickableContainerHandlers, ot as isMenuPressActivation, p as useSnapPaging, pn as FileSizeUnits, pr as UseChatStreamScrollOptions, pt as MenuPressPointerType, q as computeSteppedValue, qn as ControllableState, qt as UseImageModeOptions, r as useTypeahead, rn as useGridRovingFocus, rr as UseComboboxOptions, rt as MenuPress, s as useTouchTrigger, sn as FocusTrap, sr as INTERACTIVE_SELECTORS, st as resetMenuPress, t as UseTypeaheadOptions, tn as GridRovingFocus, tr as Combobox, tt as MergedRefHandle, u as UseStreamingTextOptions, un as FileRejection, ur as hasTextSelection, ut as MenuPressEffect, v as ScrollAxis, vn as useFieldControlState, vr as UseChatNewMessagesReturn, vt as LongPressOptions, w as ScrollableAreaState, wn as useDismiss, wr as UseAnnounceOptions, wt as useLayerMountTarget, x as ScrollOverscroll, xn as UseEntryAnimationReturn, xr as appShellMobileKey, xt as ListFocusOrientation, y as ScrollAxisState, yn as EntryAnimationPreset, yr as useChatNewMessages, yt as useLongPress, z as UseOverflowReturn, zn as TimeSurface, zr as resolveWeekStart, zt as InputContainerHandlers } from "../index-BXDqyk2_.js";
2
- import { a as SearchableItem, c as useAsyncSource, i as SearchSource, n as AsyncSourceStatus, o as UseAsyncSourceOptions, r as CreateStaticSourceOptions, s as createStaticSource, t as AsyncSource } from "../useAsyncSource-aGzrvRkI.js";
1
+ import { $ as todayISODate, $n as UseContainerRevealOptions, $t as HandleRef, A as useRestoreFocus, An as DatePresentation, Ar as AnimatorAnimateOptions, At as useLayer, B as useOverflow, Bn as formatDisplayTime, Br as WeekStartsOn, Bt as UseInputContainerOptions, C as ScrollStickyContainment, Cn as UseDismissOptions, Cr as AnnounceFn, Ct as useListFocus, D as useScrollableArea, Dn as useDisclosureHandle, Dr as useAnimator, Dt as LayerMode, E as UseScrollableAreaResult, En as DisclosureHandleRef, Er as AnnouncePoliteness, Et as useResolvedLayerTeleport, F as PendingChange, Fn as ISOTimeString, Fr as AnimatorValues, Ft as InteractiveRole, G as NumberStepDirection, Gn as resolveTimeSurface, Gr as isRangeWithinSpan, Gt as useIndicatorFocusRing, H as ComputeOverflowResult, Hn as isTimeInRange, Hr as compareISODate, Ht as IndicatorFocusRingHandlers, I as usePendingChange, In as NativePicker, Ir as SnapPaging, It as UseInteractiveRoleOptions, J as useNumberField, Jn as UseControllableStateOptions, Jr as resolveWeekStart, Jt as imageModeFromPixels, K as UseNumberFieldOptions, Kn as shiftTime, Kr as isSameRange, Kt as ImageSampleRegion, L as OverflowInlineBounds, Ln as ParsedTime, Lr as SnapPagingOptions, Lt as UseInteractiveRoleReturn, M as UsePressFeedbackOptions, Mn as resolveDatePresentation, Mr as AnimatorDecayVelocity, Mt as UseKeyboardHint, N as UsePressFeedbackReturn, Nn as resolveDateSurface, Nr as AnimatorHandle, Nt as UseKeyboardHintOptions, O as RestoreFocus, On as devWarn, Or as createAnimator, Ot as UseLayerOptions, P as usePressFeedback, Pn as HourFormat, Pr as AnimatorSnapshot, Pt as useKeyboardHint, Q as toISODate, Qn as UseContainerReveal, Qt as useHotkeys, R as UseOverflowOptions, Rn as TimePresentation, Rr as ISODateRange, Rt as useInteractiveRole, S as ScrollRole, Sn as useEntryAnimation, Sr as useAppShellMobile, St as UseListFocusOptions, T as UseScrollableAreaOptions, Tn as DisclosureHandle, Tr as useAnnounce, Tt as useLayerTeleportTarget, U as computeOverflow, Un as parseDisplayTime, Ur as formatDateRange, Ut as UseIndicatorFocusRingOptions, V as ComputeOverflowInput, Vn as formatISOTime, Vr as applyRangeClick, Vt as useInputContainer, W as NumberField, Wn as parseISOTime, Wr as isDayOutsideSpan, Wt as UseIndicatorFocusRingReturn, X as buildMonthGrid, Xn as ContainerRevealOptions, Xt as useImageMode, Y as addMonths, Yn as useControllableState, Yr as spanDays, Yt as perceptualLightness, Z as parseISODate, Zn as ContentRevealOptions, Zt as Hotkey, _ as useScrollLock, _n as FieldControlStateInput, _r as UseChatNewMessagesOptions, _t as LongPressHandlers, a as UseTouchTriggerOptions, an as UseGridFocusReturn, ar as useCoarsePointer, at as useMenuPress, b as ScrollKeyboardAccess, bn as UseEntryAnimationOptions, br as AppShellMobile, bt as ListFocus, c as isActionTrigger, cn as UseFocusTrapOptions, cr as UseClickableContainerOptions, ct as MENU_PRESS_MARKER, d as snapToGraphemeBoundary, dn as FileSelectionOptions, dr as useClickableContainer, dt as MenuPressEvent, en as useHandleRef, er as useContainerReveal, et as MergedRef, f as useStreamingText, fn as FileSelectionResult, fr as ChatScrollToBottomOptions, ft as MenuPressGesture, g as useScrollOverflow, gn as FieldControlState, gr as CHAT_MESSAGE_CLASS, gt as useMediaQuery, h as UseScrollOverflowResult, hn as selectFiles, hr as useChatStreamScroll, ht as menuPressStep, i as LayerTouchTrigger, in as UseGridFocusOptions, ir as useCombobox, it as MenuPressOptions, j as useResolvedLabelHidden, jn as DateSurface, jr as AnimatorChannel, jt as KeyboardHintOrientation, k as UseRestoreFocusOptions, kn as useDevWarning, kr as Animator, kt as UseLayerReturn, l as StreamingTextSpeed, ln as useFocusTrap, lr as hasInteractiveAncestor, lt as MENU_PRESS_SETTLE_MS, m as ScrollOverflowState, mn as formatFileSize, mr as UseChatStreamScrollReturn, mt as MenuPressStep, n as UseTypeaheadReturn, nn as UseGridRovingFocusOptions, nr as ComboboxOption, nt as useMergedRefs, o as UseTouchTriggerReturn, on as useGridFocus, or as ClickableContainerHandlers, ot as isMenuPressActivation, p as useSnapPaging, pn as FileSizeUnits, pr as UseChatStreamScrollOptions, pt as MenuPressPointerType, q as computeSteppedValue, qn as ControllableState, qr as orderRange, qt as UseImageModeOptions, r as useTypeahead, rn as useGridRovingFocus, rr as UseComboboxOptions, rt as MenuPress, s as useTouchTrigger, sn as FocusTrap, sr as INTERACTIVE_SELECTORS, st as resetMenuPress, t as UseTypeaheadOptions, tn as GridRovingFocus, tr as Combobox, tt as MergedRefHandle, u as UseStreamingTextOptions, un as FileRejection, ur as hasTextSelection, ut as MenuPressEffect, v as ScrollAxis, vn as useFieldControlState, vr as UseChatNewMessagesReturn, vt as LongPressOptions, w as ScrollableAreaState, wn as useDismiss, wr as UseAnnounceOptions, wt as useLayerMountTarget, x as ScrollOverscroll, xn as UseEntryAnimationReturn, xr as appShellMobileKey, xt as ListFocusOrientation, y as ScrollAxisState, yn as EntryAnimationPreset, yr as useChatNewMessages, yt as useLongPress, z as UseOverflowReturn, zn as TimeSurface, zr as RangeClickResult, zt as InputContainerHandlers } from "../index-tuNsmJxw.js";
2
+ import { a as SearchSource, c as createStaticSource, i as SearchContext, l as useAsyncSource, n as AsyncSourceStatus, o as SearchableItem, r as CreateStaticSourceOptions, s as UseAsyncSourceOptions, t as AsyncSource } from "../useAsyncSource-DbG2FSuI.js";
3
3
  import { n as UseClipboardReturn, r as useClipboard, t as UseClipboardOptions } from "../useClipboard-DeO8fCW_.js";
4
4
  import { t as characterCount } from "../characters-rcDbGt71.js";
5
5
  import { i as useInputStatusIcon, n as UseInputStatusIconOptions, r as UseInputStatusIconReturn, t as InputStatusVariant } from "../useInputStatusIcon-B6m_t8cK.js";
6
6
  import { a as ResizableRegionConfig, c as UseResizableMultiConfig, d as percent, f as useResizable, i as ResizableRegion, l as UseResizableOptions, n as ResizablePercentSize, o as ResizableSize, r as ResizableProps, s as ResizableState, t as ResizableDirection, u as UseResizableSingleOptions } from "../useResizable-CJd4JkbJ.js";
7
- export { type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type OverflowInlineBounds, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchSource, type SearchableItem, type SnapPaging, type SnapPagingOptions, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAnnounceOptions, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
7
+ export { type Animator, type AnimatorAnimateOptions, type AnimatorChannel, type AnimatorDecayVelocity, type AnimatorHandle, type AnimatorSnapshot, type AnimatorValues, type AnnounceFn, type AnnouncePoliteness, type AppShellMobile, type AsyncSource, type AsyncSourceStatus, CHAT_MESSAGE_CLASS, type ChatScrollToBottomOptions, type ClickableContainerHandlers, type Combobox, type ComboboxOption, type ComputeOverflowInput, type ComputeOverflowResult, type ContainerRevealOptions, type ContentRevealOptions, type ControllableState, type CreateStaticSourceOptions, type DatePresentation, type DateSurface, type DisclosureHandle, type DisclosureHandleRef, type EntryAnimationPreset, type FieldControlState, type FieldControlStateInput, type FileRejection, type FileSelectionOptions, type FileSelectionResult, type FileSizeUnits, type FocusTrap, type GridRovingFocus, type HandleRef, type Hotkey, type HourFormat, INTERACTIVE_SELECTORS, type ISODateRange, type ISOTimeString, type ImageSampleRegion, type IndicatorFocusRingHandlers, type InputContainerHandlers, type InputStatusVariant, type InteractiveRole, type KeyboardHintOrientation, type LayerMode, type LayerTouchTrigger, type ListFocus, type ListFocusOrientation, type LongPressHandlers, type LongPressOptions, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, type MenuPress, type MenuPressEffect, type MenuPressEvent, type MenuPressGesture, type MenuPressOptions, type MenuPressPointerType, type MenuPressStep, type MergedRef, type MergedRefHandle, type NativePicker, type NumberField, type NumberStepDirection, type OverflowInlineBounds, type ParsedTime, type PendingChange, type RangeClickResult, type ResizableDirection, type ResizablePercentSize, type ResizableProps, type ResizableRegion, type ResizableRegionConfig, type ResizableSize, type ResizableState, type RestoreFocus, type ScrollAxis, type ScrollAxisState, type ScrollKeyboardAccess, type ScrollOverflowState, type ScrollOverscroll, type ScrollRole, type ScrollStickyContainment, type ScrollableAreaState, type SearchContext, type SearchSource, type SearchableItem, type SnapPaging, type SnapPagingOptions, type StreamingTextSpeed, type TimePresentation, type TimeSurface, type UseAnnounceOptions, type UseAsyncSourceOptions, type UseChatNewMessagesOptions, type UseChatNewMessagesReturn, type UseChatStreamScrollOptions, type UseChatStreamScrollReturn, type UseClickableContainerOptions, type UseClipboardOptions, type UseClipboardReturn, type UseComboboxOptions, type UseContainerReveal, type UseContainerRevealOptions, type UseControllableStateOptions, type UseDismissOptions, type UseEntryAnimationOptions, type UseEntryAnimationReturn, type UseFocusTrapOptions, type UseGridFocusOptions, type UseGridFocusReturn, type UseGridRovingFocusOptions, type UseImageModeOptions, type UseIndicatorFocusRingOptions, type UseIndicatorFocusRingReturn, type UseInputContainerOptions, type UseInputStatusIconOptions, type UseInputStatusIconReturn, type UseInteractiveRoleOptions, type UseInteractiveRoleReturn, type UseKeyboardHint, type UseKeyboardHintOptions, type UseLayerOptions, type UseLayerReturn, type UseListFocusOptions, type UseNumberFieldOptions, type UseOverflowOptions, type UseOverflowReturn, type UsePressFeedbackOptions, type UsePressFeedbackReturn, type UseResizableMultiConfig, type UseResizableOptions, type UseResizableSingleOptions, type UseRestoreFocusOptions, type UseScrollOverflowResult, type UseScrollableAreaOptions, type UseScrollableAreaResult, type UseStreamingTextOptions, type UseTouchTriggerOptions, type UseTouchTriggerReturn, type UseTypeaheadOptions, type UseTypeaheadReturn, type WeekStartsOn, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
@@ -7,16 +7,16 @@ import { n as useLayer } from "../tooltipTriggerRules-PBxqztvn.js";
7
7
  import { t as useCoarsePointer } from "../useCoarsePointer-GItEMrjX.js";
8
8
  import { t as useMediaQuery } from "../useMediaQuery-BzXGT1Aw.js";
9
9
  import { t as characterCount } from "../characters-wTnzjkkR.js";
10
+ import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, g as createAnimator, h as useAnimator, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "../composables-BKHcPgN0.js";
11
+ import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
10
12
  import { t as useAnnounce } from "../announce-GU01Oix2.js";
11
13
  import { n as useAppShellMobile, t as appShellMobileKey } from "../useAppShellMobile-DTsyuAJ4.js";
12
- import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-Gk0VtE7_.js";
14
+ import { n as useAsyncSource, t as createStaticSource } from "../useAsyncSource-7GTcK8ep.js";
13
15
  import { n as CHAT_MESSAGE_CLASS, r as useChatNewMessages, t as useChatStreamScroll } from "../useChatStreamScroll-BIMKffDA.js";
14
16
  import { t as useClipboard } from "../useClipboard-CTY3GwFz.js";
15
- import { t as useCombobox } from "../useCombobox-D374_pT8.js";
16
- import { a as useKeyboardHint, c as perceptualLightness, d as useGridFocus, f as useEntryAnimation, i as useSnapPaging, l as useImageMode, m as useContainerReveal, n as snapToGraphemeBoundary, o as useIndicatorFocusRing, p as useControllableState, r as useStreamingText, s as imageModeFromPixels, t as useTouchTrigger, u as useGridRovingFocus } from "../composables-CCsHfpCS.js";
17
+ import { t as useCombobox } from "../useCombobox-DIR9yoEu.js";
17
18
  import { n as resolveDateSurface, t as resolveDatePresentation } from "../useDatePresentation-C07PnOCw.js";
18
19
  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-CIXoE_8k.js";
19
- import { n as useDevWarning, t as devWarn } from "../useDevWarning-B2fsk2B-.js";
20
20
  import { t as useDisclosureHandle } from "../useDisclosureHandle-Df3HhAfC.js";
21
21
  import { t as useFieldControlState } from "../useFieldControlState-voICDrys.js";
22
22
  import { n as selectFiles, t as formatFileSize } from "../useFileSelection-Cfcbh8XI.js";
@@ -41,4 +41,4 @@ import { t as useScrollOverflow } from "../useScrollOverflow-DuMoGXmm.js";
41
41
  import { a as parseISOTime, i as parseDisplayTime, n as formatISOTime, o as resolveTimeSurface, r as isTimeInRange, s as shiftTime, t as formatDisplayTime } from "../useTimeValue-_XW9g2V1.js";
42
42
  import { n as isActionTrigger } from "../useTouchTriggerInternal-Bs7obOrb.js";
43
43
  import { t as useTypeahead } from "../useTypeahead-BrWvmOu9.js";
44
- export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };
44
+ export { CHAT_MESSAGE_CLASS, INTERACTIVE_SELECTORS, MENU_PRESS_MARKER, MENU_PRESS_SETTLE_MS, addMonths, appShellMobileKey, applyRangeClick, buildMonthGrid, compareISODate, computeOverflow, computeSteppedValue, characterCount as countCharacters, createAnimator, createStaticSource, devWarn, formatDateRange, formatDisplayTime, formatFileSize, formatISOTime, hasInteractiveAncestor, hasTextSelection, imageModeFromPixels, isActionTrigger, isDayOutsideSpan, isMenuPressActivation, isRangeWithinSpan, isSameRange, isTimeInRange, menuPressStep, orderRange, parseDisplayTime, parseISODate, parseISOTime, percent, perceptualLightness, resetMenuPress, resolveDatePresentation, resolveDateSurface, resolveTimeSurface, resolveWeekStart, selectFiles, shiftTime, snapToGraphemeBoundary, spanDays, toISODate, todayISODate, useAnimator, useAnnounce, useAppShellMobile, useAsyncSource, useChatNewMessages, useChatStreamScroll, useClickableContainer, useClipboard, useCoarsePointer, useCombobox, useContainerReveal, useControllableState, useDevWarning, useDisclosureHandle, useDismiss, useEntryAnimation, useFieldControlState, useFocusTrap, useGridFocus, useGridRovingFocus, useHandleRef, useHotkeys, useImageMode, useIndicatorFocusRing, useInputContainer, useInputStatusIcon, useInteractiveRole, useKeyboardHint, useLayer, useLayerMountTarget, useLayerTeleportTarget, useListFocus, useLongPress, useMediaQuery, useMenuPress, useMergedRefs, useNumberField, useOverflow, usePendingChange, usePressFeedback, useResizable, useResolvedLabelHidden, useResolvedLayerTeleport, useRestoreFocus, useScrollLock, useScrollOverflow, useScrollableArea, useSnapPaging, useStreamingText, useTouchTrigger, useTypeahead };