@astryx-vue/core 0.17.0 → 0.19.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/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/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-Bk2nGoT-.js → Calendar-DSRNuw3y.js} +37 -13
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Center/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-Wq7e98zS.js → Chat-CXwXzlZ0.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/Collapsible/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-Dk9BQQbT.js → Collapsible-ExzU7vC0.js} +104 -40
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BitZfGEY.js → DateInput-s2H0orUW.js} +3 -3
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-kxXBsUTU.js → DateRangeInput-Dn9I2PMM.js} +7 -7
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-Cfkuec_h.js → DateTimeInput-BR_tdURg.js} +47 -17
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- 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-DVPLeccv.js → HoverCard-FHYH3VXg.js} +50 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-Dr5GE6f0.js → InternationalizationProvider-Ddo_-tLK.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/{MediaTheme-Bkj-_DFN.js → MediaTheme-DfcdEWx-.js} +2 -36
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-BPeesTRv.js → NumberInput-BsWTXomE.js} +2 -23
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BAOqpQag.js → PowerSearch-CDEn08Pe.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/SideNav/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-CRKljXg4.js → Table-WukSceMV.js} +376 -5
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/Theme/index.js +3 -2
- package/dist/{Theme-iqi6AvU_.js → Theme-1RJVaRgz.js} +3 -38
- package/dist/{TimeField-CBWgdA1Y.js → TimeField-BM-rVFhC.js} +419 -140
- package/dist/TimeInput/index.d.ts +2 -2
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-8ASOMV3B.js → TimeInput-CkZfhhAr.js} +28 -8
- package/dist/Timer/index.d.ts +1 -1
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-C8evnsTE.js → Timer-DiIs5GLA.js} +24 -15
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CgvZe6vH.js → Timestamp-D9Jyk9sD.js} +152 -96
- package/dist/Toast/index.js +1 -1
- package/dist/{Toast-CzbqvHDN.js → Toast-D4Q6wvYu.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/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.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-CNj4KnHH.js → TreeList-ugSF9DWj.js} +117 -2
- package/dist/composables/index.d.ts +3 -2
- package/dist/composables/index.js +3 -3
- package/dist/{composables-BKHcPgN0.js → composables-BgfubKnk.js} +39 -332
- package/dist/{format-CMHyAMn3.js → format-mffyPc-L.js} +34 -4
- package/dist/handle-BPXdHbkr.js +458 -0
- package/dist/{index-9eluGe3a.d.ts → index-BA8exXNP.d.ts} +2 -1
- package/dist/{index-tuNsmJxw.d.ts → index-BLnvQ4Oj.d.ts} +9 -2
- package/dist/{index-B0iRA00v.d.ts → index-BapQGST1.d.ts} +2 -2
- package/dist/{index-D31bgBoy.d.ts → index-BdZCLUgY.d.ts} +1 -1
- package/dist/{index-DK0Wdo9N.d.ts → index-C9OzEvE_.d.ts} +3 -3
- package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-CMLnSg3T.d.ts → index-CKnr0JlT.d.ts} +7 -0
- package/dist/{index-C1qJlC65.d.ts → index-CQ-sq76o.d.ts} +1 -1
- package/dist/{index-85RFPeV0.d.ts → index-CULdl3Dg.d.ts} +3 -3
- package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
- package/dist/{index-DofC9Rll.d.ts → index-Otl047R1.d.ts} +1 -1
- package/dist/{index-BKnyTWPM.d.ts → index-ZbNwGVkS.d.ts} +1 -1
- package/dist/{index-DYabo8TI.d.ts → index-eCp-ElSp.d.ts} +1 -1
- package/dist/{index-B95VIgRl.d.ts → index-t27MvEzT.d.ts} +70 -23
- package/dist/{index-wY6dKz6c.d.ts → index-yQc-te9a.d.ts} +7 -0
- package/dist/index.d.ts +19 -18
- package/dist/index.js +25 -24
- package/dist/landing-Bs0aMIsR.js +2049 -0
- package/dist/{loadCatalog-BJwcyX8i.d.ts → loadCatalog-C4h9SmJs.d.ts} +2 -0
- package/dist/{loadCatalog-C1kms5sO.js → loadCatalog-DsEKSY3U.js} +5 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +4 -4
- package/dist/{locale-CHhsd9Mq.js → locale-C-Y-13BP.js} +1 -1
- package/dist/motionTokenDefaults-EFzpiAF5.js +38 -0
- package/dist/timeFormat-CqrwFE42.js +203 -0
- package/dist/{timestamp-BMYQsFDj.js → timestamp-saJUedIU.js} +4 -2
- package/dist/tokenName-0U-WEH09.js +36 -0
- package/dist/unicodeDigits-_BYIJcAu.js +46 -0
- package/dist/useAnimatedLayout-C0koWm4a.d.ts +56 -0
- package/dist/{useTimeValue-_XW9g2V1.js → useTimeValue-CcKrnO8z.js} +13 -6
- package/package.json +1 -1
- package/styles/calendar.css +5 -1
- package/styles/table.css +19 -0
- package/styles/timestamp.css +22 -10
- package/dist/{index-D8lv2BiD.d.ts → index-J6YRJ7Ul.d.ts} +1 -1
|
@@ -8,7 +8,7 @@ import { c as TextType, l as TextWeight, n as TextColor, o as TextSize } from ".
|
|
|
8
8
|
import { f as LinkColor, o as AvatarShape, p as LinkProps, s as AvatarSize } from "./index-Dc52pmSr.js";
|
|
9
9
|
import "./index-B9WzWqzk.js";
|
|
10
10
|
import "./index-CFfXQMkd.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-DFLPv9io.js";
|
|
12
12
|
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";
|
|
@@ -16,58 +16,59 @@ import { P as DropdownMenuSubMenuPresentation } from "./DropdownMenuRadioItem.vu
|
|
|
16
16
|
import { a as NavItemSize, s as NavLinkComponent } from "./types-BG23kC3S.js";
|
|
17
17
|
import "./index-CfXW4km8.js";
|
|
18
18
|
import "./index-CuW4AQ7M.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-
|
|
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-BLnvQ4Oj.js";
|
|
20
20
|
import { n as CardElevation, o as CardVariant, r as CardProps, s as CardVariantMap } from "./index-CTjkJP4x.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-ZbNwGVkS.js";
|
|
22
22
|
import "./index-CyMStZq4.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";
|
|
26
26
|
import "./index-iHf0OCyv.js";
|
|
27
27
|
import "./index-ChqMaV6N.js";
|
|
28
|
-
import "./
|
|
28
|
+
import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
|
|
29
|
+
import "./index-yQc-te9a.js";
|
|
29
30
|
import "./index-Qdbssopn.js";
|
|
30
31
|
import "./index-QnlWyUxN.js";
|
|
31
32
|
import { a as PaddingInput, i as SectionVariant, o as SizeValue } from "./types-uFMH9NaM.js";
|
|
32
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
34
|
import { u as MenuDrillIn } from "./index-BlhbRf58.js";
|
|
34
35
|
import { i as EntryErrorBehavior } from "./index-DcisK4t8.js";
|
|
35
|
-
import { f as DialogPurpose, l as DialogPadding } from "./index-
|
|
36
|
+
import { f as DialogPurpose, l as DialogPadding } from "./index-CBOv5j3c.js";
|
|
36
37
|
import "./index-D05JGsT3.js";
|
|
37
38
|
import "./index--Xrukl7L.js";
|
|
38
39
|
import "./index-GmoeIuhl.js";
|
|
39
40
|
import "./index-DDAcxZAP.js";
|
|
40
41
|
import "./index-BTljzczH.js";
|
|
41
42
|
import "./index-waTkqxTz.js";
|
|
42
|
-
import "./index-
|
|
43
|
+
import "./index-Otl047R1.js";
|
|
43
44
|
import "./index-CXOAA8us.js";
|
|
44
45
|
import "./index-BMVI4cM5.js";
|
|
45
46
|
import "./index-CsYDrQ9R.js";
|
|
46
47
|
import "./index-CEjvYAUZ.js";
|
|
47
|
-
import "./index-
|
|
48
|
+
import "./index-BdZCLUgY.js";
|
|
48
49
|
import "./index-fuztfDLA.js";
|
|
49
50
|
import "./index-fd--aE4B.js";
|
|
50
51
|
import "./index-CCpcerMA.js";
|
|
51
52
|
import "./index-CitZGSn0.js";
|
|
52
53
|
import "./index-9tZJgo0R.js";
|
|
53
|
-
import "./index-
|
|
54
|
+
import "./index-CQ-sq76o.js";
|
|
54
55
|
import "./index-C9ZssPUV.js";
|
|
55
56
|
import "./index-utZGF4GR.js";
|
|
56
57
|
import "./index-BeR-1LgF.js";
|
|
57
|
-
import "./index-
|
|
58
|
+
import "./index-CULdl3Dg.js";
|
|
58
59
|
import "./index-C1zwvxPH.js";
|
|
59
60
|
import { h as NavMenuFocusRequest } from "./index-CryFtTT6.js";
|
|
60
61
|
import "./index-B1t1oQWH.js";
|
|
61
62
|
import "./index-BDZCJ9ri.js";
|
|
62
63
|
import "./index-Cy1rEWC-.js";
|
|
63
64
|
import "./index-lmd9LZKB.js";
|
|
64
|
-
import "./index-
|
|
65
|
+
import "./index-BapQGST1.js";
|
|
65
66
|
import "./index-COgrQZIL.js";
|
|
66
67
|
import "./index-BL4mH8aK.js";
|
|
67
68
|
import "./index-fAZaRruV.js";
|
|
68
69
|
import "./index-CEv_AvOg.js";
|
|
69
70
|
import "./index-C93nwgTW.js";
|
|
70
|
-
import "./index-
|
|
71
|
+
import "./index-C9OzEvE_.js";
|
|
71
72
|
import "./index-q7fVtnQc.js";
|
|
72
73
|
import "./index-Dt_9IR_M.js";
|
|
73
74
|
import "./index-DxR6cZBf.js";
|
|
@@ -79,12 +80,12 @@ import "./index-dWlCpnua.js";
|
|
|
79
80
|
import "./index-rdwI-mcm.js";
|
|
80
81
|
import "./index-BfoazhEu.js";
|
|
81
82
|
import "./index-CtlkhQ55.js";
|
|
82
|
-
import "./index-
|
|
83
|
+
import "./index-BA8exXNP.js";
|
|
83
84
|
import "./index-bk5kfP_c.js";
|
|
84
|
-
import "./index-
|
|
85
|
+
import "./index-J6YRJ7Ul.js";
|
|
85
86
|
import "./index-CH-xSiJz.js";
|
|
86
|
-
import "./index-
|
|
87
|
-
import "./index-
|
|
87
|
+
import "./index-eCp-ElSp.js";
|
|
88
|
+
import "./index-CKnr0JlT.js";
|
|
88
89
|
import "./index-DGXCnzOL.js";
|
|
89
90
|
import "./index-DGV6SCWO.js";
|
|
90
91
|
import { CSSProperties, Component, ComputedRef, InjectionKey, MaybeRefOrGetter, Ref, StyleValue, VNode, VNodeChild } from "vue";
|
|
@@ -274,11 +275,11 @@ declare const __VLS_base$49: import("vue").DefineComponent<CalendarProps, Calend
|
|
|
274
275
|
}>, {
|
|
275
276
|
modelValue: Date | null;
|
|
276
277
|
mode: "single" | "range";
|
|
278
|
+
disabled: boolean;
|
|
277
279
|
numberOfMonths: 1 | 2;
|
|
278
280
|
weekStartsOn: WeekStartsOn;
|
|
279
|
-
disabled: boolean;
|
|
280
|
-
minRangeSpan: number;
|
|
281
281
|
range: CalendarRangeValue | null;
|
|
282
|
+
minRangeSpan: number;
|
|
282
283
|
hasOutsideDays: boolean;
|
|
283
284
|
hasWeekNumbers: boolean;
|
|
284
285
|
hasVariableRowCount: boolean;
|
|
@@ -1236,9 +1237,9 @@ declare const __VLS_base$39: import("vue").DefineComponent<DateInputProps, {
|
|
|
1236
1237
|
isLoading: boolean;
|
|
1237
1238
|
modelValue: Date | null;
|
|
1238
1239
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1239
|
-
numberOfMonths: 1 | 2;
|
|
1240
1240
|
disabled: boolean;
|
|
1241
1241
|
clearable: boolean;
|
|
1242
|
+
numberOfMonths: 1 | 2;
|
|
1242
1243
|
format: DateInputFormat;
|
|
1243
1244
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1244
1245
|
declare const __VLS_export$46: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
|
|
@@ -1316,8 +1317,8 @@ declare const __VLS_export$45: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
1316
1317
|
modelValue: ISODateRange | null;
|
|
1317
1318
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1318
1319
|
hasClear: boolean;
|
|
1319
|
-
monthCount: number;
|
|
1320
1320
|
minRangeSpan: number;
|
|
1321
|
+
monthCount: number;
|
|
1321
1322
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1322
1323
|
declare const _default$45: typeof __VLS_export$45;
|
|
1323
1324
|
//#endregion
|
|
@@ -1398,7 +1399,6 @@ declare const __VLS_export$44: import("vue").DefineComponent<__VLS_PublicProps$1
|
|
|
1398
1399
|
isLoading: boolean;
|
|
1399
1400
|
modelValue: string | null;
|
|
1400
1401
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
1401
|
-
hourFormat: HourFormat;
|
|
1402
1402
|
hasClear: boolean;
|
|
1403
1403
|
hasSeconds: boolean;
|
|
1404
1404
|
timeIncrement: 1 | 5 | 10 | 15 | 30;
|
|
@@ -2872,6 +2872,11 @@ interface UseTableRowExpansionConfig<T extends Record<string, unknown>> {
|
|
|
2872
2872
|
getIsItemExpandable?: (item: T) => boolean;
|
|
2873
2873
|
panelVariant?: 'muted' | 'transparent';
|
|
2874
2874
|
hasRowClickExpansion?: boolean;
|
|
2875
|
+
/**
|
|
2876
|
+
* `useAnimatedLayout` 返回的句柄。传了之后,面板展开或收起时下面的行滑到新位置,
|
|
2877
|
+
* 展开的面板播放入场,箭头按同样的节奏转动。
|
|
2878
|
+
*/
|
|
2879
|
+
animatedLayout?: AnimatedLayout | null;
|
|
2875
2880
|
}
|
|
2876
2881
|
declare function useTableRowExpansion<T extends Record<string, unknown>>(config: MaybeRefOrGetter<UseTableRowExpansionConfig<T>>): TablePlugin<T>;
|
|
2877
2882
|
//#endregion
|
|
@@ -3352,6 +3357,21 @@ type __VLS_WithSlots$11<T, S> = T & {
|
|
|
3352
3357
|
};
|
|
3353
3358
|
};
|
|
3354
3359
|
//#endregion
|
|
3360
|
+
//#region src/TimeInput/useTypedTime.d.ts
|
|
3361
|
+
/**
|
|
3362
|
+
* 字段为什么不收打进来的文字。通过 `entryErrorChange` 报给调用方,方便它自己措辞。
|
|
3363
|
+
*
|
|
3364
|
+
* - `unreadable`:读不成时间的文字
|
|
3365
|
+
* - `outOfRange`:早于 `min` 或晚于 `max`
|
|
3366
|
+
*/
|
|
3367
|
+
interface TimeInputEntryError {
|
|
3368
|
+
kind: 'unreadable' | 'outOfRange';
|
|
3369
|
+
/** 打进来的文字。 */
|
|
3370
|
+
text: string;
|
|
3371
|
+
/** 文字指向的 ISO 时间,只有 `outOfRange` 带。 */
|
|
3372
|
+
time?: string;
|
|
3373
|
+
}
|
|
3374
|
+
//#endregion
|
|
3355
3375
|
//#region src/TimeInput/types.d.ts
|
|
3356
3376
|
type TimeInputSize = 'sm' | 'md' | 'lg';
|
|
3357
3377
|
interface TimeInputProps extends FieldPartStylingProps {
|
|
@@ -3360,6 +3380,7 @@ interface TimeInputProps extends FieldPartStylingProps {
|
|
|
3360
3380
|
id?: string;
|
|
3361
3381
|
description?: string;
|
|
3362
3382
|
placeholder?: string;
|
|
3383
|
+
/** 时制。不传就跟随当前语言的时制(`en-US` 12 小时,`en-GB`、`de-DE`、`zh-CN` 24 小时)。 */
|
|
3363
3384
|
hourFormat?: HourFormat;
|
|
3364
3385
|
hasSeconds?: boolean;
|
|
3365
3386
|
increment?: number;
|
|
@@ -3387,10 +3408,17 @@ interface TimeInputProps extends FieldPartStylingProps {
|
|
|
3387
3408
|
status?: FieldStatusInput;
|
|
3388
3409
|
statusVariant?: FieldStatusVariant | 'tooltip';
|
|
3389
3410
|
width?: number | string;
|
|
3411
|
+
/**
|
|
3412
|
+
* 打字被拒什么时候亮出来:`complete` 在时间打完整时就亮,`blur-or-enter` 等到 Enter 或失焦。
|
|
3413
|
+
* 不传时用最近 FormLayout 的 `defaultEntryErrorBehavior`,再没有就是 `complete`。
|
|
3414
|
+
*/
|
|
3415
|
+
entryErrorBehavior?: EntryErrorBehavior;
|
|
3390
3416
|
}
|
|
3391
3417
|
interface TimeInputEmits {
|
|
3392
3418
|
'update:modelValue': [value: string | null];
|
|
3393
3419
|
'change': [value: string | null];
|
|
3420
|
+
/** 字段对打进来的文字的拒绝开始、改变或结束时触发,结束时参数是 `null`。 */
|
|
3421
|
+
'entryErrorChange': [error: TimeInputEntryError | null];
|
|
3394
3422
|
}
|
|
3395
3423
|
//#endregion
|
|
3396
3424
|
//#region src/TimeInput/TimeInput.vue.d.ts
|
|
@@ -3402,13 +3430,14 @@ type __VLS_PublicProps$2 = __VLS_Props$2 & __VLS_ModelProps$2;
|
|
|
3402
3430
|
declare const __VLS_export$13: import("vue").DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3403
3431
|
change: (value: string | null) => any;
|
|
3404
3432
|
"update:modelValue": (...args: unknown[]) => any;
|
|
3433
|
+
entryErrorChange: (error: TimeInputEntryError | null) => any;
|
|
3405
3434
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
3406
3435
|
onChange?: ((value: string | null) => any) | undefined;
|
|
3407
3436
|
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
3437
|
+
onEntryErrorChange?: ((error: TimeInputEntryError | null) => any) | undefined;
|
|
3408
3438
|
}>, {
|
|
3409
3439
|
modelValue: string | null;
|
|
3410
3440
|
statusVariant: "tooltip" | FieldStatusVariant;
|
|
3411
|
-
hourFormat: HourFormat;
|
|
3412
3441
|
hasClear: boolean;
|
|
3413
3442
|
hasSeconds: boolean;
|
|
3414
3443
|
increment: number;
|
|
@@ -3431,6 +3460,10 @@ declare function formatRelativeTime(date: Date, now: Date, locale: string, style
|
|
|
3431
3460
|
//#region src/Timestamp/tooltipEntries.d.ts
|
|
3432
3461
|
type TimestampTooltipFormat = InstantFormat;
|
|
3433
3462
|
interface TimestampTooltipEntry {
|
|
3463
|
+
/**
|
|
3464
|
+
* IANA 时区,如 `'UTC'`、`'America/Los_Angeles'`。不写就跟随 Timestamp 的 `timezoneID`,
|
|
3465
|
+
* 它也没写就是观看者自己的时区;写 `'local'` 永远是观看者的时区。
|
|
3466
|
+
*/
|
|
3434
3467
|
timezoneID?: string;
|
|
3435
3468
|
format?: TimestampTooltipFormat;
|
|
3436
3469
|
label?: string;
|
|
@@ -3440,8 +3473,15 @@ interface TimestampTooltipLine {
|
|
|
3440
3473
|
label?: string;
|
|
3441
3474
|
value: string;
|
|
3442
3475
|
isCopyable: boolean;
|
|
3476
|
+
/** 这一行时区的完整名字。没有标签的行靠它在描述列表里有名字。 */
|
|
3477
|
+
zoneName?: string;
|
|
3443
3478
|
}
|
|
3444
|
-
|
|
3479
|
+
/**
|
|
3480
|
+
* 没写 `timezoneID` 的行跟随 `defaultTimezoneID`(已经解析过的,Timestamp 自己的 `timezoneID`),
|
|
3481
|
+
* 写了 `'local'` 的行仍然是观看者的时区。固定下来的时区算一个时区,
|
|
3482
|
+
* 所以挨着它的观看者时区那一行会带上缩写。
|
|
3483
|
+
*/
|
|
3484
|
+
declare function formatTooltipLines(date: Date, entries: readonly TimestampTooltipEntry[], locale: string, defaultTimezoneID?: string): TimestampTooltipLine[];
|
|
3445
3485
|
//#endregion
|
|
3446
3486
|
//#region src/Timestamp/types.d.ts
|
|
3447
3487
|
type TimestampFormat = 'relative' | 'relative_short' | 'auto' | 'date' | 'date_long' | 'date_weekday' | 'date_time' | 'time' | 'system_date' | 'system_date_time' | 'system_time' | 'unix_seconds';
|
|
@@ -3450,6 +3490,13 @@ interface TimestampProps {
|
|
|
3450
3490
|
value: string | number;
|
|
3451
3491
|
/** @default 'auto' */
|
|
3452
3492
|
format?: TimestampFormat;
|
|
3493
|
+
/**
|
|
3494
|
+
* 绝对格式所用的 IANA 时区,如 `'UTC'`、`'America/Los_Angeles'`。不写(或写 `'local'`)就是观看者自己的时区。
|
|
3495
|
+
* 写明时区后,服务端和浏览器写出同一段文字,是显示绝对时间又不想水合不一致的办法;
|
|
3496
|
+
* 不写则服务端的文字取决于服务端所在的时区。相对格式不指向具体时刻,它显示的文字不受影响,
|
|
3497
|
+
* `tooltipEntries` 里没写 `timezoneID` 的行仍然跟随它。不认识的标识在开发期警告一次,回到观看者的时区。
|
|
3498
|
+
*/
|
|
3499
|
+
timezoneID?: string;
|
|
3453
3500
|
/** Seconds before `auto` switches from relative to date_time. @default 604800 */
|
|
3454
3501
|
autoThreshold?: number;
|
|
3455
3502
|
/** @default true */
|
|
@@ -4056,4 +4103,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
4056
4103
|
};
|
|
4057
4104
|
};
|
|
4058
4105
|
//#endregion
|
|
4059
|
-
export { FormatInstantOptions as $,
|
|
4106
|
+
export { FormatInstantOptions as $, CheckboxInputEmits as $a, DateInputFormatName as $i, SwitchEmits as $n, OverflowListCollapsedItem as $r, useTableSortableState as $t, ToggleButtonEmits as A, ContextMenuRadioOptionData as Aa, FileInputValue as Ai, useTableColumnSettings as An, SelectableCardSlots as Ar, _default$18 as At, ToggleButtonPressedChangeHandler as B, _default$52 as Ba, _default$44 as Bi, useTableColumnResize as Bn, RadioGroupEmits as Br, TableTreeRowMeta as Bt, TopNavMenuProps as C, ContextMenuItemProps as Ca, InfoTipSize as Ci, UseTableFilteringConfig as Cn, BannerSlots as Co, SideNavResizable as Cr, TextAreaSize as Ct, _default$11 as D, ContextMenuPresentation as Da, FileInputProps as Di, ColumnSettingsOption as Dn, _default$30 as Dr, TextAreaWrap as Dt, _default$10 as E, ContextMenuOption as Ea, FileInputMode as Ei, useTableFiltering as En, useSideNavCollapse as Er, TextAreaStatusType as Et, ToggleButtonGroupProps as F, ContextMenuSubMenuProps as Fa, DrawerHeaderProps as Fi, columnResizeDirectionSign as Fn, RadioListItemProps as Fr, _default$23 as Ft, TimestampColor as G, _default$54 as Ga, DateRange as Gi, pixel as Gn, RadioOrientation as Gr, useTableTreeState as Gt, ToggleButtonSize as H, ClickableCardProps as Ha, DateTimeInputProps as Hi, cellText as Hn, RadioGroupSlots as Hr, UseTableTreeStateConfig as Ht, ToggleButtonGroupSingleProps as I, ContextMenuSubMenuSlots as Ia, DrawerHeaderSlots as Ii, columnResizeMinWidth as In, _default$33 as Ir, UseTableColumnsVirtualizationConfig as It, TimestampTooltipEntry as J, CheckboxListItemProps as Ja, DateRangePreset as Ji, resolveColumnWidths as Jn, RadioSlots as Jr, resolveStickySide as Jt, TimestampFormat as K, CheckboxListEmits as Ka, DateRangeInputEmits as Ki, proportional as Kn, RadioProps as Kr, StickySide as Kt, ToggleButtonGroupSlots as L, ContextMenuTriggerElement as La, DrawerPlacement as Li, columnResizeStep as Ln, _default$34 as Lr, UseTableRowsVirtualizationConfig as Lt, ToggleButtonGroupEmits as M, ContextMenuSize as Ma, _default$43 as Mi, ColumnResizePlan as Mn, ScrollableAreaProps as Mr, _default$20 as Mt, ToggleButtonGroupMultipleProps as N, ContextMenuSlots as Na, DrawerEmits as Ni, ColumnResizeSnapshot as Nn, ScrollableAreaSlots as Nr, _default$21 as Nt, ToggleButtonChangeAction as O, ContextMenuProps as Oa, FileInputSize as Oi, TableColumnSettingsState as On, SelectableCardEmits as Or, _default$16 as Ot, ToggleButtonGroupOrientation as P, ContextMenuSubMenuEmits as Pa, DrawerHeaderEmits as Pi, UseTableColumnResizeConfig as Pn, _default$32 as Pr, _default$22 as Pt, formatRelativeTime as Q, CheckboxInputChangeEvent as Qa, DateInputFormat as Qi, SwitchChangeEvent as Qn, _default$36 as Qr, useTableSortable as Qt, ToggleButtonGroupType as R, ContextMenuVariant as Ra, DrawerProps as Ri, isProportionalColumnWidth as Rn, _default$35 as Rr, useTableColumnsVirtualization as Rt, TopNavMenuItem as S, ContextMenuItemIcon as Sa, InfoTipProps as Si, UseTableFilterStateOptions as Sn, BannerProps as So, SideNavProps as Sr, TextAreaResize as St, _default$9 as T, ContextMenuItemTarget as Ta, FileInputEmits as Ti, useTableFilterState as Tn, SideNavCollapseContext as Tr, TextAreaStatus as Tt, ToggleButtonSlots as U, ClickableCardSlots as Ua, DateTimeInputSize as Ui, generateColumns as Un, RadioListProps as Ur, flattenTree as Ut, ToggleButtonProps as V, ClickableCardEmits as Va, DateTimeInputEmits as Vi, capitalize as Vn, RadioGroupProps as Vr, UseTableTreeDataConfig as Vt, _default$12 as W, _default$53 as Wa, _default$45 as Wi, paginateData as Wn, RadioOption as Wr, useTableTreeData as Wt, TimestampTooltipLine as X, _default$55 as Xa, DateInputEntryError as Xi, _default$24 as Xn, RadioStatusType as Xr, useTableStickyColumns as Xt, TimestampTooltipFormat as Y, CheckboxListProps as Ya, _default$46 as Yi, sortRows as Yn, RadioStatus as Yr, stickyOffsets as Yt, formatTooltipLines as Z, CheckboxInputChangeAction as Za, DateInputEmits as Zi, SwitchChangeAction as Zn, RadioValue as Zr, UseTableSortableConfig as Zt, TopNavMegaMenuEmits as _, ContextMenuEntry as _a, MoreMenuResolvedPresentation as _i, UseTableGroupedRowsConfig as _n, ButtonGroupSlots as _o, SideNavEmits as _r, _default$15 as _t, AvatarGroupOverflowSlots as a, DateInputStatusType as aa, NumberInputProps as ai, UseTableRowStatusConfig as an, CarouselHandle as ao, SwitchStatus as ar, TimeInputSize as at, TopNavMegaMenuProps as b, ContextMenuItemData as ba, _default$39 as bi, useTableGroupedRows as bn, BannerContainer as bo, SideNavItemEmits as br, TextAreaEmits as bt, _default$3 as c, _default$49 as ca, MoreMenuDivider as ci, useTableRowIndex as cn, _default$57 as co, _default$26 as cr, TextInputChangeAction as ct, _default$6 as d, useContextMenu as da, MoreMenuInitialFocus as di, TablePaginationVariant as dn, CalendarHandleRef as do, _default$29 as dr, TextInputProps as dt, DateInputNativePicker as ea, OverflowListEmits as ei, TableCustomRowStatus as en, CheckboxInputProps as eo, SwitchLabelPosition as er, InstantFormat as et, _default$7 as f, useContextMenuSize as fa, MoreMenuItem as fi, UseTablePaginationConfig as fn, CalendarProps as fo, SideNavCollapseButtonProps as fr, TextInputSize as ft, TopNavItemProps as g, ContextMenuEmits as ga, MoreMenuProps as gi, useTableInfiniteScroll as gn, ButtonGroupProps as go, SideNavControlledCollapsible as gr, TextInputType as gt, TopNavItemEmits as h, ContextMenuDividerProps as ha, MoreMenuPresentation as hi, UseTableInfiniteScrollConfig as hn, _default$58 as ho, SideNavCollapsible as hr, TextInputStatusType as ht, AvatarGroupOverflowProps as i, DateInputStatus as ia, NumberInputEmits as ii, TableSemanticRowStatus as in, CarouselGap as io, SwitchSlots as ir, TimeInputProps as it, ToggleButtonGroupBaseProps as j, ContextMenuSection as ja, _default$42 as ji, useTableColumnSettingsState as jn, _default$31 as jr, _default$19 as jt, ToggleButtonElevation as k, ContextMenuRadioData as ka, FileInputStatus as ki, UseTableColumnSettingsConfig as kn, SelectableCardProps as kr, _default$17 as kt, _default$4 as l, _default$50 as la, MoreMenuEmits as li, UseTableRowExpansionConfig as ln, CalendarEmits as lo, _default$27 as lr, TextInputChangeEvent as lt, TopNavHeadingProps as m, ContextMenuDividerData as ma, MoreMenuOption as mi, isInteractiveRowClick as mn, CalendarSlots as mo, SideNavCollapseButtonSlots as mr, TextInputStatus as mt, _default$1 as n, DateInputProps as na, OverflowListProps as ni, TableRowStatusColor as nn, CheckboxValue as no, SwitchProps as nr, _default$13 as nt, AvatarGroupProps as o, _default$47 as oa, NumberInputStatus as oi, useTableRowStatus as on, CarouselProps as oo, SwitchStatusType as or, TimeInputEntryError as ot, _default$8 as p, ContextMenuCheckboxData as pa, MoreMenuItemVariant as pi, useTablePagination as pn, CalendarRangeValue as po, SideNavCollapseButtonSize as pr, TextInputSlots as pt, TimestampProps as q, CheckboxListItemEmits as qa, DateRangeInputProps as qi, resolveColumnFloorWidths as qn, RadioSize as qr, UseTableStickyColumnsConfig as qt, AvatarGroupOverflowEmits as r, DateInputSlots as ra, _default$37 as ri, TableRowStatusName as rn, _default$56 as ro, SwitchSize as rr, TimeInputEmits as rt, _default$2 as s, _default$48 as sa, _default$38 as si, UseTableRowIndexConfig as sn, CarouselSlots as so, _default$25 as sr, _default$14 as st, _default as t, DateInputPresentation as ta, OverflowListItem as ti, TableRowStatus as tn, CheckboxInputSlots as to, SwitchLabelSpacing as tr, formatInstant as tt, _default$5 as u, _default$51 as ua, MoreMenuIcon as ui, useTableRowExpansion as un, CalendarHandle as uo, _default$28 as ur, TextInputEmits as ut, TopNavMegaMenuFeaturedCardProps as v, ContextMenuGroupProps as va, MoreMenuSection as vi, buildGroupedRows as vn, ButtonGroupOrientation as vo, SideNavHandle as vr, TextAreaChangeAction as vt, TopNavProps as w, ContextMenuItemSlots as wa, _default$41 as wi, applyTableFilters as wn, BannerStatus as wo, SideNavSectionProps as wr, TextAreaSlots as wt, TopNavMenuEmits as x, ContextMenuItemEmits as xa, _default$40 as xi, TableFilterStateHandle as xn, BannerEmits as xo, SideNavItemProps as xr, TextAreaProps as xt, TopNavMegaMenuItemProps as y, ContextMenuGroupSlots as ya, MoreMenuSlots as yi, isTableGroupHeader as yn, _default$59 as yo, SideNavHeadingProps as yr, TextAreaChangeEvent as yt, ToggleButtonGroupValue as z, ContextMenuWidth as za, DrawerSlots as zi, resizeColumnWidths as zn, RadioChangeEvent as zr, useTableRowsVirtualization as zt };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as AnimatedLayout } from "./useAnimatedLayout-C0koWm4a.js";
|
|
1
2
|
import { ComputedRef, MaybeRefOrGetter, Ref, VNode } from "vue";
|
|
2
3
|
//#region src/Collapsible/types.d.ts
|
|
3
4
|
/**
|
|
@@ -48,6 +49,12 @@ interface CollapsibleProps {
|
|
|
48
49
|
* `value` keeps its own open state even when it sits inside a group.
|
|
49
50
|
*/
|
|
50
51
|
value?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The handle from `useAnimatedLayout({ containerRef })`. With it, opening and
|
|
54
|
+
* closing glides the content after this Collapsible, up to that container,
|
|
55
|
+
* instead of jumping, and the chevron turns on the same timing.
|
|
56
|
+
*/
|
|
57
|
+
animatedLayout?: AnimatedLayout;
|
|
51
58
|
}
|
|
52
59
|
interface CollapsibleEmits {
|
|
53
60
|
/**
|