@astryx-vue/core 0.9.1 → 0.10.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 (121) hide show
  1. package/README.md +8 -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/Breadcrumbs/index.js +1 -1
  6. package/dist/{Breadcrumbs-CrqG4fGx.js → Breadcrumbs-Dxjz2Dxn.js} +1 -1
  7. package/dist/Button/index.d.ts +1 -1
  8. package/dist/ButtonGroup/index.d.ts +1 -1
  9. package/dist/Calendar/index.d.ts +1 -1
  10. package/dist/Card/index.d.ts +1 -1
  11. package/dist/Carousel/index.d.ts +1 -1
  12. package/dist/Chat/index.d.ts +1 -1
  13. package/dist/Chat/index.js +1 -1
  14. package/dist/{Chat-Bl_Wr2lK.js → Chat-Bz9KRyug.js} +1 -1
  15. package/dist/CheckboxInput/index.d.ts +1 -1
  16. package/dist/CheckboxList/index.d.ts +1 -1
  17. package/dist/ClickableCard/index.d.ts +1 -1
  18. package/dist/Collapsible/index.d.ts +1 -1
  19. package/dist/CommandPalette/index.d.ts +1 -1
  20. package/dist/ContextMenu/index.d.ts +1 -1
  21. package/dist/ContextMenu/index.js +1 -1
  22. package/dist/{ContextMenu-DN_nTBgW.js → ContextMenu-6AnjpPJg.js} +119 -142
  23. package/dist/DateInput/index.d.ts +1 -1
  24. package/dist/DateRangeInput/index.d.ts +1 -1
  25. package/dist/DateTimeInput/index.d.ts +1 -1
  26. package/dist/Dialog/index.d.ts +1 -1
  27. package/dist/Divider/index.d.ts +1 -1
  28. package/dist/Drawer/index.d.ts +1 -1
  29. package/dist/DropdownMenu/index.js +2 -2
  30. package/dist/{DropdownMenu-B758ASzK.js → DropdownMenu-B9eUWp_X.js} +23 -41
  31. package/dist/{DropdownMenu-D_KdcZCL.js → DropdownMenu-DJK_xIUd.js} +3 -5
  32. package/dist/Field/index.d.ts +1 -1
  33. package/dist/FileInput/index.d.ts +1 -1
  34. package/dist/HoverCard/index.d.ts +1 -1
  35. package/dist/HoverCard/index.js +1 -1
  36. package/dist/{HoverCard-CLcbBLBN.js → HoverCard-3S3axq-o.js} +2 -39
  37. package/dist/InfoTip/index.d.ts +1 -1
  38. package/dist/InputGroup/index.d.ts +1 -1
  39. package/dist/Link/index.d.ts +1 -1
  40. package/dist/List/index.d.ts +1 -1
  41. package/dist/MoreMenu/index.d.ts +1 -1
  42. package/dist/MoreMenu/index.js +1 -1
  43. package/dist/{MoreMenu-1lxF-JY5.js → MoreMenu-DaLb4bgr.js} +1 -24
  44. package/dist/MultiSelector/index.d.ts +1 -1
  45. package/dist/NavMenu/index.js +1 -1
  46. package/dist/{NavMenu-C5BgRNpG.js → NavMenu-ChlWdHfi.js} +1 -1
  47. package/dist/NumberInput/index.d.ts +1 -1
  48. package/dist/OverflowList/index.d.ts +1 -1
  49. package/dist/Overlay/index.d.ts +1 -1
  50. package/dist/Pagination/index.d.ts +1 -1
  51. package/dist/Popover/index.d.ts +1 -1
  52. package/dist/PowerSearch/index.d.ts +1 -1
  53. package/dist/ProgressBar/index.d.ts +1 -1
  54. package/dist/Radio/index.d.ts +1 -1
  55. package/dist/RadioList/index.d.ts +1 -1
  56. package/dist/Resizable/index.d.ts +1 -1
  57. package/dist/ScrollableArea/index.d.ts +1 -1
  58. package/dist/SegmentedControl/index.d.ts +1 -1
  59. package/dist/SelectableCard/index.d.ts +1 -1
  60. package/dist/Selector/index.d.ts +1 -1
  61. package/dist/SideNav/index.d.ts +1 -1
  62. package/dist/Stack/index.d.ts +1 -1
  63. package/dist/Stepper/index.d.ts +1 -1
  64. package/dist/Switch/index.d.ts +1 -1
  65. package/dist/TabList/index.d.ts +1 -1
  66. package/dist/Table/index.d.ts +1 -1
  67. package/dist/TextArea/index.d.ts +1 -1
  68. package/dist/TextInput/index.d.ts +1 -1
  69. package/dist/TimeInput/index.d.ts +1 -1
  70. package/dist/Timestamp/index.d.ts +1 -1
  71. package/dist/Timestamp/index.js +1 -1
  72. package/dist/{Timestamp-B7H0KScU.js → Timestamp-DWnbOvnI.js} +1 -1
  73. package/dist/ToggleButton/index.d.ts +1 -1
  74. package/dist/Token/index.d.ts +1 -1
  75. package/dist/Tokenizer/index.d.ts +1 -1
  76. package/dist/Toolbar/index.d.ts +1 -1
  77. package/dist/Tooltip/index.d.ts +1 -1
  78. package/dist/TopNav/index.d.ts +1 -1
  79. package/dist/TreeList/index.d.ts +1 -1
  80. package/dist/TreeList/index.js +1 -1
  81. package/dist/{TreeList-DeknLfbQ.js → TreeList-CRMLcaRx.js} +11 -5
  82. package/dist/Typeahead/index.d.ts +1 -1
  83. package/dist/composables/index.js +3 -2
  84. package/dist/{composables-CF4EnyHW.js → composables-JBLeessI.js} +1 -145
  85. package/dist/{index-BgT6mH3U.d.ts → index-BB9acgK8.d.ts} +1 -1
  86. package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
  87. package/dist/{index-CfPGC9aW.d.ts → index-BMCjAlq6.d.ts} +1 -1
  88. package/dist/{index-C1C7wOAU.d.ts → index-BM_ecKyA.d.ts} +11 -11
  89. package/dist/{index-DTfA4uE3.d.ts → index-BSCGAS9f.d.ts} +3 -3
  90. package/dist/{index-CsxZ8Jr0.d.ts → index-BWzEt0gT.d.ts} +3 -3
  91. package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
  92. package/dist/{index-O_KX_p13.d.ts → index-Bh81JoCO.d.ts} +11 -11
  93. package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
  94. package/dist/{index-CEjvYAUZ.d.ts → index-BvWBeoa8.d.ts} +1 -1
  95. package/dist/{index-GmoeIuhl.d.ts → index-Byan7Dad.d.ts} +1 -1
  96. package/dist/{index-dWlCpnua.d.ts → index-C5e2rZML.d.ts} +2 -2
  97. package/dist/{index-5WZNQzWs.d.ts → index-CTmPclix.d.ts} +9 -9
  98. package/dist/{index-B449gOMC.d.ts → index-Cj3oYBbW.d.ts} +1 -1
  99. package/dist/{index-6kd7pher.d.ts → index-CtFkEity.d.ts} +1 -1
  100. package/dist/{index-C8wfe0Mr.d.ts → index-D05JGsT3.d.ts} +1 -1
  101. package/dist/{index-B-3EGjfQ.d.ts → index-D1ncEgaS.d.ts} +1 -1
  102. package/dist/{index-BxWCX2pJ.d.ts → index-DFjI9t5J.d.ts} +1 -1
  103. package/dist/{index-CM2L3SUw.d.ts → index-DItIx1wC.d.ts} +4 -4
  104. package/dist/{index-Bnj1hZmL.d.ts → index-DPH5yoAr.d.ts} +1 -1
  105. package/dist/{index-CuTGi_CF.d.ts → index-DcCW_2qu.d.ts} +76 -76
  106. package/dist/{index-Cun6cXGP.d.ts → index-DnskskrO.d.ts} +3 -3
  107. package/dist/{index-Dg0JsBpI.d.ts → index-DoSTYXsP.d.ts} +2 -2
  108. package/dist/{index-DZKv1WNB.d.ts → index-Dsab_-sG.d.ts} +1 -1
  109. package/dist/{index-PsawGBwC.d.ts → index-DzuyarZi.d.ts} +4 -4
  110. package/dist/{index-DneQgJfI.d.ts → index-O9y23OPJ.d.ts} +1 -1
  111. package/dist/{index-MEix_m1o.d.ts → index-R9mtTNPl.d.ts} +3 -3
  112. package/dist/{index-CdvmnNMH.d.ts → index-Xc3q9f84.d.ts} +2 -2
  113. package/dist/{index-Dy746dfn.d.ts → index-unAZVFGz.d.ts} +1 -1
  114. package/dist/index.d.ts +30 -30
  115. package/dist/index.js +13 -12
  116. package/dist/menuActivation-BqiaK6ot.js +27 -0
  117. package/dist/typeaheadMatch-Cl-oxKFt.js +78 -0
  118. package/dist/useTouchTrigger-GGd85Obb.js +146 -0
  119. package/dist/{useTypeahead-DXnNlISe.js → useTypeahead-DSMObTtg.js} +10 -10
  120. package/package.json +1 -1
  121. package/dist/{index-J6YRJ7Ul.d.ts → index-BqhgeAT4.d.ts} +1 -1
