@astryx-vue/core 0.16.5 → 0.18.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 (165) hide show
  1. package/dist/AppShell/index.d.ts +1 -1
  2. package/dist/AvatarGroup/index.d.ts +1 -1
  3. package/dist/Banner/index.d.ts +1 -1
  4. package/dist/BottomSheet/index.d.ts +1 -1
  5. package/dist/Button/index.d.ts +1 -1
  6. package/dist/ButtonGroup/index.d.ts +1 -1
  7. package/dist/Calendar/index.d.ts +1 -1
  8. package/dist/Carousel/index.d.ts +1 -1
  9. package/dist/Chat/index.d.ts +1 -1
  10. package/dist/Chat/index.js +1 -1
  11. package/dist/CheckboxInput/index.d.ts +1 -1
  12. package/dist/CheckboxList/index.d.ts +1 -1
  13. package/dist/ClickableCard/index.d.ts +1 -1
  14. package/dist/Code/index.d.ts +1 -1
  15. package/dist/Code/index.js +1 -1
  16. package/dist/Collapsible/index.d.ts +1 -1
  17. package/dist/Collapsible/index.js +1 -1
  18. package/dist/{Collapsible-Dk9BQQbT.js → Collapsible-ExzU7vC0.js} +104 -40
  19. package/dist/CommandPalette/index.d.ts +1 -1
  20. package/dist/CommandPalette/index.js +1 -1
  21. package/dist/{CommandPalette-mNR6dV0B.js → CommandPalette-CECjNvGB.js} +1 -1
  22. package/dist/ComplexSelector/index.js +1 -1
  23. package/dist/{ComplexSelector-CR9XbpTa.js → ComplexSelector-Dmaag1wm.js} +5 -1
  24. package/dist/ContextMenu/index.d.ts +1 -1
  25. package/dist/DateInput/index.d.ts +1 -1
  26. package/dist/DateInput/index.js +1 -1
  27. package/dist/DateRangeInput/index.d.ts +1 -1
  28. package/dist/DateRangeInput/index.js +1 -1
  29. package/dist/DateTimeInput/index.d.ts +1 -1
  30. package/dist/DateTimeInput/index.js +1 -1
  31. package/dist/{DateTimeInput-ChGin5zS.js → DateTimeInput-Cfkuec_h.js} +1 -1
  32. package/dist/Dialog/index.d.ts +1 -1
  33. package/dist/Divider/index.d.ts +1 -1
  34. package/dist/Drawer/index.d.ts +1 -1
  35. package/dist/Field/index.d.ts +1 -1
  36. package/dist/FileInput/index.d.ts +1 -1
  37. package/dist/HoverCard/index.d.ts +1 -1
  38. package/dist/Indicator/index.d.ts +2 -2
  39. package/dist/InfoTip/index.d.ts +1 -1
  40. package/dist/InputGroup/index.d.ts +1 -1
  41. package/dist/InternationalizationProvider/index.d.ts +1 -1
  42. package/dist/InternationalizationProvider/index.js +1 -1
  43. package/dist/{InternationalizationProvider-7rA65NO7.js → InternationalizationProvider-Dr5GE6f0.js} +1 -1
  44. package/dist/Link/index.d.ts +1 -1
  45. package/dist/List/index.d.ts +1 -1
  46. package/dist/Markdown/index.js +1 -1
  47. package/dist/{Markdown-BNVd70jg.js → Markdown-DnnWjJGX.js} +1 -1
  48. package/dist/{MediaTheme-Bkj-_DFN.js → MediaTheme-DfcdEWx-.js} +2 -36
  49. package/dist/MoreMenu/index.d.ts +1 -1
  50. package/dist/MultiSelector/index.d.ts +1 -1
  51. package/dist/MultiSelector/index.js +1 -1
  52. package/dist/{MultiSelector-CXX1Hsty.js → MultiSelector-BK6nZweN.js} +26 -14
  53. package/dist/NavItem/index.d.ts +1 -1
  54. package/dist/NumberInput/index.d.ts +1 -1
  55. package/dist/OverflowList/index.d.ts +1 -1
  56. package/dist/Pagination/index.d.ts +1 -1
  57. package/dist/Pagination/index.js +1 -1
  58. package/dist/{Pagination-BvZFvwso.js → Pagination-DFQNX_Mb.js} +1 -1
  59. package/dist/Popover/index.d.ts +1 -1
  60. package/dist/PowerSearch/index.d.ts +1 -1
  61. package/dist/PowerSearch/index.js +1 -1
  62. package/dist/{PowerSearch-BiupstfT.js → PowerSearch-BAOqpQag.js} +10 -10
  63. package/dist/ProgressBar/index.d.ts +1 -1
  64. package/dist/Radio/index.d.ts +1 -1
  65. package/dist/RadioList/index.d.ts +1 -1
  66. package/dist/ScrollableArea/index.d.ts +1 -1
  67. package/dist/SegmentedControl/index.d.ts +1 -1
  68. package/dist/SelectableCard/index.d.ts +1 -1
  69. package/dist/Selector/index.d.ts +1 -1
  70. package/dist/Selector/index.js +1 -1
  71. package/dist/{Selector-DiSLNzl8.js → Selector-Bo7qkt1P.js} +157 -62
  72. package/dist/SideNav/index.d.ts +1 -1
  73. package/dist/Stepper/index.d.ts +1 -1
  74. package/dist/Switch/index.d.ts +1 -1
  75. package/dist/Table/index.d.ts +1 -1
  76. package/dist/Table/index.js +1 -1
  77. package/dist/{Table-BD8MugZo.js → Table-iemur_3E.js} +378 -7
  78. package/dist/TextArea/index.d.ts +1 -1
  79. package/dist/TextInput/index.d.ts +1 -1
  80. package/dist/Theme/index.d.ts +3 -3
  81. package/dist/Theme/index.js +3 -2
  82. package/dist/{Theme-8bDq2nud.js → Theme-1RJVaRgz.js} +329 -40
  83. package/dist/TimeInput/index.d.ts +1 -1
  84. package/dist/Timer/index.d.ts +1 -1
  85. package/dist/Timestamp/index.d.ts +1 -1
  86. package/dist/Toast/index.js +1 -1
  87. package/dist/{Toast-CzbqvHDN.js → Toast-D4Q6wvYu.js} +1 -1
  88. package/dist/ToggleButton/index.d.ts +1 -1
  89. package/dist/Tokenizer/index.d.ts +1 -1
  90. package/dist/Tokenizer/index.js +1 -1
  91. package/dist/{Tokenizer-mu0Sak58.js → Tokenizer-CsFiYUJ_.js} +171 -103
  92. package/dist/Toolbar/index.d.ts +1 -1
  93. package/dist/Tooltip/index.d.ts +1 -1
  94. package/dist/TopNav/index.d.ts +1 -1
  95. package/dist/TreeList/index.d.ts +1 -1
  96. package/dist/TreeList/index.js +1 -1
  97. package/dist/{TreeList-CNj4KnHH.js → TreeList-ugSF9DWj.js} +117 -2
  98. package/dist/Typeahead/index.d.ts +2 -1
  99. package/dist/Typeahead/index.js +2 -2
  100. package/dist/{Typeahead-Db8Tu27Z.js → Typeahead--kEp21ut.js} +159 -71
  101. package/dist/{useKeyboardHighlight-CGCf1O57.js → assertOptions-CK_gJ0d3.js} +12 -1
  102. package/dist/composables/index.d.ts +4 -3
  103. package/dist/composables/index.js +5 -5
  104. package/dist/composables-BgfubKnk.js +5437 -0
  105. package/dist/handle-BPXdHbkr.js +458 -0
  106. package/dist/{index-sXu15K4j.d.ts → index-B-3EGjfQ.d.ts} +2 -2
  107. package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
  108. package/dist/{index-9eluGe3a.d.ts → index-BBTU-TKb.d.ts} +1 -1
  109. package/dist/{index-CE74Qsbn.d.ts → index-BKpnfdq1.d.ts} +9 -9
  110. package/dist/{index-D_xBhUV5.d.ts → index-B_PKY-Wn.d.ts} +11 -11
  111. package/dist/{index-Bfm6mF-r.d.ts → index-BfoazhEu.d.ts} +1 -1
  112. package/dist/{index-BWzEt0gT.d.ts → index-BhxqUt3y.d.ts} +1 -1
  113. package/dist/{index-CJdOt5Cc.d.ts → index-BtqvPjAf.d.ts} +3 -3
  114. package/dist/{index-ChqMaV6N.d.ts → index-Bzi3A980.d.ts} +1 -1
  115. package/dist/{index-DBwEz4M9.d.ts → index-BzmcDJau.d.ts} +11 -11
  116. package/dist/{index-CQ1bsxLC.d.ts → index-C1qJlC65.d.ts} +1 -1
  117. package/dist/{index-CMLnSg3T.d.ts → index-C4S65SAW.d.ts} +8 -1
  118. package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
  119. package/dist/{index-gmY3A_Iw.d.ts → index-C93nwgTW.d.ts} +1 -1
  120. package/dist/{index-BvWBeoa8.d.ts → index-CEjvYAUZ.d.ts} +1 -1
  121. package/dist/{index-B0R5CLPF.d.ts → index-CsYDrQ9R.d.ts} +1 -1
  122. package/dist/{index-C2cH8OLC.d.ts → index-D31bgBoy.d.ts} +1 -1
  123. package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
  124. package/dist/index-DGXCnzOL.d.ts +69 -0
  125. package/dist/{index-BPf_jmME.d.ts → index-DMcf0QeR.d.ts} +3 -3
  126. package/dist/{index-SWw-WMTO.d.ts → index-DPhQZXYw.d.ts} +3 -3
  127. package/dist/{index-B-Jla56c.d.ts → index-DmAEpn5E.d.ts} +1 -1
  128. package/dist/{index-B0yaHi__.d.ts → index-DtZUOyCy.d.ts} +12 -5
  129. package/dist/{index-BQ3cm7mP.d.ts → index-FeZXsFO-.d.ts} +1 -1
  130. package/dist/{index-Byan7Dad.d.ts → index-GmoeIuhl.d.ts} +1 -1
  131. package/dist/{index-ygmRS6Np.d.ts → index-KcCNhdAw.d.ts} +1 -1
  132. package/dist/{index-BPHqOCfp.d.ts → index-PffxihMx.d.ts} +4 -4
  133. package/dist/{index-unAZVFGz.d.ts → index-Qdbssopn.d.ts} +2 -2
  134. package/dist/{index-LHvLg1Pv.d.ts → index-Y4H4X6Vy.d.ts} +88 -82
  135. package/dist/{index-Xc3q9f84.d.ts → index-YKCx03zD.d.ts} +2 -2
  136. package/dist/{index-BXDqyk2_.d.ts → index-gu5EvbE0.d.ts} +170 -2
  137. package/dist/{index-BFZxzCYu.d.ts → index-o00Upzjp.d.ts} +3 -3
  138. package/dist/{index-BEZ4ezJk.d.ts → index-ql9ApSTF.d.ts} +7 -0
  139. package/dist/index.d.ts +39 -37
  140. package/dist/index.js +31 -30
  141. package/dist/landing-Bs0aMIsR.js +2049 -0
  142. package/dist/{loadCatalog-DFyDz_4e.d.ts → loadCatalog-BJwcyX8i.d.ts} +2 -0
  143. package/dist/{loadCatalog-C3MSknfx.js → loadCatalog-C1kms5sO.js} +5 -1
  144. package/dist/locale/index.d.ts +2 -2
  145. package/dist/locale/index.js +3 -3
  146. package/dist/{locale-OCGw4bi6.js → locale-CHhsd9Mq.js} +1 -1
  147. package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
  148. package/dist/tokenName-0U-WEH09.js +36 -0
  149. package/dist/{typeahead-RkZw0Ktn.js → typeahead-BgfLP7vR.js} +2 -0
  150. package/dist/{index-DbFIQDoa.d.ts → types-C1ydeFiu.d.ts} +43 -65
  151. package/dist/{types-uWxXh1Jm.d.ts → types-fRasDCe4.d.ts} +47 -6
  152. package/dist/useAnimatedLayout-C0koWm4a.d.ts +56 -0
  153. package/dist/{useAsyncSource-Gk0VtE7_.js → useAsyncSource-7GTcK8ep.js} +31 -1
  154. package/dist/{useAsyncSource-aGzrvRkI.d.ts → useAsyncSource-DbG2FSuI.d.ts} +19 -2
  155. package/dist/{useCombobox-D374_pT8.js → useCombobox-DIR9yoEu.js} +150 -3
  156. package/dist/{useTypeaheadAnnouncement-CSikDlpK.js → useTypeaheadMenuConfig--4f7jR6G.js} +264 -20
  157. package/package.json +1 -1
  158. package/styles/motion.css +10 -0
  159. package/styles/selector.css +10 -0
  160. package/styles/table.css +19 -0
  161. package/dist/composables-CCsHfpCS.js +0 -1256
  162. package/dist/{Chat-PEkZTrQE.js → Chat-Wq7e98zS.js} +1 -1
  163. package/dist/{CodeBlock-9Lfec8C8.js → CodeBlock-CLVXVlB7.js} +1 -1
  164. package/dist/{DateInput-kXAc_r5m.js → DateInput-BitZfGEY.js} +1 -1
  165. package/dist/{DateRangeInput-DW7IzFQM.js → DateRangeInput-kxXBsUTU.js} +1 -1
