@astryx-vue/lab 0.4.0 → 0.5.1
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 +2 -0
- package/dist/index.d.ts +172 -24
- package/dist/index.js +590 -36
- package/lab.css +3 -0
- package/package.json +3 -3
- package/styles/chat-emoji-picker.css +80 -0
- package/styles/chat-reaction-bar.css +96 -0
- package/styles/code-editor.css +95 -0
package/README.md
CHANGED
|
@@ -31,6 +31,8 @@ Or pick single files: `@astryx-vue/lab/styles/stat.css`, `.../log-stream.css`, a
|
|
|
31
31
|
| `ListInput` | Editable records with custom input columns, validation, and reordering. |
|
|
32
32
|
| `MobileTokenizer` | Touch-friendly multi-select with search and creation in a bottom sheet. |
|
|
33
33
|
| `TransferList` | Dual-panel selection with search, grouping, and reordering. |
|
|
34
|
+
| `ChatEmojiPicker` | Popover emoji grid with shortname filtering and arrow-key navigation. |
|
|
35
|
+
| `ChatReactionBar` | Emoji reaction pills under a message, with an optional add button. |
|
|
34
36
|
|
|
35
37
|
## Documentation
|
|
36
38
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,120 @@
|
|
|
1
1
|
import { MaybeRef, VNodeChild } from "vue";
|
|
2
|
-
import { FieldStatusInput, IconSize, PopoverAlignment, PopoverPlacement, SyntaxThemeDefinition } from "@astryx-vue/core";
|
|
2
|
+
import { FieldStatusInput, IconSize, PopoverAlignment, PopoverPlacement, SyntaxThemeDefinition, TokenLine } from "@astryx-vue/core";
|
|
3
|
+
//#region src/Chat/types.d.ts
|
|
4
|
+
interface ChatEmojiOption {
|
|
5
|
+
/** 表情字符,例如 "🎉"。 */
|
|
6
|
+
emoji: string;
|
|
7
|
+
/** 短名,用来过滤,也用来生成按钮的无障碍名,例如 "tada"。 */
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
interface ChatEmojiPickerProps {
|
|
11
|
+
/**
|
|
12
|
+
* 网格里的表情,每行 8 个。
|
|
13
|
+
* @default DEFAULT_CHAT_EMOJIS
|
|
14
|
+
*/
|
|
15
|
+
emojis?: readonly ChatEmojiOption[];
|
|
16
|
+
/**
|
|
17
|
+
* 弹出层对话框的无障碍名。
|
|
18
|
+
* 不传时用内置的 “Pick an emoji”。
|
|
19
|
+
*/
|
|
20
|
+
label?: string;
|
|
21
|
+
/**
|
|
22
|
+
* 过滤框的占位符和隐藏标签。
|
|
23
|
+
* 不传时用 `@astryx.emojiPicker.searchLabel`。
|
|
24
|
+
*/
|
|
25
|
+
searchLabel?: string;
|
|
26
|
+
}
|
|
27
|
+
interface ChatEmojiPickerEmits {
|
|
28
|
+
/** 选中的表情。弹出层随后关闭,过滤词清空。 */
|
|
29
|
+
select: [emoji: string];
|
|
30
|
+
}
|
|
31
|
+
interface ChatEmojiPickerSlots {
|
|
32
|
+
/** 触发元素,里面要有一个按钮。 */
|
|
33
|
+
default?: () => unknown;
|
|
34
|
+
}
|
|
35
|
+
interface ChatReaction {
|
|
36
|
+
/** 表情字符,例如 "🎉"。 */
|
|
37
|
+
emoji: string;
|
|
38
|
+
/** 用这个表情回应的人数。 */
|
|
39
|
+
count: number;
|
|
40
|
+
/**
|
|
41
|
+
* 当前用户是不是已经回应过。
|
|
42
|
+
* 为真时胶囊用强调色,并且 `aria-pressed="true"`。
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
isSelected?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* 给人看的说明,同时作为提示和无障碍名,
|
|
48
|
+
* 例如 "Ana and Dana reacted with 🎉"。
|
|
49
|
+
* 不传时按数量生成 “N reaction(s) with …”。
|
|
50
|
+
*/
|
|
51
|
+
label?: string;
|
|
52
|
+
}
|
|
53
|
+
interface ChatReactionBarProps {
|
|
54
|
+
/** 按显示顺序排列的回应。 */
|
|
55
|
+
reactions: readonly ChatReaction[];
|
|
56
|
+
/**
|
|
57
|
+
* 添加回应时,选择器里的表情。
|
|
58
|
+
* @default DEFAULT_CHAT_EMOJIS
|
|
59
|
+
*/
|
|
60
|
+
emojis?: readonly ChatEmojiOption[];
|
|
61
|
+
/**
|
|
62
|
+
* 添加按钮和选择器对话框的无障碍名。
|
|
63
|
+
* 不传时用 `@astryx.comments.addReaction`。
|
|
64
|
+
*/
|
|
65
|
+
addLabel?: string;
|
|
66
|
+
/**
|
|
67
|
+
* 这一组回应的无障碍名。
|
|
68
|
+
* 不传时用内置的 “Reactions”。
|
|
69
|
+
*/
|
|
70
|
+
label?: string;
|
|
71
|
+
}
|
|
72
|
+
interface ChatReactionBarEmits {
|
|
73
|
+
/** 用户点了某个已有回应。 */
|
|
74
|
+
toggle: [emoji: string];
|
|
75
|
+
/**
|
|
76
|
+
* 用户从选择器里新加了一个表情。
|
|
77
|
+
* 只有监听了这个事件,末尾才会出现添加按钮。
|
|
78
|
+
*/
|
|
79
|
+
add: [emoji: string];
|
|
80
|
+
}
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/Chat/ChatEmojiPicker.vue.d.ts
|
|
83
|
+
type __VLS_Slots$7 = ChatEmojiPickerSlots;
|
|
84
|
+
declare const __VLS_base$7: import("vue").DefineComponent<ChatEmojiPickerProps, {
|
|
85
|
+
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
86
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
87
|
+
select: (emoji: string) => any;
|
|
88
|
+
}, string, import("vue").PublicProps, Readonly<ChatEmojiPickerProps> & Readonly<{
|
|
89
|
+
onSelect?: ((emoji: string) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
declare const __VLS_export$14: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
92
|
+
declare const _default: typeof __VLS_export$14;
|
|
93
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
94
|
+
new (): {
|
|
95
|
+
$slots: S;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/Chat/ChatReactionBar.vue.d.ts
|
|
100
|
+
declare const __VLS_export$13: import("vue").DefineComponent<ChatReactionBarProps, {
|
|
101
|
+
element: Readonly<import("vue").ShallowRef<HTMLDivElement | null>>;
|
|
102
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
103
|
+
add: (emoji: string) => any;
|
|
104
|
+
toggle: (emoji: string) => any;
|
|
105
|
+
}, string, import("vue").PublicProps, Readonly<ChatReactionBarProps> & Readonly<{
|
|
106
|
+
onAdd?: ((emoji: string) => any) | undefined;
|
|
107
|
+
onToggle?: ((emoji: string) => any) | undefined;
|
|
108
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
109
|
+
declare const _default$1: typeof __VLS_export$13;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/Chat/emojis.d.ts
|
|
112
|
+
/**
|
|
113
|
+
* 两行常用回应。调用方可以用 `emojis` 换成自己的一组。
|
|
114
|
+
* 内容和原版 `DEFAULT_CHAT_EMOJIS` 一致。
|
|
115
|
+
*/
|
|
116
|
+
export declare const DEFAULT_CHAT_EMOJIS: readonly ChatEmojiOption[];
|
|
117
|
+
//#endregion
|
|
3
118
|
//#region src/CircularProgress/types.d.ts
|
|
4
119
|
/** Variants a theme can extend through declaration merging in TypeScript. */
|
|
5
120
|
interface CircularProgressVariantMap {
|
|
@@ -77,14 +192,47 @@ declare const __VLS_base$6: import("vue").DefineComponent<CircularProgressProps,
|
|
|
77
192
|
isIndeterminate: boolean;
|
|
78
193
|
isDisabled: boolean;
|
|
79
194
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
80
|
-
declare const __VLS_export$
|
|
81
|
-
declare const _default: typeof __VLS_export$
|
|
195
|
+
declare const __VLS_export$12: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
196
|
+
declare const _default$2: typeof __VLS_export$12;
|
|
82
197
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
83
198
|
new (): {
|
|
84
199
|
$slots: S;
|
|
85
200
|
};
|
|
86
201
|
};
|
|
87
202
|
//#endregion
|
|
203
|
+
//#region src/CodeEditor/types.d.ts
|
|
204
|
+
interface CodeEditorProps {
|
|
205
|
+
/** 受控文本。 */
|
|
206
|
+
value: string;
|
|
207
|
+
/** 高亮语言,默认 plaintext。 */
|
|
208
|
+
language?: string;
|
|
209
|
+
/** 可编辑区域的无障碍名称。 */
|
|
210
|
+
label: string;
|
|
211
|
+
hasLineNumbers?: boolean;
|
|
212
|
+
isReadOnly?: boolean;
|
|
213
|
+
placeholder?: string;
|
|
214
|
+
maxHeight?: number | string;
|
|
215
|
+
size?: 'sm' | 'md';
|
|
216
|
+
tokenizer?: (code: string, language: string) => TokenLine[];
|
|
217
|
+
/** 告诉读屏用户如何离开 Tab 缩进区域。 */
|
|
218
|
+
escapeHint?: string;
|
|
219
|
+
}
|
|
220
|
+
interface CodeEditorEmits {
|
|
221
|
+
change: [value: string];
|
|
222
|
+
}
|
|
223
|
+
//#endregion
|
|
224
|
+
//#region src/CodeEditor/CodeEditor.vue.d.ts
|
|
225
|
+
declare const __VLS_export$11: import("vue").DefineComponent<CodeEditorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
226
|
+
change: (value: string) => any;
|
|
227
|
+
}, string, import("vue").PublicProps, Readonly<CodeEditorProps> & Readonly<{
|
|
228
|
+
onChange?: ((value: string) => any) | undefined;
|
|
229
|
+
}>, {
|
|
230
|
+
size: "md" | "sm";
|
|
231
|
+
language: string;
|
|
232
|
+
escapeHint: string;
|
|
233
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
234
|
+
declare const _default$3: typeof __VLS_export$11;
|
|
235
|
+
//#endregion
|
|
88
236
|
//#region src/DiffViewer/diffTypes.d.ts
|
|
89
237
|
/**
|
|
90
238
|
* @file diffTypes.ts
|
|
@@ -300,9 +448,9 @@ declare const __VLS_base$5: import("vue").DefineComponent<DiffViewerProps, {}, {
|
|
|
300
448
|
}>, {
|
|
301
449
|
label: string;
|
|
302
450
|
maxHeight: string | number;
|
|
303
|
-
viewMode: DiffViewerViewMode;
|
|
304
451
|
language: string;
|
|
305
452
|
hasLineNumbers: boolean;
|
|
453
|
+
viewMode: DiffViewerViewMode;
|
|
306
454
|
isWrapped: boolean;
|
|
307
455
|
inlineHighlight: DiffViewerInlineHighlight;
|
|
308
456
|
changeIndicator: DiffViewerChangeIndicator;
|
|
@@ -314,7 +462,7 @@ declare const __VLS_base$5: import("vue").DefineComponent<DiffViewerProps, {}, {
|
|
|
314
462
|
renderLineAnnotation: (ref: DiffViewerLineRef) => import("vue").VNodeChild;
|
|
315
463
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
316
464
|
declare const __VLS_export$10: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
317
|
-
declare const _default$
|
|
465
|
+
declare const _default$4: typeof __VLS_export$10;
|
|
318
466
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
319
467
|
new (): {
|
|
320
468
|
$slots: S;
|
|
@@ -399,7 +547,7 @@ declare const __VLS_base$4: import("vue").DefineComponent<InfoTipProps, {}, {},
|
|
|
399
547
|
content: string;
|
|
400
548
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
401
549
|
declare const __VLS_export$9: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
402
|
-
declare const _default$
|
|
550
|
+
declare const _default$5: typeof __VLS_export$9;
|
|
403
551
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
404
552
|
new (): {
|
|
405
553
|
$slots: S;
|
|
@@ -517,19 +665,19 @@ interface ListInputEmits<T> {
|
|
|
517
665
|
//#region src/ListInput/ListInput.vue.d.ts
|
|
518
666
|
declare const __VLS_export$8: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
519
667
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$3<ListInputProps<T> & {
|
|
520
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
521
668
|
onChange?: ((value: T[], change: ListInputChange<T>) => any) | undefined;
|
|
669
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
522
670
|
}> & (typeof globalThis extends {
|
|
523
671
|
__VLS_PROPS_FALLBACK: infer P;
|
|
524
672
|
} ? P : {});
|
|
525
673
|
expose: (exposed: {}) => void;
|
|
526
674
|
attrs: any;
|
|
527
675
|
slots: {};
|
|
528
|
-
emit: ((evt: "
|
|
676
|
+
emit: ((evt: "change", value: T[], change: ListInputChange<T>) => void) & ((evt: "update:modelValue", value: T[]) => void);
|
|
529
677
|
}>) => import("vue").VNode & {
|
|
530
678
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
531
679
|
};
|
|
532
|
-
declare const _default$
|
|
680
|
+
declare const _default$6: typeof __VLS_export$8;
|
|
533
681
|
type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
534
682
|
//#endregion
|
|
535
683
|
//#region src/LogStream/types.d.ts
|
|
@@ -615,7 +763,7 @@ declare const __VLS_base$3: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
615
763
|
hasTimestamps: boolean;
|
|
616
764
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
617
765
|
declare const __VLS_export$7: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
618
|
-
declare const _default$
|
|
766
|
+
declare const _default$7: typeof __VLS_export$7;
|
|
619
767
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
620
768
|
new (): {
|
|
621
769
|
$slots: S;
|
|
@@ -691,8 +839,8 @@ interface MobileTokenizerEmits<T extends SearchableItem = SearchableItem> {
|
|
|
691
839
|
//#region src/MobileTokenizer/MobileTokenizer.vue.d.ts
|
|
692
840
|
declare const __VLS_export$6: <T extends SearchableItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
693
841
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$2<MobileTokenizerProps<T> & {
|
|
694
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
695
842
|
onChange?: ((value: T[], change: MobileTokenizerChange<T>) => any) | undefined;
|
|
843
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
696
844
|
"onUpdate:query"?: ((query: string) => any) | undefined;
|
|
697
845
|
onChangeQuery?: ((query: string) => any) | undefined;
|
|
698
846
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
@@ -702,11 +850,11 @@ declare const __VLS_export$6: <T extends SearchableItem>(__VLS_props: NonNullabl
|
|
|
702
850
|
expose: (exposed: {}) => void;
|
|
703
851
|
attrs: any;
|
|
704
852
|
slots: {};
|
|
705
|
-
emit: ((evt: "
|
|
853
|
+
emit: ((evt: "change", value: T[], change: MobileTokenizerChange<T>) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:query", query: string) => void) & ((evt: "changeQuery", query: string) => void) & ((evt: "openChange", isOpen: boolean) => void);
|
|
706
854
|
}>) => import("vue").VNode & {
|
|
707
855
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
708
856
|
};
|
|
709
|
-
declare const _default$
|
|
857
|
+
declare const _default$8: typeof __VLS_export$6;
|
|
710
858
|
type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
711
859
|
//#endregion
|
|
712
860
|
//#region src/Stat/types.d.ts
|
|
@@ -758,7 +906,7 @@ declare const __VLS_base$2: import("vue").DefineComponent<StatProps, {}, {}, {},
|
|
|
758
906
|
size: StatSize;
|
|
759
907
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
760
908
|
declare const __VLS_export$5: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
761
|
-
declare const _default$
|
|
909
|
+
declare const _default$10: typeof __VLS_export$5;
|
|
762
910
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
763
911
|
new (): {
|
|
764
912
|
$slots: S;
|
|
@@ -906,7 +1054,7 @@ declare const __VLS_export$4: import("vue").DefineComponent<SVGIconProps, {}, {}
|
|
|
906
1054
|
variation: SVGIconVariation;
|
|
907
1055
|
color: SVGIconColor;
|
|
908
1056
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
909
|
-
declare const _default$
|
|
1057
|
+
declare const _default$9: typeof __VLS_export$4;
|
|
910
1058
|
//#endregion
|
|
911
1059
|
//#region src/SVGIcon/types-xif.d.ts
|
|
912
1060
|
/**
|
|
@@ -1090,7 +1238,7 @@ declare const __VLS_base$1: import("vue").DefineComponent<TourProps, {}, {}, {},
|
|
|
1090
1238
|
isStepCountShown: boolean;
|
|
1091
1239
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1092
1240
|
declare const __VLS_export$3: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1093
|
-
declare const _default$
|
|
1241
|
+
declare const _default$11: typeof __VLS_export$3;
|
|
1094
1242
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1095
1243
|
new (): {
|
|
1096
1244
|
$slots: S;
|
|
@@ -1101,7 +1249,7 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
1101
1249
|
type __VLS_Slots = TourStepSlots;
|
|
1102
1250
|
declare const __VLS_base: any;
|
|
1103
1251
|
declare const __VLS_export$2: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1104
|
-
declare const _default$
|
|
1252
|
+
declare const _default$12: typeof __VLS_export$2;
|
|
1105
1253
|
type __VLS_WithSlots<T, S> = T & {
|
|
1106
1254
|
new (): {
|
|
1107
1255
|
$slots: S;
|
|
@@ -1191,19 +1339,19 @@ interface PanelGroup<T extends string = string> {
|
|
|
1191
1339
|
//#region src/TransferList/TransferList.vue.d.ts
|
|
1192
1340
|
declare const __VLS_export$1: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1193
1341
|
props: import("vue").PublicProps & __VLS_PrettifyLocal$1<TransferListProps<T> & {
|
|
1194
|
-
"onUpdate:modelValue"?: ((value: readonly T[]) => any) | undefined;
|
|
1195
1342
|
onChange?: ((value: readonly T[]) => any) | undefined;
|
|
1343
|
+
"onUpdate:modelValue"?: ((value: readonly T[]) => any) | undefined;
|
|
1196
1344
|
}> & (typeof globalThis extends {
|
|
1197
1345
|
__VLS_PROPS_FALLBACK: infer P;
|
|
1198
1346
|
} ? P : {});
|
|
1199
1347
|
expose: (exposed: {}) => void;
|
|
1200
1348
|
attrs: any;
|
|
1201
1349
|
slots: TransferListSlots<T>;
|
|
1202
|
-
emit: ((evt: "
|
|
1350
|
+
emit: ((evt: "change", value: readonly T[]) => void) & ((evt: "update:modelValue", value: readonly T[]) => void);
|
|
1203
1351
|
}>) => import("vue").VNode & {
|
|
1204
1352
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1205
1353
|
};
|
|
1206
|
-
declare const _default$
|
|
1354
|
+
declare const _default$13: typeof __VLS_export$1;
|
|
1207
1355
|
type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1208
1356
|
//#endregion
|
|
1209
1357
|
//#region src/TransferList/TransferListSelector.vue.d.ts
|
|
@@ -1241,8 +1389,8 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
1241
1389
|
applyLabel?: string;
|
|
1242
1390
|
cancelLabel?: string;
|
|
1243
1391
|
} & {
|
|
1244
|
-
"onUpdate:modelValue"?: ((value: readonly T[]) => any) | undefined;
|
|
1245
1392
|
onChange?: ((value: readonly T[]) => any) | undefined;
|
|
1393
|
+
"onUpdate:modelValue"?: ((value: readonly T[]) => any) | undefined;
|
|
1246
1394
|
onOpenChange?: ((isOpen: boolean) => any) | undefined;
|
|
1247
1395
|
onChangeAction?: ((value: readonly T[]) => any) | undefined;
|
|
1248
1396
|
}> & (typeof globalThis extends {
|
|
@@ -1255,11 +1403,11 @@ declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<
|
|
|
1255
1403
|
option: TransferListOption<T>;
|
|
1256
1404
|
}) => any;
|
|
1257
1405
|
};
|
|
1258
|
-
emit: ((evt: "
|
|
1406
|
+
emit: ((evt: "change", value: readonly T[]) => void) & ((evt: "update:modelValue", value: readonly T[]) => void) & ((evt: "openChange", isOpen: boolean) => void) & ((evt: "changeAction", value: readonly T[]) => void);
|
|
1259
1407
|
}>) => import("vue").VNode & {
|
|
1260
1408
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
1261
1409
|
};
|
|
1262
|
-
declare const _default$
|
|
1410
|
+
declare const _default$14: typeof __VLS_export;
|
|
1263
1411
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
|
|
1264
1412
|
//#endregion
|
|
1265
|
-
export { _default as CircularProgress, type CircularProgressProps, type CircularProgressSize, type CircularProgressVariant, type CircularProgressVariantMap, type CreateDiffFileOptions, _default$
|
|
1413
|
+
export { type ChatEmojiOption, _default as ChatEmojiPicker, type ChatEmojiPickerEmits, type ChatEmojiPickerProps, type ChatEmojiPickerSlots, type ChatReaction, _default$1 as ChatReactionBar, type ChatReactionBarEmits, type ChatReactionBarProps, _default$2 as CircularProgress, type CircularProgressProps, type CircularProgressSize, type CircularProgressVariant, type CircularProgressVariantMap, _default$3 as CodeEditor, type CodeEditorEmits, type CodeEditorProps, type CreateDiffFileOptions, _default$4 as DiffViewer, type DiffViewerChangeIndicator, type DiffViewerEmits, type DiffViewerFile, type DiffViewerFileStatus, type DiffViewerHunk, type DiffViewerInlineHighlight, type DiffViewerLine, type DiffViewerLineKind, type DiffViewerLineRef, type DiffViewerProps, type DiffViewerSide, type DiffViewerSlots, type DiffViewerViewMode, type IconShape, type IconShapeRole, _default$5 as InfoTip, type InfoTipProps, type InfoTipSize, type InlineDiffGranularity, type InlineDiffResult, type InlineRange, _default$6 as ListInput, type ListInputChange, type ListInputColumn, type ListInputColumnWidth, type ListInputEmits, type ListInputProps, type ListInputRenderContext, type ListInputValueContext, type LogEntry, _default$7 as LogStream, type LogStreamEmits, type LogStreamLevel, type LogStreamProps, _default$8 as MobileTokenizer, type MobileTokenizerChange, type MobileTokenizerEmits, type MobileTokenizerProps, type PanelGroup, type PanelRow, type PathPersonality, _default$9 as SVGIcon, type SVGIconColor, type SVGIconDef, type SVGIconProps, type SVGIconSize, type SVGIconVariation, type SearchSource, type SearchableItem, _default$10 as Stat, type StatDelta, type StatDeltaDirection, type StatDeltaSentiment, type StatProps, type StatSize, _default$11 as Tour, type TourDismissSource, type TourEmits, type TourProps, type TourSlots, _default$12 as TourStep, type TourStepProps, type TourStepSlots, _default$13 as TransferList, type TransferListEmits, type TransferListOption, type TransferListProps, _default$14 as TransferListSelector, type TransferListSlots, type UseTourReturn, type XIFAnimate, type XIFIcon, type XIFPath, type XIFPersonality, type XIFSlot };
|