@@ -1,4 +1,3 @@
1
- import { r as trackInteractionModality, t as getInteractionModality } from "./interactionModality-ACpTMhak.js";
2
1
  import { t as useMediaQuery } from "./useMediaQuery-GMmgp28-.js";
3
2
  import { o as useComponentMessages } from "./context-B8IEFCDR.js";
4
3
  import { t as _sfc_main$1 } from "./Kbd-D4JPY4VI.js";
@@ -1186,147 +1185,4 @@ function useStreamingText(targetText, isStreaming = false, options) {
1186
1185
  });
1187
1186
  }
1188
1187
  //#endregion
1189
- //#region src/composables/useTouchTrigger.ts
1190
- /**
1191
- * 「按下去」算作点击的指针类型。笔也在里面,但它只在落笔时算:
1192
- * 笔悬停在屏幕上方时是悬停,和鼠标一样。
1193
- */
1194
- const TOUCH_POINTER_TYPES = /* @__PURE__ */ new Set(["touch", "pen"]);
1195
- /**
1196
- * 表示「激活它会做事」的 ARIA role。显式 role 优先于标签名:
1197
- * `<button role="presentation">` 只是布景,`<span role="button">` 才是真控件。
1198
- */
1199
- const ACTION_ROLES = /* @__PURE__ */ new Set([
1200
- "button",
1201
- "checkbox",
1202
- "combobox",
1203
- "link",
1204
- "menuitem",
1205
- "menuitemcheckbox",
1206
- "menuitemradio",
1207
- "option",
1208
- "radio",
1209
- "searchbox",
1210
- "slider",
1211
- "spinbutton",
1212
- "switch",
1213
- "tab",
1214
- "textbox"
1215
- ]);
1216
- /**
1217
- * 激活这个元素是不是「做了别的事」,而不是「显示浮层」。
1218
- *
1219
- * 比「可聚焦」窄是有意的:纯文字 Tooltip 的触发器带 `tabindex=0`,
1220
- * 键盘用户要能聚焦它读提示,但它本身没有动作。
1221
- *
1222
- * 返回 true 只决定「浮层不开」,那一下点击本身不会被吞掉:这里不调
1223
- * `preventDefault`,也不调 `stopPropagation`。
1224
- */
1225
- function isActionTrigger(element) {
1226
- const role = element.getAttribute("role");
1227
- if (role != null && role !== "") return ACTION_ROLES.has(role);
1228
- switch (element.tagName) {
1229
- case "BUTTON":
1230
- case "INPUT":
1231
- case "LABEL":
1232
- case "SELECT":
1233
- case "SUMMARY":
1234
- case "TEXTAREA": return true;
1235
- case "A":
1236
- case "AREA": return element.hasAttribute("href");
1237
- default: return isEditable(element);
1238
- }
1239
- }
1240
- function isEditable(element) {
1241
- if (element.isContentEditable === true) return true;
1242
- const attribute = element.getAttribute("contenteditable");
1243
- return attribute != null && attribute !== "false";
1244
- }
1245
- /**
1246
- * 悬停类浮层(Tooltip、HoverCard)共用的触屏行为。
1247
- *
1248
- * 触屏上表达不了「悬停」:点一下会合成 `mouseenter`,不处理的悬停浮层要么
1249
- * 每次点都弹出来、又没有东西能关掉它,要么把用户点控件的这一下吃掉。
1250
- */
1251
- function useTouchTrigger(options) {
1252
- trackInteractionModality();
1253
- const isTouchPointer = ref(false);
1254
- let isOpenNow = toValue(options.isOpen);
1255
- /**
1256
- * 这一层是不是被「点一下」打开的。只有点开的浮层才欠用户一次「点外面关闭」:
1257
- * 悬停打开的自己会随指针离开关掉,受控打开的不是我们该关的。
1258
- */
1259
- let isTapOpen = false;
1260
- let outsideListener = null;
1261
- watch(() => toValue(options.isOpen), (open) => {
1262
- if (isOpenNow && !open) disarmOutsideDismiss();
1263
- isOpenNow = open;
1264
- }, { flush: "sync" });
1265
- function disarmOutsideDismiss() {
1266
- isTapOpen = false;
1267
- if (outsideListener == null) return;
1268
- document.removeEventListener("pointerdown", outsideListener, true);
1269
- outsideListener = null;
1270
- }
1271
- /**
1272
- * 装「点外面关闭」。用捕获阶段,触发器自己 stopPropagation 也拦不住,
1273
- * 免得留一个关不掉的浮层。打开它的那一次按压在 document 捕获阶段已经走过了,
1274
- * 所以这个监听看不到它。
1275
- */
1276
- function armOutsideDismiss() {
1277
- isTapOpen = true;
1278
- if (outsideListener != null) return;
1279
- outsideListener = (event) => {
1280
- const target = event.target;
1281
- if (target != null) {
1282
- if (options.triggerRef.value?.contains(target) === true) return;
1283
- if (document.getElementById(toValue(options.layerId))?.contains(target) === true) return;
1284
- }
1285
- disarmOutsideDismiss();
1286
- options.hide();
1287
- };
1288
- document.addEventListener("pointerdown", outsideListener, true);
1289
- }
1290
- onScopeDispose(disarmOutsideDismiss);
1291
- function isEnabledNow() {
1292
- return toValue(options.isEnabled) ?? true;
1293
- }
1294
- function isControlledNow() {
1295
- return toValue(options.isControlled) === true;
1296
- }
1297
- function isTouchInteraction() {
1298
- return isTouchPointer.value && getInteractionModality() === "pointer";
1299
- }
1300
- function handlePointerEnter(event) {
1301
- isTouchPointer.value = event.pointerType === "touch";
1302
- }
1303
- function handlePointerDown(event) {
1304
- const isTouch = TOUCH_POINTER_TYPES.has(event.pointerType);
1305
- isTouchPointer.value = isTouch;
1306
- if (!isTouch || isControlledNow()) return false;
1307
- const trigger = options.triggerRef.value;
1308
- const touchTrigger = toValue(options.touchTrigger);
1309
- if ((touchTrigger === "auto" ? trigger != null && isActionTrigger(trigger) ? "none" : "tap" : touchTrigger) === "none" || !isEnabledNow()) {
1310
- disarmOutsideDismiss();
1311
- options.hide();
1312
- return true;
1313
- }
1314
- if (isOpenNow || isTapOpen) {
1315
- disarmOutsideDismiss();
1316
- options.hide();
1317
- return true;
1318
- }
1319
- armOutsideDismiss();
1320
- options.show();
1321
- return true;
1322
- }
1323
- return {
1324
- isTouchPointer,
1325
- isTouchInteraction,
1326
- handlePointerEnter,
1327
- handlePointerDown,
1328
- clearTapOpen: disarmOutsideDismiss
1329
- };
1330
- }
1331
- //#endregion
1332
- export { useSnapPaging as a, imageModeFromPixels as c, useGridRovingFocus as d, useGridFocus as f, useContainerReveal as h, useStreamingText as i, perceptualLightness as l, useControllableState as m, useTouchTrigger as n, useKeyboardHint as o, useEntryAnimation as p, snapToGraphemeBoundary as r, useIndicatorFocusRing as s, isActionTrigger as t, useImageMode as u };
1188
+ export { useIndicatorFocusRing as a, useImageMode as c, useEntryAnimation as d, useControllableState as f, useKeyboardHint as i, useGridRovingFocus as l, useStreamingText as n, imageModeFromPixels as o, useContainerReveal as p, useSnapPaging as r, perceptualLightness as s, snapToGraphemeBoundary as t, useGridFocus as u };
@@ -18,8 +18,8 @@ type __VLS_Slots$2 = {
18
18
  };