@@ -160,33 +160,33 @@ interface SelectorSlots {
160
160
  //#region src/Selector/Selector.vue.d.ts
161
161
  type __VLS_Slots = SelectorSlots;
162
162
  declare const __VLS_base: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
163
+ search: (query: string) => any;
163
164
  change: (value: string | number | null) => any;
164
165
  click: (event: MouseEvent) => any;
166
+ focus: (event: FocusEvent) => any;
165
167
  keydown: (event: KeyboardEvent) => any;
166
168
  "update:modelValue": (value: string | number | null) => any;
167
- search: (query: string) => any;
168
- focus: (event: FocusEvent) => any;
169
169
  }, string, import("vue").PublicProps, Readonly<SelectorProps> & Readonly<{
170
+ onSearch?: ((query: string) => any) | undefined;
170
171
  onChange?: ((value: string | number | null) => any) | undefined;
171
172
  onClick?: ((event: MouseEvent) => any) | undefined;
173
+ onFocus?: ((event: FocusEvent) => any) | undefined;
172
174
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
173
175
  "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
174
- onSearch?: ((query: string) => any) | undefined;
175
- onFocus?: ((event: FocusEvent) => any) | undefined;
176
176
  }>, {
177
+ status: SelectorStatusInput;
178
+ isOptional: boolean;
179
+ indicatorPosition: SelectorIndicatorPosition;
180
+ variant: SelectorVariant;
181
+ isLoading: boolean;
177
182
  modelValue: string | number | null;
178
183
  isLabelHidden: boolean;
179
- isOptional: boolean;
180
184
  isRequired: boolean;
181
- isLoading: boolean;
182
- status: SelectorStatusInput;
183
185
  statusVariant: SelectorStatusVariant;
184
- variant: SelectorVariant;
185
- indicatorPosition: SelectorIndicatorPosition;
186
- disabled: boolean;
186
+ presentation: SelectorPresentation;
187
187
  isReadOnly: boolean;
188
+ disabled: boolean;
188
189
  clearable: boolean;
189
- presentation: SelectorPresentation;
190
190
  searchable: boolean;
191
191
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
192
192
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,5 @@
1
1
  import { i as AstryxLocale } from "./power-search-CqcsJT1F.js";
2
- import { s as AstryxMessages } from "./loadCatalog-DFyDz_4e.js";
2
+ import { s as AstryxMessages } from "./loadCatalog-BJwcyX8i.js";
3
3
  import { ComputedRef, InjectionKey, MaybeRefOrGetter } from "vue";
4
4
  //#region src/locale/context.d.ts
5
5
  declare const astryxLocaleKey: InjectionKey<MaybeRefOrGetter<string>>;
@@ -1,3 +1,4 @@
1
+ import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
1
2
  import { CSSProperties, Component, Ref, VNode, VNodeChild } from "vue";
2
3
  //#region src/TreeList/types.d.ts
3
4
  type TreeListDensity = 'compact' | 'balanced' | 'spacious';
@@ -36,6 +37,12 @@ interface TreeListItemData {
36
37
  }
37
38
  interface TreeListProps {
38
39
  items: TreeListItemData[];
40
+ /**
41
+ * The handle from `useAnimatedLayout({ containerRef })`. With it, expanding
42
+ * or collapsing a row glides the rows and content after it, up to that
43
+ * container, instead of jumping, and the chevron turns on the same timing.
44
+ */
45
+ animatedLayout?: AnimatedLayout;
39
46
  /** @default 'balanced' */
40
47
  density?: TreeListDensity;
41
48
  /** @default 'lineGuides' */
@@ -56,8 +63,8 @@ interface TreeListSlots {
56
63
  //#region src/TreeList/TreeList.vue.d.ts
57
64
  type __VLS_Slots = TreeListSlots;
58
65
  declare const __VLS_base: import("vue").DefineComponent<TreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeListProps> & Readonly<{}>, {
59
- variant: TreeListVariant;
60
66
  density: TreeListDensity;
67
+ variant: TreeListVariant;
61
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
62
69
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
63
70
  declare const _default: typeof __VLS_export;
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
21
21
  label?: (props: typeof __VLS_1) => any;
22
22
  };
23
23
  declare const __VLS_base: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
24
- variant: DividerVariant;
25
24
  orientation: DividerOrientation;
25
+ variant: DividerVariant;
26
26
  isFullBleed: boolean;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -139,8 +139,8 @@ type __VLS_Slots = SegmentedControlItemSlots;
139
139
  declare const __VLS_base: import("vue").DefineComponent<SegmentedControlItemProps, {
140
140
  element: import("vue").ComputedRef<HTMLButtonElement | null>;
141
141
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SegmentedControlItemProps> & Readonly<{}>, {
142
- isLabelHidden: boolean;
143
142
  isDisabled: boolean;
143
+ isLabelHidden: boolean;
144
144
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
145
145
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
146
146
  declare const _default: typeof __VLS_export;
@@ -55,8 +55,8 @@ interface InputGroupTextSlots {
55
55
  //#region src/InputGroup/InputGroup.vue.d.ts
56
56
  type __VLS_Slots$1 = InputGroupSlots;
57
57
  declare const __VLS_base$1: import("vue").DefineComponent<InputGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupProps> & Readonly<{}>, {
58
- isLabelHidden: boolean;
59
58
  isOptional: boolean;
59
+ isLabelHidden: boolean;
60
60
  isRequired: boolean;
61
61
  disabled: boolean;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { B as IndicatorProps, H as IndicatorSize, N as CoreIndicatorName, P as IndicatorComponent, R as IndicatorName, o as ThemeDefinition } from "./types-uWxXh1Jm.js";
1
+ import { G as IndicatorSize, I as CoreIndicatorName, L as IndicatorComponent, U as IndicatorProps, V as IndicatorName, o as ThemeDefinition } from "./types-fRasDCe4.js";
2
2
  import { ComputedRef, VNodeChild } from "vue";
3
3
  //#region src/Indicator/CheckIndicator.vue.d.ts
4
4
  type __VLS_Props$1 = IndicatorProps<'singleSelection'>;
@@ -1,4 +1,4 @@
1
- import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-DFyDz_4e.js";
1
+ import { s as AstryxMessages, t as AstryxUpstreamCatalog } from "./loadCatalog-BJwcyX8i.js";
2
2
  import { ComputedRef, InjectionKey } from "vue";
3
3
  //#region src/InternationalizationProvider/catalog.d.ts
4
4
  /**
@@ -140,8 +140,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
140
140
  height: string | number;
141
141
  isInline: boolean;
142
142
  purpose: BottomSheetPurpose;
143
- snapPoints: readonly BottomSheetSnapPoint[];
144
143
  hasScrim: boolean;
144
+ snapPoints: readonly BottomSheetSnapPoint[];
145
145
  finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
146
146
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
147
147
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
@@ -175,11 +175,11 @@ type __VLS_Slots = {} & {
175
175
  default?: (props: typeof __VLS_1) => any;
176
176
  };
177
177
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
178
- cancel: (event: Event) => any;
179
178
  "update:activeSheet": (value: string | null) => any;
179
+ cancel: (event: Event) => any;
180
180
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
181
- onCancel?: ((event: Event) => any) | undefined;
182
181
  "onUpdate:activeSheet"?: ((value: string | null) => any) | undefined;
182
+ onCancel?: ((event: Event) => any) | undefined;
183
183
  }>, {
184
184
  hasScrim: boolean;
185
185
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,69 @@
1
+ import { o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
2
+ import { i as TypeaheadItemProps, l as TypeaheadSlots, s as TypeaheadProps, t as BaseTypeaheadProps } from "./types-C1ydeFiu.js";
3
+ //#region src/Typeahead/BaseTypeahead.vue.d.ts
4
+ declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$1<BaseTypeaheadProps<T> & {
6
+ onSearch?: ((query: string) => any) | undefined;
7
+ onChange?: ((value: T | null) => any) | undefined;
8
+ onOpenChange?: ((isOpen: boolean) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
10
+ onChangeQuery?: ((query: string) => any) | undefined;
11
+ }> & (typeof globalThis extends {
12
+ __VLS_PROPS_FALLBACK: infer P;
13
+ } ? P : {});
14
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
15
+ focus: () => void | undefined;
16
+ blur: () => void | undefined;
17
+ open: () => void;
18
+ close: () => void;
19
+ }>) => void;
20
+ attrs: any;
21
+ slots: TypeaheadSlots<T>;
22
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
23
+ }>) => import("vue").VNode & {
24
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
25
+ };
26
+ declare const _default$2: typeof __VLS_export$2;
27
+ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
28
+ //#endregion
29
+ //#region src/Typeahead/Typeahead.vue.d.ts
30
+ declare const __VLS_export$1: <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<{
31
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
32
+ onSearch?: ((query: string) => any) | undefined;
33
+ onChange?: ((value: T | null) => any) | undefined;
34
+ onOpenChange?: ((isOpen: boolean) => any) | undefined;
35
+ "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
36
+ onChangeQuery?: ((query: string) => any) | undefined;
37
+ }> & (typeof globalThis extends {
38
+ __VLS_PROPS_FALLBACK: infer P;
39
+ } ? P : {});
40
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
41
+ focus: () => void | undefined;
42
+ blur: () => void | undefined;
43
+ open: () => void | undefined;
44
+ close: () => void | undefined;
45
+ }>) => void;
46
+ attrs: any;
47
+ slots: TypeaheadSlots<T>;
48
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "changeQuery", query: string) => void);
49
+ }>) => import("vue").VNode & {
50
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
51
+ };
52
+ declare const _default$1: typeof __VLS_export$1;
53
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
54
+ //#endregion
55
+ //#region src/Typeahead/TypeaheadItem.vue.d.ts
56
+ declare var __VLS_1: {};
57
+ type __VLS_Slots = {} & {
58
+ icon?: (props: typeof __VLS_1) => any;
59
+ };
60
+ declare const __VLS_base: import("vue").DefineComponent<TypeaheadItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TypeaheadItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
62
+ declare const _default: typeof __VLS_export;
63
+ type __VLS_WithSlots<T, S> = T & {
64
+ new (): {
65
+ $slots: S;
66
+ };
67
+ };
68
+ //#endregion
69
+ export { _default$1 as n, _default$2 as r, _default as t };
@@ -108,10 +108,11 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
108
108
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
109
109
  onPageSizeChange?: ((pageSize: number) => any) | undefined;
110
110
  }>, {
111
+ step: number;
111
112
  isDisabled: boolean;
112
- size: PaginationSize;
113
113
  variant: PaginationVariant;
114
- step: number;
114
+ size: PaginationSize;
115
+ disabled: boolean;
115
116
  page: number;
116
117
  pageSize: number;
117
118
  total: number;
@@ -119,7 +120,6 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
119
120
  showSizeChanger: boolean;
120
121
  pageSizeOptions: number[];
121
122
  showTotal: boolean;
122
- disabled: boolean;
123
123
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
124
124
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
125
125
  declare const _default: typeof __VLS_export;
@@ -65,17 +65,17 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
65
65
  }, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{
66
66
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
67
67
  }>, {
68
+ anchor: HTMLElement | null;
69
+ content: string;
68
70
  isOpen: boolean;
69
71
  placement: TooltipPlacement;
70
72
  alignment: TooltipAlignment;
71
- anchor: HTMLElement | null;
72
- content: string;
73
73
  isDefaultOpen: boolean;
74
+ isEnabled: boolean;
74
75
  delay: number;
75
76
  hideDelay: number;
76
77
  focusTrigger: TooltipFocusTrigger;
77
78
  touchTrigger: TooltipTouchTrigger;
78
- isEnabled: boolean;
79
79
  hasHoverIndication: boolean | "auto";
80
80
  anchorsOnSelf: boolean;
81
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
1
+ import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
2
2
  import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
3
3
  import { t as PowerSearchMessages } from "./power-search-CqcsJT1F.js";
4
4
  import { Component, VNodeChild } from "vue";
@@ -1,6 +1,7 @@
1
- import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
1
+ import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
2
2
  import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
3
3
  import { t as InputStatusVariant } from "./useInputStatusIcon-B6m_t8cK.js";
4
+ import { a as TypeaheadListboxMenuSlotProps, n as TypeaheadDialogMenuSlotProps, o as TypeaheadMenuConfig } from "./types-C1ydeFiu.js";
4
5
  //#region src/Tokenizer/types.d.ts
5
6
  type TokenizerSize = 'sm' | 'md' | 'lg';
6
7
  type TokenizerStatus = 'default' | 'success' | 'warning' | 'error';
@@ -24,6 +25,8 @@ type TokenizerChange<T extends SearchableItem = SearchableItem> = {
24
25
  };
25
26
  interface TokenizerProps<T extends SearchableItem = SearchableItem> extends FieldPartStylingProps {
26
27
  modelValue?: readonly T[];
28
+ /** 菜单里放什么,默认是结果列表。见 {@link TypeaheadMenuConfig}。 */
29
+ menu?: TypeaheadMenuConfig;
27
30
  searchSource: SearchSource<T>;
28
31
  label: string;
29
32
  /** 视觉上隐藏标签。读屏仍然读得到。 */
@@ -102,17 +105,19 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
102
105
  isSelected: boolean;
103
106
  }) => unknown;
104
107
  empty?: () => unknown;
108
+ /** 菜单内容:listbox 角色在结果列表周围放信息,dialog 角色是菜单的全部内容。 */
109
+ menu?: (props: TypeaheadListboxMenuSlotProps & TypeaheadDialogMenuSlotProps) => unknown;
105
110
  }
106
111
  //#endregion
107
112
  //#region src/Tokenizer/Tokenizer.vue.d.ts
108
113
  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<{
109
114
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
110
- onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
111
- onOpenChange?: ((isOpen: boolean) => any) | undefined;
112
- "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
113
115
  onSearch?: ((query: string) => any) | undefined;
116
+ onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
114
117
  onBlur?: ((event: FocusEvent) => any) | undefined;
115
118
  onFocus?: ((event: FocusEvent) => any) | undefined;
119
+ onOpenChange?: ((isOpen: boolean) => any) | undefined;
120
+ "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
116
121
  onChangeQuery?: ((query: string) => any) | undefined;
117
122
  }> & (typeof globalThis extends {
118
123
  __VLS_PROPS_FALLBACK: infer P;
@@ -120,10 +125,12 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
120
125
  expose: (exposed: import("vue").ShallowUnwrapRef<{
121
126
  focus: () => void | undefined;
122
127
  blur: () => void | undefined;
128
+ open: () => void;
129
+ close: () => void;
123
130
  }>) => void;
124
131
  attrs: any;
125
132
  slots: TokenizerSlots<T>;
126
- emit: ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "search", query: string) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "changeQuery", query: string) => void);
133
+ emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "changeQuery", query: string) => void);
127
134
  }>) => import("vue").VNode & {
128
135
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
129
136
  };
