@astryx-vue/core 0.9.1 → 0.9.2
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.
- package/README.md +8 -1
- package/dist/AppShell/index.d.ts +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-CrqG4fGx.js → Breadcrumbs-Dxjz2Dxn.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Bl_Wr2lK.js → Chat-Bz9KRyug.js} +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Code/index.d.ts +1 -1
- package/dist/Collapsible/index.d.ts +1 -1
- package/dist/CommandPalette/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-DN_nTBgW.js → ContextMenu-6AnjpPJg.js} +119 -142
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-B758ASzK.js → DropdownMenu-B9eUWp_X.js} +23 -41
- package/dist/{DropdownMenu-D_KdcZCL.js → DropdownMenu-DJK_xIUd.js} +3 -5
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +1 -1
- package/dist/{HoverCard-CLcbBLBN.js → HoverCard-3S3axq-o.js} +2 -39
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-1lxF-JY5.js → MoreMenu-DaLb4bgr.js} +1 -24
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +1 -1
- package/dist/{NavMenu-C5BgRNpG.js → NavMenu-ChlWdHfi.js} +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/TabList/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-B7H0KScU.js → Timestamp-DWnbOvnI.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-DeknLfbQ.js → TreeList-CRMLcaRx.js} +11 -5
- package/dist/composables/index.js +3 -2
- package/dist/{composables-CF4EnyHW.js → composables-JBLeessI.js} +1 -145
- package/dist/{index-Cun6cXGP.d.ts → index--tm6L1ot.d.ts} +1 -1
- package/dist/{index-O_KX_p13.d.ts → index-1dm_6bEx.d.ts} +4 -4
- package/dist/{index-TXcNH86P.d.ts → index-B1eCxBCY.d.ts} +1 -1
- package/dist/{index-CsxZ8Jr0.d.ts → index-B8K2sDmO.d.ts} +2 -2
- package/dist/{index-MEix_m1o.d.ts → index-BAC56Bhr.d.ts} +1 -1
- package/dist/{index-wY6dKz6c.d.ts → index-BEZ4ezJk.d.ts} +2 -2
- package/dist/{index-BxWCX2pJ.d.ts → index-BOCb89V9.d.ts} +1 -1
- package/dist/{index-DZKv1WNB.d.ts → index-BZchpRgm.d.ts} +2 -2
- package/dist/{index-CTjkJP4x.d.ts → index-Bgk1Rj2A.d.ts} +1 -1
- package/dist/{index-PsawGBwC.d.ts → index-Bn-v89Vt.d.ts} +3 -3
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-DTfA4uE3.d.ts → index-BzZC2Y7c.d.ts} +1 -1
- package/dist/{index-Bnj1hZmL.d.ts → index-CuDsVeop.d.ts} +1 -1
- package/dist/{index-5WZNQzWs.d.ts → index-DG7FmGCE.d.ts} +4 -4
- package/dist/{index-B449gOMC.d.ts → index-DMcf0QeR.d.ts} +1 -1
- package/dist/{index-CuTGi_CF.d.ts → index-DTQSrLdD.d.ts} +44 -44
- package/dist/{index-dWlCpnua.d.ts → index-Dlq0cFK-.d.ts} +3 -3
- package/dist/{index-B3yTdknp.d.ts → index-KcCNhdAw.d.ts} +1 -1
- package/dist/{index-C1C7wOAU.d.ts → index-PRGBAtll.d.ts} +4 -4
- package/dist/{index-CdvmnNMH.d.ts → index-YKCx03zD.d.ts} +1 -1
- package/dist/{index-Dg0JsBpI.d.ts → index-o00Upzjp.d.ts} +1 -1
- package/dist/{index-CLHJybQY.d.ts → index-ul1hNxih.d.ts} +1 -1
- package/dist/{index-Dy746dfn.d.ts → index-unAZVFGz.d.ts} +1 -1
- package/dist/index.d.ts +23 -23
- package/dist/index.js +13 -12
- package/dist/menuActivation-BqiaK6ot.js +27 -0
- package/dist/typeaheadMatch-Cl-oxKFt.js +78 -0
- package/dist/useTouchTrigger-GGd85Obb.js +146 -0
- package/dist/{useTypeahead-DXnNlISe.js → useTypeahead-DSMObTtg.js} +10 -10
- package/package.json +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
|
-
|
|
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 };
|
|
@@ -89,11 +89,11 @@ declare const __VLS_base: import("vue").DefineComponent<HoverCardProps, {
|
|
|
89
89
|
placement: HoverCardPlacement;
|
|
90
90
|
alignment: HoverCardAlignment;
|
|
91
91
|
isDefaultOpen: boolean;
|
|
92
|
-
isEnabled: boolean;
|
|
93
92
|
delay: number;
|
|
94
93
|
hideDelay: number;
|
|
95
94
|
focusTrigger: HoverCardFocusTrigger;
|
|
96
95
|
touchTrigger: HoverCardTouchTrigger;
|
|
96
|
+
isEnabled: boolean;
|
|
97
97
|
hasHoverIndication: HoverCardHoverIndication;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
99
99
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -175,30 +175,30 @@ declare const __VLS_base: import("vue").DefineComponent<MultiSelectorProps, {
|
|
|
175
175
|
search: (query: string) => any;
|
|
176
176
|
change: (value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any;
|
|
177
177
|
click: (event: MouseEvent) => any;
|
|
178
|
-
focus: (event: FocusEvent) => any;
|
|
179
178
|
keydown: (event: KeyboardEvent) => any;
|
|
180
179
|
openChange: (isOpen: boolean) => any;
|
|
181
180
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
181
|
+
focus: (event: FocusEvent) => any;
|
|
182
182
|
}, string, import("vue").PublicProps, Readonly<MultiSelectorProps> & Readonly<{
|
|
183
183
|
onSearch?: ((query: string) => any) | undefined;
|
|
184
184
|
onChange?: ((value: (string | number)[], change?: MultiSelectorCreateChange | undefined) => any) | undefined;
|
|
185
185
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
186
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
187
186
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
188
187
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
189
188
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
189
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
required: boolean;
|
|
192
192
|
status: MultiSelectorStatus;
|
|
193
|
-
isLoading: boolean;
|
|
194
193
|
variant: MultiSelectorVariant;
|
|
194
|
+
isLoading: boolean;
|
|
195
195
|
modelValue: readonly (string | number)[];
|
|
196
196
|
statusVariant: MultiSelectorStatusVariant;
|
|
197
|
+
isReadOnly: boolean;
|
|
197
198
|
disabled: boolean;
|
|
198
199
|
presentation: MultiSelectorPresentation;
|
|
199
200
|
searchable: boolean;
|
|
200
201
|
clearable: boolean;
|
|
201
|
-
isReadOnly: boolean;
|
|
202
202
|
labelHidden: boolean;
|
|
203
203
|
hasCreate: boolean;
|
|
204
204
|
optional: boolean;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
52
52
|
"onUpdate:mobileNavOpen"?: ((value: boolean) => any) | undefined;
|
|
53
53
|
onMobileNavOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
variant: AppShellVariant;
|
|
56
55
|
height: AppShellHeight;
|
|
56
|
+
variant: AppShellVariant;
|
|
57
57
|
mobileNav: false | AppShellMobileNav;
|
|
58
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
59
59
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,12 +10,12 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "submit" | "reset";
|
|
12
12
|
isDisabled: boolean;
|
|
13
|
+
variant: ButtonVariant;
|
|
13
14
|
elevation: ButtonElevation;
|
|
14
|
-
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
17
|
+
isLoading: boolean;
|
|
17
18
|
loadingLabel: string;
|
|
18
|
-
variant: ButtonVariant;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -17,8 +17,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
17
17
|
}>, {
|
|
18
18
|
label: string;
|
|
19
19
|
anchor: HTMLElement | null;
|
|
20
|
-
width: string | number;
|
|
21
20
|
padding: PopoverPadding;
|
|
21
|
+
width: string | number;
|
|
22
22
|
isOpen: boolean;
|
|
23
23
|
placement: LayerPlacement;
|
|
24
24
|
alignment: LayerAlignment;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -80,9 +80,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<DialogProps, {}, {}, {
|
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
|
|
81
81
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
|
-
variant: DialogVariant;
|
|
84
|
-
width: string | number;
|
|
85
83
|
padding: DialogPadding;
|
|
84
|
+
width: string | number;
|
|
85
|
+
variant: DialogVariant;
|
|
86
86
|
position: DialogPosition;
|
|
87
87
|
isInline: boolean;
|
|
88
88
|
purpose: DialogPurpose;
|
|
@@ -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;
|
|
@@ -102,10 +102,10 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
102
102
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
103
103
|
onSearch?: ((query: string) => any) | undefined;
|
|
104
104
|
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
105
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
106
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
107
105
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
108
106
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
107
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
108
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
109
109
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
110
110
|
}> & (typeof globalThis extends {
|
|
111
111
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
116
116
|
}>) => void;
|
|
117
117
|
attrs: any;
|
|
118
118
|
slots: TokenizerSlots<T>;
|
|
119
|
-
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "
|
|
119
|
+
emit: ((evt: "search", query: string) => void) & ((evt: "change", value: T[], change: TokenizerChange<T>) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "changeQuery", query: string) => void);
|
|
120
120
|
}>) => import("vue").VNode & {
|
|
121
121
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
122
122
|
};
|
|
@@ -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;
|
|
@@ -71,11 +71,11 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
|
|
|
71
71
|
placement: TooltipPlacement;
|
|
72
72
|
alignment: TooltipAlignment;
|
|
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>;
|
|
@@ -403,9 +403,9 @@ declare const __VLS_base: import("vue").DefineComponent<PowerSearchProps, {
|
|
|
403
403
|
}>, {
|
|
404
404
|
status: PowerSearchStatus;
|
|
405
405
|
statusVariant: PowerSearchStatusVariant;
|
|
406
|
+
hasClear: boolean;
|
|
406
407
|
disabled: boolean;
|
|
407
408
|
clearable: boolean;
|
|
408
|
-
hasClear: boolean;
|
|
409
409
|
overflow: PowerSearchOverflow;
|
|
410
410
|
labelHidden: boolean;
|
|
411
411
|
readOnly: boolean;
|
|
@@ -535,13 +535,13 @@ 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;
|
|
539
|
+
submit: (value: string) => any;
|
|
540
540
|
stop: () => any;
|
|
541
541
|
"update:modelValue": (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;
|
|
544
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
545
545
|
onStop?: (() => any) | undefined;
|
|
546
546
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
547
547
|
}>, {
|
|
@@ -583,14 +583,14 @@ 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;
|
|
587
|
+
submit: (value: string) => any;
|
|
588
588
|
keydown: (event: KeyboardEvent) => any;
|
|
589
589
|
"update:modelValue": (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;
|
|
593
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
594
594
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
595
595
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
596
596
|
onFiles?: ((files: File[]) => any) | undefined;
|
|
@@ -110,8 +110,8 @@ declare const __VLS_base: import("vue").DefineComponent<PaginationProps, {}, {},
|
|
|
110
110
|
}>, {
|
|
111
111
|
step: number;
|
|
112
112
|
isDisabled: boolean;
|
|
113
|
-
size: PaginationSize;
|
|
114
113
|
variant: PaginationVariant;
|
|
114
|
+
size: PaginationSize;
|
|
115
115
|
disabled: boolean;
|
|
116
116
|
page: number;
|
|
117
117
|
pageSize: number;
|