19
19
  declare const __VLS_base$2: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {
20
20
  as: StackElement;
21
- wrap: StackWrap;
22
21
  direction: StackDirection;
22
+ wrap: StackWrap;
23
23
  isScrollable: boolean;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
@@ -154,11 +154,11 @@ type __VLS_ModelProps = {
154
154
  };
155
155
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
156
156
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
157
- "update:value": (value: CollapsibleGroupValue | undefined) => any;
158
157
  change: (value: CollapsibleGroupValue) => any;
158
+ "update:value": (value: CollapsibleGroupValue | undefined) => any;
159
159
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
160
- "onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
161
160
  onChange?: ((value: CollapsibleGroupValue) => any) | undefined;
161
+ "onUpdate:value"?: ((value: CollapsibleGroupValue | undefined) => any) | undefined;
162
162
  }>, {
163
163
  type: CollapsibleGroupType;
164
164
  hasDividers: boolean;
@@ -36,8 +36,8 @@ declare const __VLS_base: import("vue").DefineComponent<ResizeHandleProps, {
36
36
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
37
37
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ResizeHandleProps> & Readonly<{}>, {
38
38
  isDisabled: boolean;
39
- position: ResizePosition;
40
39
  direction: ResizeDirection;
40
+ position: ResizePosition;
41
41
  isReversed: boolean;
42
42
  hasDivider: boolean;
43
43
  isAlwaysVisible: boolean;
@@ -160,34 +160,34 @@ 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;
164
163
  change: (value: string | number | null) => any;
165
164
  click: (event: MouseEvent) => any;
166
- focus: (event: FocusEvent) => any;
167
165
  keydown: (event: KeyboardEvent) => any;
168
166
  "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;
171
170
  onChange?: ((value: string | number | null) => any) | undefined;
172
171
  onClick?: ((event: MouseEvent) => any) | undefined;
173
- onFocus?: ((event: FocusEvent) => any) | undefined;
174
172
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
175
173
  "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
- isLoading: boolean;
181
- variant: SelectorVariant;
182
177
  modelValue: string | number | null;
183
178
  isLabelHidden: boolean;
179
+ isOptional: boolean;
184
180
  isRequired: boolean;
181
+ isLoading: boolean;
182
+ status: SelectorStatusInput;
185
183
  statusVariant: SelectorStatusVariant;
184
+ variant: SelectorVariant;
185
+ indicatorPosition: SelectorIndicatorPosition;
186
186
  disabled: boolean;
187
- presentation: SelectorPresentation;
188
- searchable: boolean;
189
187
  clearable: boolean;
188
+ presentation: SelectorPresentation;
190
189
  isReadOnly: boolean;
190
+ searchable: boolean;
191
191
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
192
192
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
193
193
  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;
70
68
  isOpen: boolean;
71
69
  placement: TooltipPlacement;
72
70
  alignment: TooltipAlignment;
71
+ anchor: HTMLElement | null;
72
+ content: string;
73
73
  isDefaultOpen: boolean;
74
- isEnabled: boolean;
75
74
  delay: number;
76
75
  hideDelay: number;
77
76
  focusTrigger: TooltipFocusTrigger;
78
77
  touchTrigger: TooltipTouchTrigger;
78
+ isEnabled: boolean;
79
79
  hasHoverIndication: boolean | "auto";
80
80
  anchorsOnSelf: boolean;
81
81
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -8,14 +8,14 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
8
8
  }, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
9
9
  onClick?: ((event: MouseEvent) => any) | undefined;
10
10
  }>, {
11
- type: "button" | "submit" | "reset";
11
+ type: "button" | "reset" | "submit";
12
12
  isDisabled: boolean;
13
- elevation: ButtonElevation;
14
13
  isLoading: boolean;
14
+ variant: ButtonVariant;
15
+ elevation: ButtonElevation;
15
16
  isIconOnly: boolean;
16
17
  isInterruptible: boolean;
17
18
  loadingLabel: string;
18
- variant: ButtonVariant;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
@@ -111,8 +111,8 @@ type __VLS_Slots = CardSlots;
111
111
  declare const __VLS_base: import("vue").DefineComponent<CardProps, {
112
112
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
113
113
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {
114
- elevation: CardElevation;
115
114
  variant: keyof CardVariantMap;
115
+ elevation: CardElevation;
116
116
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
117
117
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
118
118
  declare const _default: typeof __VLS_export;
@@ -172,36 +172,36 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
172
172
  focus: () => void;
173
173
  blur: () => void | undefined;
174
174
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
175
- search: (query: string) => any;
176
175
  change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
177
176
  click: (event: MouseEvent) => any;
178
- focus: (event: FocusEvent) => any;
179
177
  keydown: (event: KeyboardEvent) => any;
180
178
  openChange: (isOpen: boolean) => any;
181
179
  "update:modelValue": (value: (string | number)[]) => any;
180
+ search: (query: string) => any;
181
+ focus: (event: FocusEvent) => any;
182
182
  }, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
183
- onSearch?: ((query: string) => any) | undefined;
184
183
  onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
185
184
  onClick?: ((event: MouseEvent) => any) | undefined;
186
- onFocus?: ((event: FocusEvent) => any) | undefined;
187
185
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
188
186
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
189
187
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
188
+ onSearch?: ((query: string) => any) | undefined;
189
+ onFocus?: ((event: FocusEvent) => any) | undefined;
190
190
  }>, {
191
191
  required: boolean;
192
- status: MultiSelectorStatus;
193
- isLoading: boolean;
194
- variant: MultiSelectorVariant;
195
192
  modelValue: readonly (string | number)[];
193
+ isLoading: boolean;
194
+ status: MultiSelectorStatus;
196
195
  statusVariant: MultiSelectorStatusVariant;
196
+ variant: MultiSelectorVariant;
197
+ labelHidden: boolean;
197
198
  disabled: boolean;
198
- presentation: MultiSelectorPresentation;
199
- searchable: boolean;
200
199
  clearable: boolean;
201
- isReadOnly: boolean;
202
- labelHidden: boolean;
203
200
  hasCreate: boolean;
204
201
  optional: boolean;
202
+ presentation: MultiSelectorPresentation;
203
+ isReadOnly: boolean;
204
+ searchable: boolean;
205
205
  selectAll: boolean;
206
206
  triggerDisplay: MultiSelectorTriggerDisplay;
207
207
  maxBadges: number;
@@ -175,8 +175,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps, {
175
175
  }>, {
176
176
  position: OverlayPosition;
177
177
  align: OverlayAlign;
178
- showOn: OverlayShowOn;
179
178
  scrim: OverlayScrimMode;
179
+ showOn: OverlayShowOn;
180
180
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
181
181
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
182
182
  declare const _default$1: typeof __VLS_export$1;
@@ -192,8 +192,8 @@ declare const __VLS_base: import("vue").DefineComponent<OverlayScrimProps, {}, {
192
192
  isOpen: boolean;
193
193
  position: OverlayPosition;
194
194
  align: OverlayAlign;
195
- showOn: OverlayShowOn;
196
195
  scrim: OverlayScrimMode;
196
+ showOn: OverlayShowOn;
197
197
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
198
198
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
199
199
  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
- isOptional: boolean;
59
58
  isLabelHidden: boolean;
59
+ isOptional: boolean;
60
60
  isRequired: boolean;
61
61
  disabled: boolean;
62
62
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -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: "tooltip" | FieldStatusVariant;
8
+ statusVariant: FieldStatusVariant | "tooltip";
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;
@@ -154,11 +154,11 @@ type __VLS_Slots = {
154
154
  default: () => unknown;
155
155
  };
156
156
  declare const __VLS_base: import("vue").DefineComponent<TabListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
157
- "update:value": (value: string) => any;
158
157
  change: (value: string) => any;
158
+ "update:value": (value: string) => any;
159
159
  }, string, import("vue").PublicProps, Readonly<TabListProps> & Readonly<{
160
- "onUpdate:value"?: ((value: string) => any) | undefined;
161
160
  onChange?: ((value: string) => any) | undefined;
161
+ "onUpdate:value"?: ((value: string) => any) | undefined;
162
162
  }>, {
163
163
  layout: TabListLayout;
164
164
  isFullBleed: boolean;
@@ -535,18 +535,18 @@ type __VLS_Slots$11 = ChatComposerSlots;
535
535
  declare const __VLS_base$11: import("vue").DefineComponent<ChatComposerProps, {
536
536
  element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
537
537
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
538
- submit: (value: string) => any;
539
538
  change: (value: string) => any;
540
- stop: () => any;
541
539
  "update:modelValue": (value: string) => any;
540
+ stop: () => any;
541
+ submit: (value: string) => any;
542
542
  }, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
543
- onSubmit?: ((value: string) => any) | undefined;
544
543
  onChange?: ((value: string) => any) | undefined;
545
- onStop?: (() => any) | undefined;
546
544
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
545
+ onStop?: (() => any) | undefined;
546
+ onSubmit?: ((value: string) => any) | undefined;
547
547
  }>, {
548
- density: ChatDensity;
549
548
  elevation: ChatComposerElevation;
549
+ density: ChatDensity;
550
550
  statusPosition: "top" | "bottom";
551
551
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
552
552
  declare const __VLS_export$17: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
@@ -583,16 +583,16 @@ type __VLS_WithSlots$10<T, S> = T & {
583
583
  //#endregion
584
584
  //#region src/Chat/ChatComposerInput.vue.d.ts
585
585
  declare const __VLS_export$15: import("vue").DefineComponent<ChatComposerInputProps, ChatComposerInputHandle, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
586
- submit: (value: string) => any;
587
586
  change: (value: string) => any;
588
587
  keydown: (event: KeyboardEvent) => any;
589
588
  "update:modelValue": (value: string) => any;
589
+ submit: (value: string) => any;
590
590
  files: (files: File[]) => any;
591
591
  }, string, import("vue").PublicProps, Readonly<ChatComposerInputProps> & Readonly<{
592
- onSubmit?: ((value: string) => any) | undefined;
593
592
  onChange?: ((value: string) => any) | undefined;
594
593
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
595
594
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
595
+ onSubmit?: ((value: string) => any) | undefined;
596
596
  onFiles?: ((files: File[]) => any) | undefined;
597
597
  }>, {
598
598
  debounceMs: number;
@@ -722,12 +722,12 @@ type __VLS_WithSlots$4<T, S> = T & {
722
722
  //#region src/Chat/ChatSendButton.vue.d.ts
723
723
  type __VLS_Slots$3 = ChatSendButtonSlots;
724
724
  declare const __VLS_base$3: import("vue").DefineComponent<ChatSendButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
725
- stop: () => any;
726
725
  click: (event: MouseEvent) => any;
726
+ stop: () => any;
727
727
  send: () => any;
728
728
  }, string, import("vue").PublicProps, Readonly<ChatSendButtonProps> & Readonly<{
729
- onStop?: (() => any) | undefined;
730
729
  onClick?: ((event: MouseEvent) => any) | undefined;
730
+ onStop?: (() => any) | undefined;
731
731
  onSend?: (() => any) | undefined;
732
732
  }>, {
733
733
  size: "sm" | "md";
@@ -108,10 +108,10 @@ 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;
112
111
  isDisabled: boolean;
113
112
  size: PaginationSize;
114
113
  variant: PaginationVariant;
114
+ step: number;
115
115
  disabled: boolean;
116
116
  page: number;
117
117
  pageSize: number;
@@ -141,8 +141,8 @@ type __VLS_Slots = SegmentedControlItemSlots;
141
141
  declare const __VLS_base: import("vue").DefineComponent<SegmentedControlItemProps, {
142
142
  element: import("vue").ComputedRef<HTMLButtonElement | null>;
143
143
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SegmentedControlItemProps> & Readonly<{}>, {
144
- isDisabled: boolean;
145
144
  isLabelHidden: boolean;
145
+ isDisabled: boolean;
146
146
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
147
147
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
148
148
  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
- orientation: DividerOrientation;
25
24
  variant: DividerVariant;
25
+ orientation: DividerOrientation;
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>;
@@ -84,8 +84,8 @@ interface StepSlots {
84
84
  //#region src/Stepper/Step.vue.d.ts
85
85
  type __VLS_Slots$1 = StepSlots;
86
86
  declare const __VLS_base$1: import("vue").DefineComponent<StepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StepProps> & Readonly<{}>, {
87
- isDisabled: boolean;
88
87
  isOptional: boolean;
88
+ isDisabled: boolean;
89
89
  indicator: StepIndicator;
90
90
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
@@ -139,8 +139,8 @@ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$1, {
139
139
  padding: BottomSheetPadding;
140
140
  height: string | number;
141
141
  isInline: boolean;
142
- purpose: BottomSheetPurpose;
143
142
  snapPoints: readonly BottomSheetSnapPoint[];
143
+ purpose: BottomSheetPurpose;
144
144
  hasScrim: boolean;
145
145
  finalFocusRef: import("vue").MaybeRef<HTMLElement | null>;
146
146
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -150,10 +150,10 @@ interface TypeaheadSlots<T extends SearchableItem = SearchableItem> {
150
150
  //#region src/Typeahead/BaseTypeahead.vue.d.ts
151
151
  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<{
152
152
  props: import("vue").PublicProps & __VLS_PrettifyLocal$1<BaseTypeaheadProps<T> & {
153
- onSearch?: ((query: string) => any) | undefined;
154
153
  onChange?: ((value: T | null) => any) | undefined;
155
154
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
156
155
  "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
156
+ onSearch?: ((query: string) => any) | undefined;
157
157
  onChangeQuery?: ((query: string) => any) | undefined;
158
158
  }> & (typeof globalThis extends {
159
159
  __VLS_PROPS_FALLBACK: infer P;
@@ -164,7 +164,7 @@ declare const __VLS_export$2: <T extends SearchableItem>(__VLS_props: NonNullabl
164
164
  }>) => void;
165
165
  attrs: any;
166
166
  slots: TypeaheadSlots<T>;
167
- 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);
167
+ emit: ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "changeQuery", query: string) => void);
168
168
  }>) => import("vue").VNode & {
169
169
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
170
170
  };
@@ -174,10 +174,10 @@ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [
174
174
  //#region src/Typeahead/Typeahead.vue.d.ts
175
175
  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<{
176
176
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TypeaheadProps<T> & {
177
- onSearch?: ((query: string) => any) | undefined;
178
177
  onChange?: ((value: T | null) => any) | undefined;
179
178
  onOpenChange?: ((isOpen: boolean) => any) | undefined;
180
179
  "onUpdate:modelValue"?: ((value: T | null) => any) | undefined;
180
+ onSearch?: ((query: string) => any) | undefined;
181
181
  onChangeQuery?: ((query: string) => any) | undefined;
182
182
  }> & (typeof globalThis extends {
183
183
  __VLS_PROPS_FALLBACK: infer P;
@@ -188,7 +188,7 @@ declare const __VLS_export$1: <T extends SearchableItem>(__VLS_props: NonNullabl
188
188
  }>) => void;
189
189
  attrs: any;
190
190
  slots: TypeaheadSlots<T>;
191
- 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);
191
+ emit: ((evt: "change", value: T | null) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T | null) => void) & ((evt: "search", query: string) => void) & ((evt: "changeQuery", query: string) => void);
192
192
  }>) => import("vue").VNode & {
193
193
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
194
194
  };
@@ -403,11 +403,11 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
403
403
  }>, {
404
404
  status: PowerSearchStatus;
405
405
  statusVariant: PowerSearchStatusVariant;
406
+ labelHidden: boolean;
406
407
  disabled: boolean;
407
408
  clearable: boolean;
408
409
  hasClear: boolean;
409
410
  overflow: PowerSearchOverflow;
410
- labelHidden: boolean;
411
411
  readOnly: boolean;
412
412
  maxTokenLength: number;
413
413
  maxSearchResults: number;