@astryx-vue/core 0.19.0 → 0.20.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.
- package/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-CNb0dkY9.js → AlertDialog-Dbg8L2oy.js} +1 -1
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-NvIT99xw.js → AppShell-zEXmJb1h.js} +116 -9
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-CCW58Kl3.js → BottomSheet-DNuzJPfQ.js} +2 -2
- package/dist/{BottomSheet-HQpcSkPH.js → BottomSheet-DV7bboru.js} +1 -1
- package/dist/Breadcrumbs/index.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +1 -1
- package/dist/{Breadcrumbs-DXzBkpkd.js → Breadcrumbs-yB6yZCuZ.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/Calendar/index.js +1 -1
- package/dist/{Calendar-DSRNuw3y.js → Calendar-ydp0vJdO.js} +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +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/Collapsible/index.js +1 -1
- package/dist/{Collapsible-ExzU7vC0.js → Collapsible-BG-u5nEt.js} +2 -1
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-CECjNvGB.js → CommandPalette-CV7t0ouM.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-Dmaag1wm.js → ComplexSelector-BOACo2vq.js} +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +1 -1
- package/dist/{ContextMenu-CujLDt4e.js → ContextMenu-_cj8wRB6.js} +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-s2H0orUW.js → DateInput-DrMqXWSj.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-Dn9I2PMM.js → DateRangeInput-BZuyhf-w.js} +19 -11
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BR_tdURg.js → DateTimeInput-DhB2gzx5.js} +3 -3
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-BQ5OBB1d.js → Dialog-B2pOTrnQ.js} +1 -1
- package/dist/{Dialog-DgdbRn2l.js → Dialog-CztWmbf8.js} +1 -1
- package/dist/{DialogHeader-D8234o9F.js → DialogHeader-5A5BUTTB.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-Dqus7kUc.js → Drawer-Dt6paoDZ.js} +2 -2
- package/dist/DropdownMenu/index.js +2 -2
- package/dist/{DropdownMenu-LQsXd-_V.js → DropdownMenu-CFX1k1Ib.js} +1 -1
- package/dist/{DropdownMenu-BC_zB9le.js → DropdownMenu-D8s058G5.js} +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/Lightbox/index.js +1 -1
- package/dist/{Lightbox-RN_f7zRw.js → Lightbox-D8kFIbPj.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/MobileNav/index.d.ts +1 -1
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DlQmYaBx.js → MobileNavToggle-CKEOroi0.js} +75 -32
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-BK6nZweN.js → MultiSelector-CkAhUYdn.js} +1 -1
- package/dist/{NavHeadingSurface-C17cbKn9.js → NavHeadingSurface-DZPa2px5.js} +19 -5
- package/dist/NavItem/index.d.ts +2 -2
- package/dist/NavItem/index.js +1 -1
- package/dist/{NavItem-BAe-tUG9.js → NavItem-CcbOJNnY.js} +18 -5
- package/dist/NavMenu/index.d.ts +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.js +1 -1
- package/dist/{Pagination-DFQNX_Mb.js → Pagination-C0oI5FRP.js} +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-CmAEizH-.js → Popover-Cl4gQQZq.js} +2 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-CDEn08Pe.js → PowerSearch-CPgbhvEL.js} +6 -6
- 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/Selector/index.js +1 -1
- package/dist/{Selector-Bo7qkt1P.js → Selector-CUTnAjq-.js} +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-CcZLUd7G.js → SideNav-5yLlEOdD.js} +511 -57
- 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/Table/index.js +1 -1
- package/dist/{Table-WukSceMV.js → Table-Eok91IcO.js} +8 -6
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-BM-rVFhC.js → TimeField-jfhGVEyI.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-CkZfhhAr.js → TimeInput-CvFcN4nl.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-CFkThrKq.js → TopNav-CSFUTuyI.js} +3 -3
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-ugSF9DWj.js → TreeList-B33huihx.js} +2 -1
- package/dist/{landing-Bs0aMIsR.js → batch-BJD6Bt-O.js} +42 -740
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.js +4 -4
- package/dist/{composables-BgfubKnk.js → composables-CDrwFX0l.js} +2 -19
- package/dist/context-Cj_zItu2.js +729 -0
- package/dist/edge-DIlkB7vS.js +164 -0
- package/dist/edgeRide-D0oC2JEB.js +499 -0
- package/dist/focusRegion-CmDg7_4b.js +81 -0
- package/dist/{handle-BPXdHbkr.js → handle-ChN2TMKH.js} +1 -1
- package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CryFtTT6.d.ts → index-BIQZa2BD.d.ts} +1 -1
- package/dist/{index-ZbNwGVkS.d.ts → index-BKnyTWPM.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-CEjvYAUZ.d.ts → index-BvWBeoa8.d.ts} +1 -1
- package/dist/{index-BeR-1LgF.d.ts → index-C5fbwY7Y.d.ts} +4 -3
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CyMStZq4.d.ts → index-CHLLk77c.d.ts} +6 -6
- package/dist/{index-BLnvQ4Oj.d.ts → index-DBu-H-vB.d.ts} +5 -1
- package/dist/{index-QnlWyUxN.d.ts → index-DE1genab.d.ts} +2 -2
- package/dist/{index-t27MvEzT.d.ts → index-DbfcTFO6.d.ts} +47 -43
- package/dist/{index-lmd9LZKB.d.ts → index-Djf0M7PH.d.ts} +1 -1
- package/dist/{index-9tZJgo0R.d.ts → index-DoSTYXsP.d.ts} +1 -1
- package/dist/{index-CH-xSiJz.d.ts → index-DtZUOyCy.d.ts} +2 -2
- package/dist/{index-CfXW4km8.d.ts → index-GgHVkJtB.d.ts} +1 -1
- package/dist/{index-BapQGST1.d.ts → index-Xhq1E7WZ.d.ts} +3 -3
- package/dist/{index-C1zwvxPH.d.ts → index-ZKBj_1nu.d.ts} +2 -1
- package/dist/{index-CULdl3Dg.d.ts → index-gxuXI7KD.d.ts} +3 -3
- package/dist/{index-dWlCpnua.d.ts → index-mK1ICsVg.d.ts} +1 -1
- package/dist/{index-C9OzEvE_.d.ts → index-mPBIdznc.d.ts} +5 -5
- package/dist/index.d.ts +22 -22
- package/dist/index.js +37 -37
- package/dist/landing-C7nc9JHm.js +104 -0
- package/dist/quietFinished-CKZXgsPM.js +19 -0
- package/dist/{types-BG23kC3S.d.ts → types-C2ZuV4jf.d.ts} +7 -1
- package/dist/{useDateRange-CIXoE_8k.js → useDateRange-D1Szw54e.js} +7 -3
- package/dist/{useFocusTrap-BUd-fvUH.js → useFocusTrap-DsYtRdmV.js} +2 -81
- package/dist/{useMonthGrid-fGHSSrFc.js → useMonthGrid-Bzvlstgc.js} +1 -1
- package/package.json +1 -1
- package/styles/date-range-input.css +19 -2
- package/styles/mobile-nav.css +4 -2
- package/styles/nav-item.css +3 -3
- package/styles/side-nav.css +36 -8
- package/dist/context-ZsDEkhSF.js +0 -24
- package/dist/{index-J6YRJ7Ul.d.ts → index-CHx33xGa.d.ts} +1 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { r as getFocusables } from "./focus-x7mxEqjR.js";
|
|
2
|
+
//#region src/composables/internal/focusRegion.ts
|
|
3
|
+
/**
|
|
4
|
+
* 焦点区域(useFocusTrap)找 Tab 落脚点、判断谁来接这次 Tab 用的几个小工具。
|
|
5
|
+
* 对应原版 Astryx `hooks/useFocusTrap` 和 `hooks/focusableSelector` 里的同名逻辑。
|
|
6
|
+
*/
|
|
7
|
+
/** `a` 在文档顺序上是否排在 `b` 前面。 */
|
|
8
|
+
function precedes(a, b) {
|
|
9
|
+
return (a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0;
|
|
10
|
+
}
|
|
11
|
+
/** 按文档顺序排好。浏览器的 querySelectorAll 本来就是文档顺序,jsdom 可能按选择器分组返回。 */
|
|
12
|
+
function inDocumentOrder(nodes) {
|
|
13
|
+
return [...nodes].sort((a, b) => precedes(a, b) ? -1 : 1);
|
|
14
|
+
}
|
|
15
|
+
function isShownAsPopover(element) {
|
|
16
|
+
try {
|
|
17
|
+
return element.matches(":popover-open");
|
|
18
|
+
} catch {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
/** 对话框在顶层里:打开了,或者作为 popover 显示着。 */
|
|
23
|
+
function isDialogShown(dialog) {
|
|
24
|
+
return dialog.open || isShownAsPopover(dialog);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 元素是否在一个页面不显示的、关着的 `<dialog>` 里。这样的对话框什么都不画,里面也不能聚焦。
|
|
28
|
+
* 关着但页面把它按普通流显示出来的对话框有盒子,里面的控件照样是 Tab 落脚点。
|
|
29
|
+
*/
|
|
30
|
+
function isInHiddenClosedDialog(element) {
|
|
31
|
+
for (let dialog = element.closest("dialog"); dialog != null; dialog = dialog.parentElement?.closest("dialog") ?? null) if (!isDialogShown(dialog) && dialog.ownerDocument.defaultView?.getComputedStyle(dialog).display === "none") return true;
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
function radioNameOf(element) {
|
|
35
|
+
if (!element.matches("input[type=\"radio\"][name]")) return null;
|
|
36
|
+
return element.name || null;
|
|
37
|
+
}
|
|
38
|
+
function isSameRadioGroup(a, b) {
|
|
39
|
+
const name = radioNameOf(a);
|
|
40
|
+
return name != null && name === radioNameOf(b) && a.form === b.form;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 去掉浏览器按 Tab 时会跳过的单选框,其余元素原样保留。
|
|
44
|
+
* 同名单选组只停一站:有焦点的那个,否则选中的那个;一个都没选时整组都留着,
|
|
45
|
+
* 正向进入落在第一个,反向进入落在最后一个。
|
|
46
|
+
*/
|
|
47
|
+
function collapseRadioGroups(elements, active) {
|
|
48
|
+
return elements.filter((element) => {
|
|
49
|
+
if (radioNameOf(element) == null) return true;
|
|
50
|
+
if (active != null && isSameRadioGroup(element, active)) return element === active;
|
|
51
|
+
return element.checked || !elements.some((other) => isSameRadioGroup(element, other) && other.checked);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/** 容器里能被 Tab 走到的元素,按文档顺序,不含藏在关着的对话框里的。 */
|
|
55
|
+
function focusablesIn(container) {
|
|
56
|
+
return inDocumentOrder(getFocusables(container)).filter((element) => !isInHiddenClosedDialog(element));
|
|
57
|
+
}
|
|
58
|
+
/** 试着聚焦,返回焦点是否真的过去了。被模态层盖住(inert)的元素会拒绝。 */
|
|
59
|
+
function attemptFocus(element) {
|
|
60
|
+
try {
|
|
61
|
+
element.focus();
|
|
62
|
+
} catch {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return element.ownerDocument.activeElement === element;
|
|
66
|
+
}
|
|
67
|
+
/** 当前启用的焦点区域容器。区域嵌套时,握着焦点的最里层那个接 Tab。 */
|
|
68
|
+
const activeRegions = /* @__PURE__ */ new Set();
|
|
69
|
+
function registerRegion(container) {
|
|
70
|
+
activeRegions.add(container);
|
|
71
|
+
return () => activeRegions.delete(container);
|
|
72
|
+
}
|
|
73
|
+
/** 焦点是否握在嵌套在 `container` 里的另一个区域(或另一个打开的 `<dialog>`)手里。那时由它接 Tab。 */
|
|
74
|
+
function hasInnerRegionHolding(container, active) {
|
|
75
|
+
const dialog = active.closest("dialog[open]");
|
|
76
|
+
if (dialog != null && dialog !== container && container.contains(dialog)) return true;
|
|
77
|
+
for (const other of activeRegions) if (other !== container && container.contains(other) && other.contains(active)) return true;
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
export { inDocumentOrder as a, hasInnerRegionHolding as i, collapseRadioGroups as n, precedes as o, focusablesIn as r, registerRegion as s, attemptFocus as t };
|
|
@@ -455,4 +455,4 @@ function areaOf(handle, element) {
|
|
|
455
455
|
return area != null && area !== element && area.contains(element) ? area : null;
|
|
456
456
|
}
|
|
457
457
|
//#endregion
|
|
458
|
-
export {
|
|
458
|
+
export { themeReducesMotion as S, writePresentedResolve as _, reducedMotionCrossFade as a, sharedWeakMap as b, motionRoleOf as c, registerMotionTable as d, registerSpringRole as f, registerPresentedOffset as g, clearPresentedResolve as h, cubicBezier as i, parseCssEasing as l, batchPresented as m, createAnimatedLayout as n, registerReducedMotionCrossFade as o, isSpring as p, readArea as r, motionRoleIn as s, areaOf as t, parseMotionRoleValue as u, sharedMap as v, sharedWeakSet as x, sharedState as y };
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {
|
|
|
9
9
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
type: "button" | "reset" | "submit";
|
|
12
|
-
elevation: ButtonElevation;
|
|
13
12
|
isDisabled: boolean;
|
|
13
|
+
elevation: ButtonElevation;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
isIconOnly: boolean;
|
|
16
16
|
isInterruptible: boolean;
|
|
@@ -101,8 +101,8 @@ type __VLS_Slots = {
|
|
|
101
101
|
declare const __VLS_base: import("vue").DefineComponent<CenterProps, {
|
|
102
102
|
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
103
103
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CenterProps> & Readonly<{}>, {
|
|
104
|
-
isInline: boolean;
|
|
105
104
|
axis: CenterAxis;
|
|
105
|
+
isInline: boolean;
|
|
106
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
107
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
108
|
declare const _default: typeof __VLS_export;
|
|
@@ -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>;
|
|
@@ -10,14 +10,15 @@ interface MobileNavProps {
|
|
|
10
10
|
isOpen?: boolean;
|
|
11
11
|
/** 抽屉标题。也可以用 `header` 插槽。 */
|
|
12
12
|
header?: string;
|
|
13
|
-
/**
|
|
13
|
+
/** 抽屉宽度,单位像素。最宽不超过视口宽度的 85%。 @default 320 */
|
|
14
14
|
width?: number;
|
|
15
15
|
/**
|
|
16
|
-
* 从哪一侧滑入。`auto`
|
|
16
|
+
* 从哪一侧滑入。`auto` 按打开它的元素(有焦点的元素,否则是 `aria-controls` 指向抽屉的元素)
|
|
17
|
+
* 所在的一侧、随文字方向决定:落在行内起始半边就从起始边,否则从结束边;找不到打开者也从结束边。
|
|
17
18
|
* @default 'auto'
|
|
18
19
|
*/
|
|
19
20
|
side?: MobileNavSide;
|
|
20
|
-
/**
|
|
21
|
+
/** 对话框和它里面导航地标的无障碍名称。默认用标题,再退回当前语言的「导航」;调用方的 `aria-labelledby` 优先。 */
|
|
21
22
|
label?: string;
|
|
22
23
|
/** 对话框 id。不传时自己生成,方便外壳的开关用 aria-controls 指过来。 */
|
|
23
24
|
id?: string;
|
|
@@ -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>;
|
|
@@ -535,14 +535,14 @@ 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
|
+
change: (value: string) => any;
|
|
538
539
|
submit: (value: string) => any;
|
|
539
540
|
stop: () => any;
|
|
540
|
-
change: (value: string) => any;
|
|
541
541
|
"update:modelValue": (value: string) => any;
|
|
542
542
|
}, string, import("vue").PublicProps, Readonly<ChatComposerProps> & Readonly<{
|
|
543
|
+
onChange?: ((value: string) => any) | undefined;
|
|
543
544
|
onSubmit?: ((value: string) => any) | undefined;
|
|
544
545
|
onStop?: (() => any) | undefined;
|
|
545
|
-
onChange?: ((value: string) => any) | undefined;
|
|
546
546
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
547
547
|
}>, {
|
|
548
548
|
elevation: ChatComposerElevation;
|
|
@@ -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;
|
|
@@ -607,7 +607,7 @@ declare const _default$14: typeof __VLS_export$14;
|
|
|
607
607
|
//#endregion
|
|
608
608
|
//#region src/Chat/ChatDictationButton.vue.d.ts
|
|
609
609
|
declare const __VLS_export$13: import("vue").DefineComponent<ChatDictationButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChatDictationButtonProps> & Readonly<{}>, {
|
|
610
|
-
size: "
|
|
610
|
+
size: "md" | "sm";
|
|
611
611
|
isHiddenWhenUnsupported: boolean;
|
|
612
612
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
613
613
|
declare const _default$13: typeof __VLS_export$13;
|
|
@@ -730,7 +730,7 @@ declare const __VLS_base$3: import("vue").DefineComponent<ChatSendButtonProps, {
|
|
|
730
730
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
731
731
|
onSend?: (() => any) | undefined;
|
|
732
732
|
}>, {
|
|
733
|
-
size: "
|
|
733
|
+
size: "md" | "sm";
|
|
734
734
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
735
735
|
declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
736
736
|
declare const _default$5: typeof __VLS_export$5;
|
|
@@ -28,7 +28,11 @@ interface RangeClickResult {
|
|
|
28
28
|
*/
|
|
29
29
|
declare function applyRangeClick(pending: string | null, day: string, minRangeSpan?: number, maxRangeSpan?: number): RangeClickResult;
|
|
30
30
|
declare function isDayOutsideSpan(pending: string | null, day: string, minRangeSpan?: number, maxRangeSpan?: number): boolean;
|
|
31
|
-
|
|
31
|
+
/**
|
|
32
|
+
* 一段日期范围的显示文字。起止都在今年时省掉年份。`currentYear` 缺省读时钟;
|
|
33
|
+
* 传 `null` 表示今年还不知道(服务端渲染、水合那一趟),这时一律写出年份。
|
|
34
|
+
*/
|
|
35
|
+
declare function formatDateRange(range: ISODateRange | null, locale: string, currentYear?: number | null): string;
|
|
32
36
|
//#endregion
|
|
33
37
|
//#region src/composables/internal/snapPagingValue.d.ts
|
|
34
38
|
/**
|
|
@@ -161,8 +161,8 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
161
161
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<(ComplexSelectorProps<Value> & {
|
|
162
162
|
modelValue: Value;
|
|
163
163
|
}) & {
|
|
164
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
165
164
|
onChange?: ((value: Value) => any) | undefined;
|
|
165
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
166
166
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
167
167
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
168
168
|
"onUpdate:modelValue"?: ((value: Value) => any) | undefined;
|
|
@@ -172,7 +172,7 @@ declare const __VLS_export: <Value>(__VLS_props: NonNullable<Awaited<typeof __VL
|
|
|
172
172
|
expose: (exposed: import("vue").ShallowUnwrapRef<ComplexSelectorHandle>) => void;
|
|
173
173
|
attrs: any;
|
|
174
174
|
slots: ComplexSelectorSlots<Value>;
|
|
175
|
-
emit: (((evt: "
|
|
175
|
+
emit: (((evt: "change", value: Value) => void) & ((evt: "click", event: MouseEvent) => void) & ((evt: "keydown", event: KeyboardEvent) => void) & ((evt: "openChange", isOpen: boolean) => void)) & ((event: "update:modelValue", value: Value) => void);
|
|
176
176
|
}>) => import("vue").VNode & {
|
|
177
177
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
178
178
|
};
|
|
@@ -13,13 +13,13 @@ import "./index-BaK0mywG.js";
|
|
|
13
13
|
import { n as LayerPlacement, t as LayerAlignment } from "./position-DFW5ymAF.js";
|
|
14
14
|
import { m as ListDensity } from "./types-Dxs5rf-2.js";
|
|
15
15
|
import { P as DropdownMenuSubMenuPresentation } from "./DropdownMenuRadioItem.vue-C9DdN6UE.js";
|
|
16
|
-
import { a as NavItemSize, s as NavLinkComponent } from "./types-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index
|
|
19
|
-
import { $t as HandleRef, An as DatePresentation, Br as WeekStartsOn, C as ScrollStickyContainment, In as NativePicker, Ir as SnapPaging, Pn as HourFormat, Rn as TimePresentation, Rr as ISODateRange, S as ScrollRole, v as ScrollAxis, x as ScrollOverscroll } from "./index-
|
|
16
|
+
import { a as NavItemSize, s as NavLinkComponent } from "./types-C2ZuV4jf.js";
|
|
17
|
+
import "./index-GgHVkJtB.js";
|
|
18
|
+
import "./index--kbwaSXW.js";
|
|
19
|
+
import { $t as HandleRef, An as DatePresentation, Br as WeekStartsOn, C as ScrollStickyContainment, In as NativePicker, Ir as SnapPaging, Pn as HourFormat, Rn as TimePresentation, Rr as ISODateRange, S as ScrollRole, v as ScrollAxis, x as ScrollOverscroll } from "./index-DBu-H-vB.js";
|
|
20
20
|
import { n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap } from "./index-CTjkJP4x.js";
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./index-
|
|
21
|
+
import "./index-BKnyTWPM.js";
|
|
22
|
+
import "./index-CHLLk77c.js";
|
|
23
23
|
import { i as CheckboxSize } from "./index-DEiLb6hI.js";
|
|
24
24
|
import { c as FieldStatusType, l as FieldStatusVariant, n as FieldLabelSlots, o as FieldStatusInput, t as FieldLabelProps } from "./types-bAQk3F8G.js";
|
|
25
25
|
import { t as FieldPartStylingProps } from "./fieldParts-LXpQMKE8.js";
|
|
@@ -28,13 +28,13 @@ import "./index-ChqMaV6N.js";
|
|
|
28
28
|
import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
|
|
29
29
|
import "./index-yQc-te9a.js";
|
|
30
30
|
import "./index-Qdbssopn.js";
|
|
31
|
-
import "./index-
|
|
31
|
+
import "./index-DE1genab.js";
|
|
32
32
|
import { a as PaddingInput, i as SectionVariant, o as SizeValue } from "./types-uFMH9NaM.js";
|
|
33
|
-
import { B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, M as TablePlugin, N as TableProps, R as TableRowProps, T as TableFilterState, V as TableSlots, W as TableSortState, _ as TableCellProps, et as ToolbarOrientation, h as ProportionalWidth, it as ToolbarVariant, m as PixelWidth, nt as ToolbarSize, p as ColumnWidth, rt as ToolbarSlots, tt as ToolbarProps, v as TableColumn, z as TableSelectionToolbarProps } from "./useResizable-CJd4JkbJ.js";
|
|
33
|
+
import { B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, M as TablePlugin, N as TableProps, R as TableRowProps, T as TableFilterState, V as TableSlots, W as TableSortState, _ as TableCellProps, et as ToolbarOrientation, h as ProportionalWidth, i as ResizableRegion, it as ToolbarVariant, m as PixelWidth, nt as ToolbarSize, p as ColumnWidth, rt as ToolbarSlots, tt as ToolbarProps, v as TableColumn, z as TableSelectionToolbarProps } from "./useResizable-CJd4JkbJ.js";
|
|
34
34
|
import { u as MenuDrillIn } from "./index-BlhbRf58.js";
|
|
35
35
|
import { i as EntryErrorBehavior } from "./index-DcisK4t8.js";
|
|
36
36
|
import { f as DialogPurpose, l as DialogPadding } from "./index-CBOv5j3c.js";
|
|
37
|
-
import "./index-
|
|
37
|
+
import "./index-C8wfe0Mr.js";
|
|
38
38
|
import "./index--Xrukl7L.js";
|
|
39
39
|
import "./index-GmoeIuhl.js";
|
|
40
40
|
import "./index-DDAcxZAP.js";
|
|
@@ -44,31 +44,31 @@ import "./index-Otl047R1.js";
|
|
|
44
44
|
import "./index-CXOAA8us.js";
|
|
45
45
|
import "./index-BMVI4cM5.js";
|
|
46
46
|
import "./index-CsYDrQ9R.js";
|
|
47
|
-
import "./index-
|
|
47
|
+
import "./index-BvWBeoa8.js";
|
|
48
48
|
import "./index-BdZCLUgY.js";
|
|
49
49
|
import "./index-fuztfDLA.js";
|
|
50
50
|
import "./index-fd--aE4B.js";
|
|
51
51
|
import "./index-CCpcerMA.js";
|
|
52
52
|
import "./index-CitZGSn0.js";
|
|
53
|
-
import "./index-
|
|
53
|
+
import "./index-DoSTYXsP.js";
|
|
54
54
|
import "./index-CQ-sq76o.js";
|
|
55
55
|
import "./index-C9ZssPUV.js";
|
|
56
56
|
import "./index-utZGF4GR.js";
|
|
57
|
-
import "./index-
|
|
58
|
-
import "./index-
|
|
59
|
-
import "./index-
|
|
60
|
-
import { h as NavMenuFocusRequest } from "./index-
|
|
57
|
+
import "./index-C5fbwY7Y.js";
|
|
58
|
+
import "./index-gxuXI7KD.js";
|
|
59
|
+
import "./index-ZKBj_1nu.js";
|
|
60
|
+
import { h as NavMenuFocusRequest } from "./index-BIQZa2BD.js";
|
|
61
61
|
import "./index-B1t1oQWH.js";
|
|
62
|
-
import "./index-
|
|
62
|
+
import "./index-BuubzuE8.js";
|
|
63
63
|
import "./index-Cy1rEWC-.js";
|
|
64
|
-
import "./index-
|
|
65
|
-
import "./index-
|
|
64
|
+
import "./index-Djf0M7PH.js";
|
|
65
|
+
import "./index-Xhq1E7WZ.js";
|
|
66
66
|
import "./index-COgrQZIL.js";
|
|
67
67
|
import "./index-BL4mH8aK.js";
|
|
68
68
|
import "./index-fAZaRruV.js";
|
|
69
69
|
import "./index-CEv_AvOg.js";
|
|
70
70
|
import "./index-C93nwgTW.js";
|
|
71
|
-
import "./index-
|
|
71
|
+
import "./index-mPBIdznc.js";
|
|
72
72
|
import "./index-q7fVtnQc.js";
|
|
73
73
|
import "./index-Dt_9IR_M.js";
|
|
74
74
|
import "./index-DxR6cZBf.js";
|
|
@@ -76,14 +76,14 @@ import "./index-yaS9_EpM.js";
|
|
|
76
76
|
import "./index-BgT6mH3U.js";
|
|
77
77
|
import "./index-CMiF_a__.js";
|
|
78
78
|
import "./index-CO9GW-ik.js";
|
|
79
|
-
import "./index-
|
|
79
|
+
import "./index-mK1ICsVg.js";
|
|
80
80
|
import "./index-rdwI-mcm.js";
|
|
81
81
|
import "./index-BfoazhEu.js";
|
|
82
82
|
import "./index-CtlkhQ55.js";
|
|
83
83
|
import "./index-BA8exXNP.js";
|
|
84
84
|
import "./index-bk5kfP_c.js";
|
|
85
|
-
import "./index-
|
|
86
|
-
import "./index-
|
|
85
|
+
import "./index-CHx33xGa.js";
|
|
86
|
+
import "./index-DtZUOyCy.js";
|
|
87
87
|
import "./index-eCp-ElSp.js";
|
|
88
88
|
import "./index-CKnr0JlT.js";
|
|
89
89
|
import "./index-DGXCnzOL.js";
|
|
@@ -172,9 +172,9 @@ type __VLS_Slots$50 = ButtonGroupSlots;
|
|
|
172
172
|
declare const __VLS_base$50: import("vue").DefineComponent<ButtonGroupProps, {
|
|
173
173
|
element: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
174
174
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
175
|
-
elevation: ButtonElevation;
|
|
176
|
-
isDisabled: boolean;
|
|
177
175
|
orientation: ButtonGroupOrientation;
|
|
176
|
+
isDisabled: boolean;
|
|
177
|
+
elevation: ButtonElevation;
|
|
178
178
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
179
179
|
declare const __VLS_export$58: __VLS_WithSlots$50<typeof __VLS_base$50, __VLS_Slots$50>;
|
|
180
180
|
declare const _default$58: typeof __VLS_export$58;
|
|
@@ -277,9 +277,9 @@ declare const __VLS_base$49: import("vue").DefineComponent<CalendarProps, Calend
|
|
|
277
277
|
mode: "single" | "range";
|
|
278
278
|
disabled: boolean;
|
|
279
279
|
numberOfMonths: 1 | 2;
|
|
280
|
+
minRangeSpan: number;
|
|
280
281
|
weekStartsOn: WeekStartsOn;
|
|
281
282
|
range: CalendarRangeValue | null;
|
|
282
|
-
minRangeSpan: number;
|
|
283
283
|
hasOutsideDays: boolean;
|
|
284
284
|
hasWeekNumbers: boolean;
|
|
285
285
|
hasVariableRowCount: boolean;
|
|
@@ -511,8 +511,8 @@ declare const __VLS_base$46: import("vue").DefineComponent<__VLS_PublicProps$14,
|
|
|
511
511
|
onChange?: ((value: string[]) => any) | undefined;
|
|
512
512
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
513
513
|
}>, {
|
|
514
|
-
density: ListDensity;
|
|
515
514
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
515
|
+
density: ListDensity;
|
|
516
516
|
hasDividers: boolean;
|
|
517
517
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
518
518
|
declare const __VLS_export$54: __VLS_WithSlots$46<typeof __VLS_base$46, __VLS_Slots$46>;
|
|
@@ -586,8 +586,8 @@ declare const __VLS_base$44: import("vue").DefineComponent<ClickableCardProps, {
|
|
|
586
586
|
}, string, import("vue").PublicProps, Readonly<ClickableCardProps> & Readonly<{
|
|
587
587
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
588
588
|
}>, {
|
|
589
|
-
elevation: CardElevation;
|
|
590
589
|
isDisabled: boolean;
|
|
590
|
+
elevation: CardElevation;
|
|
591
591
|
variant: keyof CardVariantMap;
|
|
592
592
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
593
593
|
declare const __VLS_export$52: __VLS_WithSlots$44<typeof __VLS_base$44, __VLS_Slots$44>;
|
|
@@ -1317,8 +1317,8 @@ declare const __VLS_export$45: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
1317
1317
|
modelValue: ISODateRange | null;
|
|
1318
1318
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1319
1319
|
hasClear: boolean;
|
|
1320
|
-
minRangeSpan: number;
|
|
1321
1320
|
monthCount: number;
|
|
1321
|
+
minRangeSpan: number;
|
|
1322
1322
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1323
1323
|
declare const _default$45: typeof __VLS_export$45;
|
|
1324
1324
|
//#endregion
|
|
@@ -1465,8 +1465,8 @@ declare const __VLS_base$38: import("vue").DefineComponent<DrawerProps, {}, {},
|
|
|
1465
1465
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
1466
1466
|
}>, {
|
|
1467
1467
|
width: string | number;
|
|
1468
|
-
padding: DialogPadding;
|
|
1469
1468
|
placement: DrawerPlacement;
|
|
1469
|
+
padding: DialogPadding;
|
|
1470
1470
|
purpose: DialogPurpose;
|
|
1471
1471
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1472
1472
|
declare const __VLS_export$43: __VLS_WithSlots$38<typeof __VLS_base$38, __VLS_Slots$38>;
|
|
@@ -1922,24 +1922,24 @@ interface NumberInputSlots {
|
|
|
1922
1922
|
//#region src/NumberInput/NumberInput.vue.d.ts
|
|
1923
1923
|
type __VLS_Slots$33 = NumberInputSlots;
|
|
1924
1924
|
declare const __VLS_base$33: import("vue").DefineComponent<NumberInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1925
|
+
change: (value: number | null) => any;
|
|
1925
1926
|
blur: (event: FocusEvent) => any;
|
|
1926
1927
|
focus: (event: FocusEvent) => any;
|
|
1927
|
-
change: (value: number | null) => any;
|
|
1928
1928
|
keydown: (event: KeyboardEvent) => any;
|
|
1929
1929
|
"update:modelValue": (value: number | null) => any;
|
|
1930
1930
|
enter: (event: KeyboardEvent) => any;
|
|
1931
1931
|
}, string, import("vue").PublicProps, Readonly<NumberInputProps> & Readonly<{
|
|
1932
|
+
onChange?: ((value: number | null) => any) | undefined;
|
|
1932
1933
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1933
1934
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1934
|
-
onChange?: ((value: number | null) => any) | undefined;
|
|
1935
1935
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1936
1936
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
1937
1937
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
1938
1938
|
}>, {
|
|
1939
|
-
step: number | null;
|
|
1940
1939
|
modelValue: number | null;
|
|
1941
1940
|
placeholder: string;
|
|
1942
1941
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1942
|
+
step: number | null;
|
|
1943
1943
|
isWheelEnabled: boolean;
|
|
1944
1944
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1945
1945
|
declare const __VLS_export$37: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
@@ -2143,8 +2143,8 @@ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_PublicProps$7,
|
|
|
2143
2143
|
onChange?: ((value: RadioValue, event: RadioChangeEvent) => any) | undefined;
|
|
2144
2144
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
2145
2145
|
}>, {
|
|
2146
|
-
size: RadioSize;
|
|
2147
2146
|
orientation: RadioOrientation;
|
|
2147
|
+
size: RadioSize;
|
|
2148
2148
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
2149
2149
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2150
2150
|
declare const __VLS_export$33: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
@@ -2277,8 +2277,8 @@ declare const __VLS_base$26: import("vue").DefineComponent<__VLS_PublicProps$6,
|
|
|
2277
2277
|
onChange?: ((isSelected: boolean) => any) | undefined;
|
|
2278
2278
|
"onUpdate:isSelected"?: ((value: boolean) => any) | undefined;
|
|
2279
2279
|
}>, {
|
|
2280
|
-
elevation: CardElevation;
|
|
2281
2280
|
isDisabled: boolean;
|
|
2281
|
+
elevation: CardElevation;
|
|
2282
2282
|
variant: keyof CardVariantMap;
|
|
2283
2283
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2284
2284
|
declare const __VLS_export$30: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
@@ -2353,9 +2353,13 @@ interface SideNavProps {
|
|
|
2353
2353
|
/**
|
|
2354
2354
|
* 在结束边拖宽度。`true` 使用 260px 初始、180–480px 范围。
|
|
2355
2355
|
* 收起后把手隐藏。拖到 160px 以下会收起(需要同时可收起)。
|
|
2356
|
+
* 也可以直接传 `useResizable()` 的返回值:这个区域拥有宽度和收起状态,轨道跟着它的
|
|
2357
|
+
* `isCollapsed`,收起按钮调用它的 `collapse` 和 `expand`,`autoSaveId` 记宽度;
|
|
2358
|
+
* 能不能收起由区域自己的 `collapsible` 选项决定,`collapsible` 写了收起状态或与之不一致时
|
|
2359
|
+
* 以区域为准,开发环境里警告。
|
|
2356
2360
|
* @default false
|
|
2357
2361
|
*/
|
|
2358
|
-
resizable?: boolean | SideNavResizable;
|
|
2362
|
+
resizable?: boolean | SideNavResizable | ResizableRegion;
|
|
2359
2363
|
/**
|
|
2360
2364
|
* 侧栏外面的收起按钮可以拿这个句柄。
|
|
2361
2365
|
* 和根元素的模板 ref 分开。更常见的做法是两边共用 `v-model:is-collapsed`。
|
|
@@ -2489,7 +2493,7 @@ declare const __VLS_base$25: import("vue").DefineComponent<SideNavProps, {}, {},
|
|
|
2489
2493
|
onWidthChange?: ((width: number) => any) | undefined;
|
|
2490
2494
|
}>, {
|
|
2491
2495
|
collapsible: boolean | SideNavCollapsible;
|
|
2492
|
-
resizable: boolean | SideNavResizable;
|
|
2496
|
+
resizable: boolean | SideNavResizable | ResizableRegion;
|
|
2493
2497
|
isCollapsed: boolean;
|
|
2494
2498
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2495
2499
|
declare const __VLS_export$29: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
@@ -3243,15 +3247,15 @@ declare const __VLS_base$12: import("vue").DefineComponent<__VLS_PublicProps$4,
|
|
|
3243
3247
|
blur: typeof blur$2;
|
|
3244
3248
|
select: typeof select$1;
|
|
3245
3249
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3246
|
-
clear: (event: MouseEvent) => any;
|
|
3247
3250
|
change: (value: string, event: TextAreaChangeEvent) => any;
|
|
3251
|
+
clear: (event: MouseEvent) => any;
|
|
3248
3252
|
keydown: (event: KeyboardEvent) => any;
|
|
3249
3253
|
"update:modelValue": (value: string) => any;
|
|
3250
3254
|
actionError: (error: unknown, value: string, event: TextAreaChangeEvent) => any;
|
|
3251
3255
|
enter: (event: KeyboardEvent) => any;
|
|
3252
3256
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
|
|
3253
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
3254
3257
|
onChange?: ((value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
3258
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
3255
3259
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
3256
3260
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3257
3261
|
onActionError?: ((error: unknown, value: string, event: TextAreaChangeEvent) => any) | undefined;
|
|
@@ -3331,15 +3335,15 @@ declare const __VLS_base$11: import("vue").DefineComponent<__VLS_PublicProps$3,
|
|
|
3331
3335
|
blur: typeof blur$1;
|
|
3332
3336
|
select: typeof select;
|
|
3333
3337
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3334
|
-
clear: (event: MouseEvent) => any;
|
|
3335
3338
|
change: (value: string, event: TextInputChangeEvent) => any;
|
|
3339
|
+
clear: (event: MouseEvent) => any;
|
|
3336
3340
|
keydown: (event: KeyboardEvent) => any;
|
|
3337
3341
|
"update:modelValue": (value: string) => any;
|
|
3338
3342
|
actionError: (error: unknown, value: string, event: TextInputChangeEvent) => any;
|
|
3339
3343
|
enter: (event: KeyboardEvent) => any;
|
|
3340
3344
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
|
|
3341
|
-
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
3342
3345
|
onChange?: ((value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
3346
|
+
onClear?: ((event: MouseEvent) => any) | undefined;
|
|
3343
3347
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
3344
3348
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3345
3349
|
onActionError?: ((error: unknown, value: string, event: TextInputChangeEvent) => any) | undefined;
|
|
@@ -3736,8 +3740,8 @@ declare const __VLS_base$10: import("vue").DefineComponent<__VLS_PublicProps$1,
|
|
|
3736
3740
|
"onUpdate:isPressed"?: ((value: boolean) => any) | undefined;
|
|
3737
3741
|
onPressedChange?: ((isPressed: boolean, event: MouseEvent) => any) | undefined;
|
|
3738
3742
|
}>, {
|
|
3739
|
-
elevation: ButtonElevation;
|
|
3740
3743
|
isDisabled: boolean;
|
|
3744
|
+
elevation: ButtonElevation;
|
|
3741
3745
|
isLoading: boolean;
|
|
3742
3746
|
isIconOnly: boolean;
|
|
3743
3747
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -3764,9 +3768,9 @@ declare const __VLS_base$9: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
3764
3768
|
onChange?: ((value: ToggleButtonGroupValue) => any) | undefined;
|
|
3765
3769
|
}>, {
|
|
3766
3770
|
type: ToggleButtonGroupType;
|
|
3771
|
+
orientation: ToggleButtonGroupOrientation;
|
|
3767
3772
|
size: ButtonSize;
|
|
3768
3773
|
isDisabled: boolean;
|
|
3769
|
-
orientation: ToggleButtonGroupOrientation;
|
|
3770
3774
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3771
3775
|
declare const __VLS_export$10: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
3772
3776
|
declare const _default$10: typeof __VLS_export$10;
|
|
@@ -3779,9 +3783,9 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
3779
3783
|
//#region src/Toolbar/Toolbar.vue.d.ts
|
|
3780
3784
|
type __VLS_Slots$8 = ToolbarSlots;
|
|
3781
3785
|
declare const __VLS_base$8: import("vue").DefineComponent<ToolbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarProps> & Readonly<{}>, {
|
|
3786
|
+
orientation: ToolbarOrientation;
|
|
3782
3787
|
size: ToolbarSize;
|
|
3783
3788
|
variant: ToolbarVariant;
|
|
3784
|
-
orientation: ToolbarOrientation;
|
|
3785
3789
|
gap: SpacingStep;
|
|
3786
3790
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3787
3791
|
declare const __VLS_export$9: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
@@ -18,10 +18,10 @@ declare const __VLS_base: import("vue").DefineComponent<PopoverProps, {}, {}, {}
|
|
|
18
18
|
label: string;
|
|
19
19
|
anchor: HTMLElement | null;
|
|
20
20
|
width: string | number;
|
|
21
|
-
padding: PopoverPadding;
|
|
22
21
|
isOpen: boolean;
|
|
23
22
|
placement: LayerPlacement;
|
|
24
23
|
alignment: LayerAlignment;
|
|
24
|
+
padding: PopoverPadding;
|
|
25
25
|
hasAutoFocus: boolean;
|
|
26
26
|
role: PopoverRole;
|
|
27
27
|
hasCloseButton: boolean;
|
|
@@ -56,8 +56,8 @@ type __VLS_Slots$1 = ListSlots;
|
|
|
56
56
|
declare const __VLS_base$1: import("vue").DefineComponent<ListProps, {
|
|
57
57
|
element: import("vue").ComputedRef<HTMLUListElement | HTMLOListElement | null>;
|
|
58
58
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ListProps> & Readonly<{}>, {
|
|
59
|
-
density: ListDensity;
|
|
60
59
|
start: number;
|
|
60
|
+
density: ListDensity;
|
|
61
61
|
hasDividers: boolean;
|
|
62
62
|
listStyle: ListMarkerStyle;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -113,9 +113,9 @@ interface TokenizerSlots<T extends SearchableItem = SearchableItem> {
|
|
|
113
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<{
|
|
114
114
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<TokenizerProps<T> & {
|
|
115
115
|
onSearch?: ((query: string) => any) | undefined;
|
|
116
|
+
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
116
117
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
117
118
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
118
|
-
onChange?: ((value: T[], change: TokenizerChange<T>) => any) | undefined;
|
|
119
119
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
120
120
|
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
121
121
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
@@ -130,7 +130,7 @@ declare const __VLS_export: <T extends SearchableItem>(__VLS_props: NonNullable<
|
|
|
130
130
|
}>) => void;
|
|
131
131
|
attrs: any;
|
|
132
132
|
slots: TokenizerSlots<T>;
|
|
133
|
-
emit: ((evt: "search", query: string) => void) & ((evt: "
|
|
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);
|
|
134
134
|
}>) => import("vue").VNode & {
|
|
135
135
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
136
136
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as DropdownMenuSize, u as DropdownMenuOption } from "./DropdownMenuRadioItem.vue-C9DdN6UE.js";
|
|
2
|
-
import { s as NavLinkComponent } from "./types-
|
|
2
|
+
import { s as NavLinkComponent } from "./types-C2ZuV4jf.js";
|
|
3
3
|
import { ComputedRef } from "vue";
|
|
4
4
|
//#region src/Breadcrumbs/types.d.ts
|
|
5
5
|
type BreadcrumbsVariant = 'default' | 'supporting';
|