@@ -89,9 +89,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
89
89
  }, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
90
90
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
91
91
  }>, {
92
+ padding: DialogPadding;
92
93
  width: string | number;
93
94
  variant: DialogVariant;
94
- padding: DialogPadding;
95
95
  isInline: boolean;
96
96
  position: DialogPosition;
97
97
  purpose: DialogPurpose;
@@ -5,7 +5,7 @@ type __VLS_Slots$1 = FieldSlots;
5
5
  declare const __VLS_base$1: import("vue").DefineComponent<FieldProps, {
6
6
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
7
7
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {
8
- statusVariant: FieldStatusVariant | "tooltip";
8
+ statusVariant: "tooltip" | FieldStatusVariant;
9
9
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
11
11
  declare const _default$2: typeof __VLS_export$2;
@@ -29,8 +29,8 @@ declare const __VLS_base: import("vue").DefineComponent<NavItemProps, {}, {}, {}
29
29
  }>, {
30
30
  block: boolean;
31
31
  isDisabled: boolean;
32
- size: NavItemSize;
33
32
  isSelected: boolean;
33
+ size: NavItemSize;
34
34
  isIconOnly: boolean;
35
35
  plain: boolean;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -15,15 +15,15 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
15
15
  }, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
16
16
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
17
17
  }>, {
18
- isOpen: boolean;
19
18
  label: string;
19
+ anchor: HTMLElement | null;
20
+ padding: PopoverPadding;
20
21
  width: string | number;
22
+ isOpen: boolean;
21
23
  placement: LayerPlacement;
22
24
  alignment: LayerAlignment;
23
- anchor: HTMLElement | null;
24
- padding: PopoverPadding;
25
- role: PopoverRole;
26
25
  hasAutoFocus: boolean;
26
+ role: PopoverRole;
27
27
  hasCloseButton: boolean;
28
28
  closeButtonLabel: string;
29
29
  isEnabled: boolean;
@@ -1,4 +1,4 @@
1
- import { a as SearchableItem, i as SearchSource } from "./useAsyncSource-aGzrvRkI.js";
1
+ import { a as SearchSource, o as SearchableItem } from "./useAsyncSource-DbG2FSuI.js";
2
2
  import { VNode } from "vue";
3
3
  //#region src/CommandPalette/types.d.ts
4
4
  interface CommandPaletteProps<T extends SearchableItem = SearchableItem> {
@@ -89,8 +89,8 @@ declare const __VLS_export$6: <T extends SearchableItem>(__VLS_props: NonNullabl
89
89
  props: import("vue").PublicProps & __VLS_PrettifyLocal<(CommandPaletteProps<T> & {
90
90
  value?: string | undefined;
91
91
  }) & {
92
- onOpenChange?: ((isOpen: boolean) => any) | undefined;
93
92
  "onUpdate:value"?: ((value: string | undefined) => any) | undefined;
93
+ onOpenChange?: ((isOpen: boolean) => any) | undefined;
94
94
  onValueChange?: ((value: string) => any) | undefined;
95
95
  }> & (typeof globalThis extends {
96
96
  __VLS_PROPS_FALLBACK: infer P;