@opentiny/tiny-robot 0.2.13 → 0.2.15
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/base-popper/index.js +86 -71
- package/dist/flow-layout-buttons/index.js +10 -10
- package/dist/icon-button/index.js +18 -19
- package/dist/index.d.ts +279 -1679
- package/dist/index.js +33 -41
- package/dist/index3.js +33 -25
- package/dist/index5.js +179 -180
- package/dist/index6.js +610 -613
- package/dist/sender/index.js +805 -802
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +23 -23
- package/dist/suggestion-popover/index.js +198 -207
- package/dist/tiny-robot-svgs.js +11 -15
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
import { AutoSize as AutoSize_2 } from './index.type';
|
|
4
3
|
import { BubblePalcement as BubblePalcement_2 } from './index.type';
|
|
5
4
|
import { Component } from 'vue';
|
|
6
5
|
import { ComponentCustomProperties } from 'vue';
|
|
@@ -14,24 +13,18 @@ import { ComputedRef } from 'vue';
|
|
|
14
13
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
15
14
|
import { CSSProperties } from 'vue';
|
|
16
15
|
import { DebuggerEvent } from 'vue';
|
|
16
|
+
import { default as default_2 } from './index.vue';
|
|
17
17
|
import { DefineComponent } from 'vue';
|
|
18
|
-
import { ExtractPropTypes } from 'vue';
|
|
19
18
|
import { GlobalComponents } from 'vue';
|
|
20
19
|
import { GlobalDirectives } from 'vue';
|
|
21
|
-
import { InputMode as InputMode_2 } from './index.type';
|
|
22
20
|
import { MaybeElement } from '@vueuse/core';
|
|
23
21
|
import { nextTick } from 'vue';
|
|
24
22
|
import { OnCleanup } from '@vue/reactivity';
|
|
25
23
|
import { Options } from 'markdown-it';
|
|
26
|
-
import { PropType } from 'vue';
|
|
27
24
|
import { PublicProps } from 'vue';
|
|
28
25
|
import { Ref } from 'vue';
|
|
29
|
-
import { RendererElement } from 'vue';
|
|
30
|
-
import { RendererNode } from 'vue';
|
|
31
26
|
import { ShallowUnwrapRef } from 'vue';
|
|
32
27
|
import { Slot } from 'vue';
|
|
33
|
-
import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
|
|
34
|
-
import { ThemeType as ThemeType_2 } from './index.type';
|
|
35
28
|
import { TooltipContentProps } from './components/Tooltip.vue';
|
|
36
29
|
import { TransitionProps } from 'vue';
|
|
37
30
|
import { VNode } from 'vue';
|
|
@@ -46,74 +39,6 @@ maxWidth: string | number;
|
|
|
46
39
|
content: string;
|
|
47
40
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
41
|
|
|
49
|
-
declare const __VLS_component_10: DefineComponent<QuestionProps, {
|
|
50
|
-
openModal: () => void;
|
|
51
|
-
closeModal: () => void;
|
|
52
|
-
toggleFloating: () => void;
|
|
53
|
-
setActiveCategory: (categoryId: string) => void;
|
|
54
|
-
refreshData: () => Promise<void>;
|
|
55
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
56
|
-
"question-click": (question: Question_2) => any;
|
|
57
|
-
"select-category": (category: Category_2) => any;
|
|
58
|
-
}, string, PublicProps, Readonly<QuestionProps> & Readonly<{
|
|
59
|
-
"onQuestion-click"?: ((question: Question_2) => any) | undefined;
|
|
60
|
-
"onSelect-category"?: ((category: Category_2) => any) | undefined;
|
|
61
|
-
}>, {
|
|
62
|
-
loading: boolean;
|
|
63
|
-
categories: Category_2[];
|
|
64
|
-
modalWidth: string;
|
|
65
|
-
closeOnClickOutside: boolean;
|
|
66
|
-
commonQuestions: Question_2[];
|
|
67
|
-
initialExpanded: boolean;
|
|
68
|
-
theme: ThemeType_2;
|
|
69
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
70
|
-
|
|
71
|
-
declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
72
|
-
"update:selectedGroup": (value: string) => any;
|
|
73
|
-
} & {
|
|
74
|
-
close: () => any;
|
|
75
|
-
open: () => any;
|
|
76
|
-
"item-click": (item: SuggestionItem_2<Record<string, unknown>>) => any;
|
|
77
|
-
"click-outside": (event: MouseEvent) => any;
|
|
78
|
-
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
79
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
80
|
-
onClose?: (() => any) | undefined;
|
|
81
|
-
onOpen?: (() => any) | undefined;
|
|
82
|
-
"onItem-click"?: ((item: SuggestionItem_2<Record<string, unknown>>) => any) | undefined;
|
|
83
|
-
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
84
|
-
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
85
|
-
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
86
|
-
}>, {
|
|
87
|
-
title: string;
|
|
88
|
-
trigger: "click" | "manual";
|
|
89
|
-
groupShowMoreTrigger: "click" | "hover";
|
|
90
|
-
popoverWidth: string | number;
|
|
91
|
-
popoverHeight: string | number;
|
|
92
|
-
topOffset: string | number;
|
|
93
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
94
|
-
popoverTriggerRef: HTMLDivElement;
|
|
95
|
-
popoverRef: HTMLDivElement;
|
|
96
|
-
listRef: HTMLUListElement;
|
|
97
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
98
|
-
show?: TooltipContentProps["show"];
|
|
99
|
-
} & TooltipContentProps> & Readonly<{
|
|
100
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
101
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
102
|
-
"update:show": (value: boolean | undefined) => any;
|
|
103
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
104
|
-
P: {};
|
|
105
|
-
B: {};
|
|
106
|
-
D: {};
|
|
107
|
-
C: {};
|
|
108
|
-
M: {};
|
|
109
|
-
Defaults: {};
|
|
110
|
-
}, Readonly<{
|
|
111
|
-
show?: TooltipContentProps["show"];
|
|
112
|
-
} & TooltipContentProps> & Readonly<{
|
|
113
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
114
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
115
|
-
}, any>;
|
|
116
|
-
|
|
117
42
|
declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
118
43
|
"update:show": (value: boolean) => any;
|
|
119
44
|
"update:fullscreen": (value: boolean | undefined) => any;
|
|
@@ -221,11 +146,13 @@ triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
|
|
|
221
146
|
popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
222
147
|
}> & {} & ComponentCustomProperties & {} & {
|
|
223
148
|
$slots: Readonly<{
|
|
224
|
-
trigger?: () => VNode
|
|
225
|
-
content?: () => VNode
|
|
149
|
+
trigger?: () => VNode[];
|
|
150
|
+
content?: () => VNode[];
|
|
151
|
+
backdrop?: () => VNode[];
|
|
226
152
|
}> & {
|
|
227
|
-
trigger?: () => VNode
|
|
228
|
-
content?: () => VNode
|
|
153
|
+
trigger?: () => VNode[];
|
|
154
|
+
content?: () => VNode[];
|
|
155
|
+
backdrop?: () => VNode[];
|
|
229
156
|
};
|
|
230
157
|
}) | null;
|
|
231
158
|
}, any>;
|
|
@@ -236,592 +163,70 @@ declare const __VLS_component_4: DefineComponent<PromptsProps, {}, {}, {}, {}, C
|
|
|
236
163
|
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
237
164
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
238
165
|
|
|
239
|
-
declare const __VLS_component_5: DefineComponent<
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
submit: () => void;
|
|
244
|
-
startSpeech: () => void;
|
|
245
|
-
stopSpeech: () => void;
|
|
246
|
-
activateTemplateFirstField: () => void;
|
|
247
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
248
|
-
[x: string]: any;
|
|
166
|
+
declare const __VLS_component_5: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
167
|
+
|
|
168
|
+
declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
169
|
+
"update:showAll": (value: boolean | undefined) => any;
|
|
249
170
|
} & {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
171
|
+
"item-click": (item: SuggestionPillItem<Record<string, unknown>>) => any;
|
|
172
|
+
"click-outside": (event: MouseEvent) => any;
|
|
173
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
174
|
+
"onItem-click"?: ((item: SuggestionPillItem<Record<string, unknown>>) => any) | undefined;
|
|
175
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
176
|
+
"onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
|
|
253
177
|
}>, {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
mode: InputMode_2;
|
|
257
|
-
disabled: boolean;
|
|
258
|
-
modelValue: string;
|
|
259
|
-
autofocus: boolean;
|
|
260
|
-
clearable: boolean;
|
|
261
|
-
showWordLimit: boolean;
|
|
262
|
-
theme: ThemeType_2;
|
|
263
|
-
hasContent: boolean;
|
|
264
|
-
allowSpeech: boolean;
|
|
265
|
-
allowFiles: boolean;
|
|
266
|
-
submitType: SubmitTrigger_2;
|
|
267
|
-
stopText: string;
|
|
268
|
-
autoSize: AutoSize_2;
|
|
269
|
-
maxLength: number;
|
|
270
|
-
placeholder: string;
|
|
271
|
-
suggestions: string[];
|
|
272
|
-
suggestionPopupWidth: string | number;
|
|
273
|
-
templateData: UserItem[];
|
|
178
|
+
showAllButtonOn: "hover" | "always";
|
|
179
|
+
overflowMode: "expand" | "scroll";
|
|
274
180
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
modelValue?: UserItem[];
|
|
279
|
-
}> & Readonly<{
|
|
280
|
-
onSubmit?: (() => any) | undefined;
|
|
281
|
-
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
282
|
-
}>, {
|
|
283
|
-
clearHistory: () => void;
|
|
284
|
-
activateFirstField: () => void;
|
|
285
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
286
|
-
"update:modelValue": (value: UserItem[]) => any;
|
|
287
|
-
} & {
|
|
288
|
-
submit: () => any;
|
|
289
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
290
|
-
editorRef: HTMLDivElement;
|
|
291
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
292
|
-
P: {};
|
|
293
|
-
B: {};
|
|
294
|
-
D: {};
|
|
295
|
-
C: {};
|
|
296
|
-
M: {};
|
|
297
|
-
Defaults: {};
|
|
298
|
-
}, Readonly<{
|
|
299
|
-
modelValue?: UserItem[];
|
|
300
|
-
}> & Readonly<{
|
|
301
|
-
onSubmit?: (() => any) | undefined;
|
|
302
|
-
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
303
|
-
}>, {
|
|
304
|
-
clearHistory: () => void;
|
|
305
|
-
activateFirstField: () => void;
|
|
306
|
-
}, {}, {}, {}, {}> | null;
|
|
307
|
-
inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
308
|
-
_constants: {
|
|
309
|
-
type: ObjectConstructor;
|
|
310
|
-
default: () => {
|
|
311
|
-
INPUT_PC: string;
|
|
312
|
-
INPUTGROUP_PC: string;
|
|
313
|
-
INPUT_MOBILE: string;
|
|
314
|
-
INPUTGROUP_MOBILE: string;
|
|
315
|
-
Mode: string;
|
|
316
|
-
inputMode(mode: any): string;
|
|
317
|
-
inputGroupMode(mode: any): string;
|
|
318
|
-
VALIDATE_ICON: {
|
|
319
|
-
Validating: string;
|
|
320
|
-
Success: string;
|
|
321
|
-
Error: string;
|
|
322
|
-
};
|
|
323
|
-
COMPONENT_NAME: {
|
|
324
|
-
FormItem: string;
|
|
325
|
-
};
|
|
326
|
-
MASKSYMBOL: string;
|
|
327
|
-
TEXTAREA_HEIGHT_MOBILE: number;
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
name: StringConstructor;
|
|
331
|
-
size: StringConstructor;
|
|
332
|
-
form: StringConstructor;
|
|
333
|
-
label: StringConstructor;
|
|
334
|
-
height: NumberConstructor;
|
|
335
|
-
resize: StringConstructor;
|
|
336
|
-
tabindex: {
|
|
337
|
-
type: StringConstructor;
|
|
338
|
-
default: string;
|
|
339
|
-
};
|
|
340
|
-
disabled: BooleanConstructor;
|
|
341
|
-
readonly: BooleanConstructor;
|
|
342
|
-
hoverExpand: BooleanConstructor;
|
|
343
|
-
mask: BooleanConstructor;
|
|
344
|
-
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
345
|
-
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
346
|
-
modelValue: PropType<string | number | null>;
|
|
347
|
-
type: {
|
|
348
|
-
type: StringConstructor;
|
|
349
|
-
default: string;
|
|
350
|
-
};
|
|
351
|
-
memorySpace: {
|
|
352
|
-
type: NumberConstructor;
|
|
353
|
-
default: number;
|
|
354
|
-
};
|
|
355
|
-
vertical: {
|
|
356
|
-
type: BooleanConstructor;
|
|
357
|
-
default: boolean;
|
|
358
|
-
};
|
|
359
|
-
selectMenu: {
|
|
360
|
-
type: {
|
|
361
|
-
(arrayLength: number): {
|
|
362
|
-
id: string;
|
|
363
|
-
label: string;
|
|
364
|
-
}[];
|
|
365
|
-
(...items: {
|
|
366
|
-
id: string;
|
|
367
|
-
label: string;
|
|
368
|
-
}[]): {
|
|
369
|
-
id: string;
|
|
370
|
-
label: string;
|
|
371
|
-
}[];
|
|
372
|
-
new (arrayLength: number): {
|
|
373
|
-
id: string;
|
|
374
|
-
label: string;
|
|
375
|
-
}[];
|
|
376
|
-
new (...items: {
|
|
377
|
-
id: string;
|
|
378
|
-
label: string;
|
|
379
|
-
}[]): {
|
|
380
|
-
id: string;
|
|
381
|
-
label: string;
|
|
382
|
-
}[];
|
|
383
|
-
isArray(arg: any): arg is any[];
|
|
384
|
-
readonly prototype: any[];
|
|
385
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
386
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
387
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
388
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
389
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
390
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
391
|
-
};
|
|
392
|
-
default: () => never[];
|
|
393
|
-
};
|
|
394
|
-
ellipsis: {
|
|
395
|
-
type: BooleanConstructor;
|
|
396
|
-
default: boolean;
|
|
397
|
-
};
|
|
398
|
-
contentStyle: {
|
|
399
|
-
type: ObjectConstructor;
|
|
400
|
-
default: () => {};
|
|
401
|
-
};
|
|
402
|
-
isSelect: {
|
|
403
|
-
type: BooleanConstructor;
|
|
404
|
-
default: boolean;
|
|
405
|
-
};
|
|
406
|
-
tips: StringConstructor;
|
|
407
|
-
counter: {
|
|
408
|
-
type: BooleanConstructor;
|
|
409
|
-
default: boolean;
|
|
410
|
-
};
|
|
411
|
-
autosize: {
|
|
412
|
-
type: (BooleanConstructor | ObjectConstructor)[];
|
|
413
|
-
default: boolean;
|
|
414
|
-
};
|
|
415
|
-
clearable: {
|
|
416
|
-
type: BooleanConstructor;
|
|
417
|
-
default: boolean;
|
|
418
|
-
};
|
|
419
|
-
autocomplete: {
|
|
420
|
-
type: StringConstructor;
|
|
421
|
-
default: string;
|
|
422
|
-
};
|
|
423
|
-
showPassword: {
|
|
424
|
-
type: BooleanConstructor;
|
|
425
|
-
default: boolean;
|
|
426
|
-
};
|
|
427
|
-
showWordLimit: {
|
|
428
|
-
type: BooleanConstructor;
|
|
429
|
-
default: boolean;
|
|
430
|
-
};
|
|
431
|
-
showTitle: {
|
|
432
|
-
type: BooleanConstructor;
|
|
433
|
-
default: boolean;
|
|
434
|
-
};
|
|
435
|
-
validateEvent: {
|
|
436
|
-
type: BooleanConstructor;
|
|
437
|
-
default: boolean;
|
|
438
|
-
};
|
|
439
|
-
popupMore: {
|
|
440
|
-
type: BooleanConstructor;
|
|
441
|
-
default: boolean;
|
|
442
|
-
};
|
|
443
|
-
textareaTitle: {
|
|
444
|
-
type: StringConstructor;
|
|
445
|
-
default: string;
|
|
446
|
-
};
|
|
447
|
-
displayOnly: {
|
|
448
|
-
type: BooleanConstructor;
|
|
449
|
-
default: boolean;
|
|
450
|
-
};
|
|
451
|
-
displayOnlyContent: {
|
|
452
|
-
type: StringConstructor;
|
|
453
|
-
default: string;
|
|
454
|
-
};
|
|
455
|
-
customClass: {
|
|
456
|
-
type: StringConstructor;
|
|
457
|
-
default: string;
|
|
458
|
-
};
|
|
459
|
-
frontClearIcon: {
|
|
460
|
-
type: BooleanConstructor;
|
|
461
|
-
default: boolean;
|
|
462
|
-
};
|
|
463
|
-
showEmptyValue: {
|
|
464
|
-
type: BooleanConstructor;
|
|
465
|
-
default: undefined;
|
|
466
|
-
};
|
|
467
|
-
textAlign: {
|
|
468
|
-
type: StringConstructor;
|
|
469
|
-
default: string;
|
|
470
|
-
};
|
|
471
|
-
width: {
|
|
472
|
-
type: PropType<string | number | null>;
|
|
473
|
-
};
|
|
474
|
-
showTooltip: {
|
|
475
|
-
type: BooleanConstructor;
|
|
476
|
-
default: boolean;
|
|
477
|
-
};
|
|
478
|
-
inputBoxType: {
|
|
479
|
-
type: StringConstructor;
|
|
480
|
-
default: string;
|
|
481
|
-
validator: (value: string) => boolean;
|
|
482
|
-
};
|
|
483
|
-
tiny_mode: StringConstructor;
|
|
484
|
-
tiny_mode_root: BooleanConstructor;
|
|
485
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
486
|
-
tiny_renderless: FunctionConstructor;
|
|
487
|
-
tiny_theme: StringConstructor;
|
|
488
|
-
tiny_mcp_config: ObjectConstructor;
|
|
489
|
-
tiny_chart_theme: ObjectConstructor;
|
|
490
|
-
}>>, () => VNode<RendererNode, RendererElement, {
|
|
491
|
-
[key: string]: any;
|
|
492
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
493
|
-
disabled: boolean;
|
|
494
|
-
type: string;
|
|
495
|
-
ellipsis: boolean;
|
|
496
|
-
mask: boolean;
|
|
497
|
-
vertical: boolean;
|
|
498
|
-
customClass: string;
|
|
499
|
-
tiny_mode_root: boolean;
|
|
500
|
-
_constants: Record<string, any>;
|
|
501
|
-
tabindex: string;
|
|
502
|
-
showTitle: boolean;
|
|
503
|
-
readonly: boolean;
|
|
504
|
-
hoverExpand: boolean;
|
|
505
|
-
memorySpace: number;
|
|
506
|
-
selectMenu: {
|
|
507
|
-
id: string;
|
|
508
|
-
label: string;
|
|
509
|
-
}[];
|
|
510
|
-
contentStyle: Record<string, any>;
|
|
511
|
-
isSelect: boolean;
|
|
512
|
-
counter: boolean;
|
|
513
|
-
autosize: boolean | Record<string, any>;
|
|
514
|
-
clearable: boolean;
|
|
515
|
-
autocomplete: string;
|
|
516
|
-
showPassword: boolean;
|
|
517
|
-
showWordLimit: boolean;
|
|
518
|
-
validateEvent: boolean;
|
|
519
|
-
popupMore: boolean;
|
|
520
|
-
textareaTitle: string;
|
|
521
|
-
displayOnly: boolean;
|
|
522
|
-
displayOnlyContent: string;
|
|
523
|
-
frontClearIcon: boolean;
|
|
524
|
-
showEmptyValue: boolean;
|
|
525
|
-
textAlign: string;
|
|
526
|
-
showTooltip: boolean;
|
|
527
|
-
inputBoxType: string;
|
|
528
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
529
|
-
P: {};
|
|
530
|
-
B: {};
|
|
531
|
-
D: {};
|
|
532
|
-
C: {};
|
|
533
|
-
M: {};
|
|
534
|
-
Defaults: {};
|
|
535
|
-
}, Readonly<ExtractPropTypes< {
|
|
536
|
-
_constants: {
|
|
537
|
-
type: ObjectConstructor;
|
|
538
|
-
default: () => {
|
|
539
|
-
INPUT_PC: string;
|
|
540
|
-
INPUTGROUP_PC: string;
|
|
541
|
-
INPUT_MOBILE: string;
|
|
542
|
-
INPUTGROUP_MOBILE: string;
|
|
543
|
-
Mode: string;
|
|
544
|
-
inputMode(mode: any): string;
|
|
545
|
-
inputGroupMode(mode: any): string;
|
|
546
|
-
VALIDATE_ICON: {
|
|
547
|
-
Validating: string;
|
|
548
|
-
Success: string;
|
|
549
|
-
Error: string;
|
|
550
|
-
};
|
|
551
|
-
COMPONENT_NAME: {
|
|
552
|
-
FormItem: string;
|
|
553
|
-
};
|
|
554
|
-
MASKSYMBOL: string;
|
|
555
|
-
TEXTAREA_HEIGHT_MOBILE: number;
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
name: StringConstructor;
|
|
559
|
-
size: StringConstructor;
|
|
560
|
-
form: StringConstructor;
|
|
561
|
-
label: StringConstructor;
|
|
562
|
-
height: NumberConstructor;
|
|
563
|
-
resize: StringConstructor;
|
|
564
|
-
tabindex: {
|
|
565
|
-
type: StringConstructor;
|
|
566
|
-
default: string;
|
|
567
|
-
};
|
|
568
|
-
disabled: BooleanConstructor;
|
|
569
|
-
readonly: BooleanConstructor;
|
|
570
|
-
hoverExpand: BooleanConstructor;
|
|
571
|
-
mask: BooleanConstructor;
|
|
572
|
-
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
573
|
-
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
574
|
-
modelValue: PropType<string | number | null>;
|
|
575
|
-
type: {
|
|
576
|
-
type: StringConstructor;
|
|
577
|
-
default: string;
|
|
578
|
-
};
|
|
579
|
-
memorySpace: {
|
|
580
|
-
type: NumberConstructor;
|
|
581
|
-
default: number;
|
|
582
|
-
};
|
|
583
|
-
vertical: {
|
|
584
|
-
type: BooleanConstructor;
|
|
585
|
-
default: boolean;
|
|
586
|
-
};
|
|
587
|
-
selectMenu: {
|
|
588
|
-
type: {
|
|
589
|
-
(arrayLength: number): {
|
|
590
|
-
id: string;
|
|
591
|
-
label: string;
|
|
592
|
-
}[];
|
|
593
|
-
(...items: {
|
|
594
|
-
id: string;
|
|
595
|
-
label: string;
|
|
596
|
-
}[]): {
|
|
597
|
-
id: string;
|
|
598
|
-
label: string;
|
|
599
|
-
}[];
|
|
600
|
-
new (arrayLength: number): {
|
|
601
|
-
id: string;
|
|
602
|
-
label: string;
|
|
603
|
-
}[];
|
|
604
|
-
new (...items: {
|
|
605
|
-
id: string;
|
|
606
|
-
label: string;
|
|
607
|
-
}[]): {
|
|
608
|
-
id: string;
|
|
609
|
-
label: string;
|
|
610
|
-
}[];
|
|
611
|
-
isArray(arg: any): arg is any[];
|
|
612
|
-
readonly prototype: any[];
|
|
613
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
614
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
615
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
616
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
617
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
618
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
619
|
-
};
|
|
620
|
-
default: () => never[];
|
|
621
|
-
};
|
|
622
|
-
ellipsis: {
|
|
623
|
-
type: BooleanConstructor;
|
|
624
|
-
default: boolean;
|
|
625
|
-
};
|
|
626
|
-
contentStyle: {
|
|
627
|
-
type: ObjectConstructor;
|
|
628
|
-
default: () => {};
|
|
629
|
-
};
|
|
630
|
-
isSelect: {
|
|
631
|
-
type: BooleanConstructor;
|
|
632
|
-
default: boolean;
|
|
633
|
-
};
|
|
634
|
-
tips: StringConstructor;
|
|
635
|
-
counter: {
|
|
636
|
-
type: BooleanConstructor;
|
|
637
|
-
default: boolean;
|
|
638
|
-
};
|
|
639
|
-
autosize: {
|
|
640
|
-
type: (BooleanConstructor | ObjectConstructor)[];
|
|
641
|
-
default: boolean;
|
|
642
|
-
};
|
|
643
|
-
clearable: {
|
|
644
|
-
type: BooleanConstructor;
|
|
645
|
-
default: boolean;
|
|
646
|
-
};
|
|
647
|
-
autocomplete: {
|
|
648
|
-
type: StringConstructor;
|
|
649
|
-
default: string;
|
|
650
|
-
};
|
|
651
|
-
showPassword: {
|
|
652
|
-
type: BooleanConstructor;
|
|
653
|
-
default: boolean;
|
|
654
|
-
};
|
|
655
|
-
showWordLimit: {
|
|
656
|
-
type: BooleanConstructor;
|
|
657
|
-
default: boolean;
|
|
658
|
-
};
|
|
659
|
-
showTitle: {
|
|
660
|
-
type: BooleanConstructor;
|
|
661
|
-
default: boolean;
|
|
662
|
-
};
|
|
663
|
-
validateEvent: {
|
|
664
|
-
type: BooleanConstructor;
|
|
665
|
-
default: boolean;
|
|
666
|
-
};
|
|
667
|
-
popupMore: {
|
|
668
|
-
type: BooleanConstructor;
|
|
669
|
-
default: boolean;
|
|
670
|
-
};
|
|
671
|
-
textareaTitle: {
|
|
672
|
-
type: StringConstructor;
|
|
673
|
-
default: string;
|
|
674
|
-
};
|
|
675
|
-
displayOnly: {
|
|
676
|
-
type: BooleanConstructor;
|
|
677
|
-
default: boolean;
|
|
678
|
-
};
|
|
679
|
-
displayOnlyContent: {
|
|
680
|
-
type: StringConstructor;
|
|
681
|
-
default: string;
|
|
682
|
-
};
|
|
683
|
-
customClass: {
|
|
684
|
-
type: StringConstructor;
|
|
685
|
-
default: string;
|
|
686
|
-
};
|
|
687
|
-
frontClearIcon: {
|
|
688
|
-
type: BooleanConstructor;
|
|
689
|
-
default: boolean;
|
|
690
|
-
};
|
|
691
|
-
showEmptyValue: {
|
|
692
|
-
type: BooleanConstructor;
|
|
693
|
-
default: undefined;
|
|
694
|
-
};
|
|
695
|
-
textAlign: {
|
|
696
|
-
type: StringConstructor;
|
|
697
|
-
default: string;
|
|
698
|
-
};
|
|
699
|
-
width: {
|
|
700
|
-
type: PropType<string | number | null>;
|
|
701
|
-
};
|
|
702
|
-
showTooltip: {
|
|
703
|
-
type: BooleanConstructor;
|
|
704
|
-
default: boolean;
|
|
705
|
-
};
|
|
706
|
-
inputBoxType: {
|
|
707
|
-
type: StringConstructor;
|
|
708
|
-
default: string;
|
|
709
|
-
validator: (value: string) => boolean;
|
|
710
|
-
};
|
|
711
|
-
tiny_mode: StringConstructor;
|
|
712
|
-
tiny_mode_root: BooleanConstructor;
|
|
713
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
714
|
-
tiny_renderless: FunctionConstructor;
|
|
715
|
-
tiny_theme: StringConstructor;
|
|
716
|
-
tiny_mcp_config: ObjectConstructor;
|
|
717
|
-
tiny_chart_theme: ObjectConstructor;
|
|
718
|
-
}>>, () => VNode<RendererNode, RendererElement, {
|
|
719
|
-
[key: string]: any;
|
|
720
|
-
}>, {}, {}, {}, {
|
|
721
|
-
disabled: boolean;
|
|
722
|
-
type: string;
|
|
723
|
-
ellipsis: boolean;
|
|
724
|
-
mask: boolean;
|
|
725
|
-
vertical: boolean;
|
|
726
|
-
customClass: string;
|
|
727
|
-
tiny_mode_root: boolean;
|
|
728
|
-
_constants: Record<string, any>;
|
|
729
|
-
tabindex: string;
|
|
730
|
-
showTitle: boolean;
|
|
731
|
-
readonly: boolean;
|
|
732
|
-
hoverExpand: boolean;
|
|
733
|
-
memorySpace: number;
|
|
734
|
-
selectMenu: {
|
|
735
|
-
id: string;
|
|
736
|
-
label: string;
|
|
737
|
-
}[];
|
|
738
|
-
contentStyle: Record<string, any>;
|
|
739
|
-
isSelect: boolean;
|
|
740
|
-
counter: boolean;
|
|
741
|
-
autosize: boolean | Record<string, any>;
|
|
742
|
-
clearable: boolean;
|
|
743
|
-
autocomplete: string;
|
|
744
|
-
showPassword: boolean;
|
|
745
|
-
showWordLimit: boolean;
|
|
746
|
-
validateEvent: boolean;
|
|
747
|
-
popupMore: boolean;
|
|
748
|
-
textareaTitle: string;
|
|
749
|
-
displayOnly: boolean;
|
|
750
|
-
displayOnlyContent: string;
|
|
751
|
-
frontClearIcon: boolean;
|
|
752
|
-
showEmptyValue: boolean;
|
|
753
|
-
textAlign: string;
|
|
754
|
-
showTooltip: boolean;
|
|
755
|
-
inputBoxType: string;
|
|
756
|
-
}> | null;
|
|
757
|
-
buttonsContainerRef: HTMLDivElement;
|
|
758
|
-
suggestionsListRef: HTMLDivElement;
|
|
181
|
+
containerWrapperRef: HTMLDivElement;
|
|
182
|
+
containerRef: HTMLDivElement;
|
|
183
|
+
floatingItemsRef: HTMLDivElement;
|
|
759
184
|
}, HTMLDivElement>;
|
|
760
185
|
|
|
761
|
-
declare const
|
|
762
|
-
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
declare const __VLS_component_7: DefineComponent<SuggestionProps, {
|
|
766
|
-
trigger: TriggerHandler;
|
|
767
|
-
keyDown: (e: KeyboardEvent) => void;
|
|
768
|
-
input: (event: Event, text: string) => boolean;
|
|
769
|
-
toggleExpand: () => void;
|
|
770
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
186
|
+
declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
187
|
+
"update:selectedGroup": (value: string) => any;
|
|
188
|
+
} & {
|
|
771
189
|
close: () => any;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
"
|
|
775
|
-
"
|
|
776
|
-
|
|
777
|
-
"update:expanded": (expanded: boolean) => any;
|
|
778
|
-
"fill-template": (template: string) => any;
|
|
779
|
-
}, string, PublicProps, Readonly<SuggestionProps> & Readonly<{
|
|
190
|
+
open: () => any;
|
|
191
|
+
"item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
|
|
192
|
+
"click-outside": (event: MouseEvent) => any;
|
|
193
|
+
"group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
|
|
194
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
780
195
|
onClose?: (() => any) | undefined;
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"
|
|
786
|
-
"onUpdate:expanded"?: ((expanded: boolean) => any) | undefined;
|
|
787
|
-
"onFill-template"?: ((template: string) => any) | undefined;
|
|
196
|
+
onOpen?: (() => any) | undefined;
|
|
197
|
+
"onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
|
|
198
|
+
"onClick-outside"?: ((event: MouseEvent) => any) | undefined;
|
|
199
|
+
"onGroup-click"?: ((group: SuggestionGroup<Record<string, unknown>>) => any) | undefined;
|
|
200
|
+
"onUpdate:selectedGroup"?: ((value: string) => any) | undefined;
|
|
788
201
|
}>, {
|
|
789
|
-
open: boolean;
|
|
790
|
-
loading: boolean;
|
|
791
202
|
title: string;
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
maxVisibleItems: number;
|
|
796
|
-
triggerKeys: string[];
|
|
797
|
-
closeOnOutsideClick: boolean;
|
|
798
|
-
defaultExpanded: boolean;
|
|
203
|
+
trigger: "click" | "manual";
|
|
204
|
+
groupShowMoreTrigger: "click" | "hover";
|
|
205
|
+
topOffset: number;
|
|
799
206
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
800
|
-
|
|
801
|
-
panelRef: ({
|
|
207
|
+
basePopperRef: ({
|
|
802
208
|
$: ComponentInternalInstance;
|
|
803
209
|
$data: {};
|
|
804
|
-
$props:
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
}
|
|
810
|
-
readonly
|
|
811
|
-
readonly
|
|
812
|
-
readonly
|
|
813
|
-
readonly
|
|
814
|
-
readonly
|
|
815
|
-
readonly
|
|
816
|
-
|
|
817
|
-
readonly "onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
818
|
-
readonly "onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
819
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "loading" | "title" | "categories" | "maxVisibleItems">;
|
|
210
|
+
$props: {
|
|
211
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
212
|
+
readonly offset?: number | {
|
|
213
|
+
mainAxis?: number;
|
|
214
|
+
crossAxis?: number;
|
|
215
|
+
} | undefined;
|
|
216
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
217
|
+
readonly preventOverflow?: boolean | undefined;
|
|
218
|
+
readonly renderAllTriggers?: boolean | undefined;
|
|
219
|
+
readonly show?: boolean | undefined;
|
|
220
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
221
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
222
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
820
223
|
$attrs: {
|
|
821
224
|
[x: string]: unknown;
|
|
822
225
|
};
|
|
823
226
|
$refs: {
|
|
824
227
|
[x: string]: unknown;
|
|
228
|
+
} & {
|
|
229
|
+
popperRef: HTMLDivElement;
|
|
825
230
|
};
|
|
826
231
|
$slots: Readonly<{
|
|
827
232
|
[name: string]: Slot<any> | undefined;
|
|
@@ -829,46 +234,26 @@ $slots: Readonly<{
|
|
|
829
234
|
$root: ComponentPublicInstance | null;
|
|
830
235
|
$parent: ComponentPublicInstance | null;
|
|
831
236
|
$host: Element | null;
|
|
832
|
-
$emit: (
|
|
833
|
-
$el:
|
|
834
|
-
$options: ComponentOptionsBase<Readonly<
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
categories: {
|
|
840
|
-
type: PropType<Category[]>;
|
|
841
|
-
default: () => never[];
|
|
842
|
-
};
|
|
843
|
-
loading: {
|
|
844
|
-
type: BooleanConstructor;
|
|
845
|
-
default: boolean;
|
|
846
|
-
};
|
|
847
|
-
title: {
|
|
848
|
-
type: StringConstructor;
|
|
849
|
-
default: string;
|
|
850
|
-
};
|
|
851
|
-
maxVisibleItems: {
|
|
852
|
-
type: NumberConstructor;
|
|
853
|
-
default: number;
|
|
237
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
238
|
+
$el: any;
|
|
239
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
240
|
+
appendTo?: string | HTMLElement;
|
|
241
|
+
offset?: number | {
|
|
242
|
+
mainAxis?: number;
|
|
243
|
+
crossAxis?: number;
|
|
854
244
|
};
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
"
|
|
867
|
-
}, string, {
|
|
868
|
-
loading: boolean;
|
|
869
|
-
title: string;
|
|
870
|
-
categories: Category[];
|
|
871
|
-
maxVisibleItems: number;
|
|
245
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
246
|
+
preventOverflow?: boolean;
|
|
247
|
+
renderAllTriggers?: boolean;
|
|
248
|
+
show?: boolean;
|
|
249
|
+
transitionProps?: TransitionProps;
|
|
250
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
251
|
+
}> & Readonly<{}>, {
|
|
252
|
+
triggerRef: ComputedRef<MaybeElement>;
|
|
253
|
+
triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
|
|
254
|
+
popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
255
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
256
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
872
257
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
873
258
|
beforeCreate?: (() => void) | (() => void)[];
|
|
874
259
|
created?: (() => void) | (() => void)[];
|
|
@@ -890,70 +275,58 @@ $forceUpdate: () => void;
|
|
|
890
275
|
$nextTick: nextTick;
|
|
891
276
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
892
277
|
} & Readonly<{
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
type: PropType<SuggestionItem[]>;
|
|
900
|
-
required: true;
|
|
901
|
-
};
|
|
902
|
-
categories: {
|
|
903
|
-
type: PropType<Category[]>;
|
|
904
|
-
default: () => never[];
|
|
905
|
-
};
|
|
906
|
-
loading: {
|
|
907
|
-
type: BooleanConstructor;
|
|
908
|
-
default: boolean;
|
|
909
|
-
};
|
|
910
|
-
title: {
|
|
911
|
-
type: StringConstructor;
|
|
912
|
-
default: string;
|
|
913
|
-
};
|
|
914
|
-
maxVisibleItems: {
|
|
915
|
-
type: NumberConstructor;
|
|
916
|
-
default: number;
|
|
278
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
279
|
+
}> & Omit<Readonly<{
|
|
280
|
+
appendTo?: string | HTMLElement;
|
|
281
|
+
offset?: number | {
|
|
282
|
+
mainAxis?: number;
|
|
283
|
+
crossAxis?: number;
|
|
917
284
|
};
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
|
|
285
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
286
|
+
preventOverflow?: boolean;
|
|
287
|
+
renderAllTriggers?: boolean;
|
|
288
|
+
show?: boolean;
|
|
289
|
+
transitionProps?: TransitionProps;
|
|
290
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
291
|
+
}> & Readonly<{}>, "placement" | "triggerRef" | "triggerRefs" | "popperRef"> & ShallowUnwrapRef< {
|
|
292
|
+
triggerRef: ComputedRef<MaybeElement>;
|
|
293
|
+
triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
|
|
294
|
+
popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
925
295
|
}> & {} & ComponentCustomProperties & {} & {
|
|
926
|
-
$slots: {
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
296
|
+
$slots: Readonly<{
|
|
297
|
+
trigger?: () => VNode[];
|
|
298
|
+
content?: () => VNode[];
|
|
299
|
+
backdrop?: () => VNode[];
|
|
300
|
+
}> & {
|
|
301
|
+
trigger?: () => VNode[];
|
|
302
|
+
content?: () => VNode[];
|
|
303
|
+
backdrop?: () => VNode[];
|
|
934
304
|
};
|
|
935
305
|
}) | null;
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
"
|
|
943
|
-
}, string,
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
}, {
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
},
|
|
306
|
+
listRef: HTMLUListElement;
|
|
307
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
308
|
+
show?: TooltipContentProps["show"];
|
|
309
|
+
} & TooltipContentProps> & Readonly<{
|
|
310
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
311
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
312
|
+
"update:show": (value: boolean | undefined) => any;
|
|
313
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
314
|
+
P: {};
|
|
315
|
+
B: {};
|
|
316
|
+
D: {};
|
|
317
|
+
C: {};
|
|
318
|
+
M: {};
|
|
319
|
+
Defaults: {};
|
|
320
|
+
}, Readonly<{
|
|
321
|
+
show?: TooltipContentProps["show"];
|
|
322
|
+
} & TooltipContentProps> & Readonly<{
|
|
323
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
324
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
325
|
+
}, any>;
|
|
955
326
|
|
|
956
|
-
declare const
|
|
327
|
+
declare const __VLS_component_8: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
328
|
+
align: "left" | "center" | "right" | string;
|
|
329
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
957
330
|
|
|
958
331
|
declare type __VLS_Props = SuggestionPillsProps;
|
|
959
332
|
|
|
@@ -979,52 +352,6 @@ declare function __VLS_template(): {
|
|
|
979
352
|
rootEl: HTMLDivElement;
|
|
980
353
|
};
|
|
981
354
|
|
|
982
|
-
declare function __VLS_template_10(): {
|
|
983
|
-
attrs: Partial<{}>;
|
|
984
|
-
slots: {
|
|
985
|
-
'category-label'?(_: {
|
|
986
|
-
category: Category_2;
|
|
987
|
-
}): any;
|
|
988
|
-
'question-item'?(_: {
|
|
989
|
-
question: Question_2;
|
|
990
|
-
index: number;
|
|
991
|
-
}): any;
|
|
992
|
-
'loading-indicator'?(_: {}): any;
|
|
993
|
-
'empty-state'?(_: {}): any;
|
|
994
|
-
};
|
|
995
|
-
refs: {};
|
|
996
|
-
rootEl: HTMLDivElement;
|
|
997
|
-
};
|
|
998
|
-
|
|
999
|
-
declare function __VLS_template_11(): {
|
|
1000
|
-
attrs: Partial<{}>;
|
|
1001
|
-
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1002
|
-
refs: {
|
|
1003
|
-
popoverTriggerRef: HTMLDivElement;
|
|
1004
|
-
popoverRef: HTMLDivElement;
|
|
1005
|
-
listRef: HTMLUListElement;
|
|
1006
|
-
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1007
|
-
show?: TooltipContentProps["show"];
|
|
1008
|
-
} & TooltipContentProps> & Readonly<{
|
|
1009
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1010
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1011
|
-
"update:show": (value: boolean | undefined) => any;
|
|
1012
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1013
|
-
P: {};
|
|
1014
|
-
B: {};
|
|
1015
|
-
D: {};
|
|
1016
|
-
C: {};
|
|
1017
|
-
M: {};
|
|
1018
|
-
Defaults: {};
|
|
1019
|
-
}, Readonly<{
|
|
1020
|
-
show?: TooltipContentProps["show"];
|
|
1021
|
-
} & TooltipContentProps> & Readonly<{
|
|
1022
|
-
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
1023
|
-
}>, {}, {}, {}, {}, {}> | null;
|
|
1024
|
-
};
|
|
1025
|
-
rootEl: any;
|
|
1026
|
-
};
|
|
1027
|
-
|
|
1028
355
|
declare function __VLS_template_2(): {
|
|
1029
356
|
attrs: Partial<{}>;
|
|
1030
357
|
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
@@ -1128,11 +455,13 @@ declare function __VLS_template_3(): {
|
|
|
1128
455
|
popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
1129
456
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1130
457
|
$slots: Readonly<{
|
|
1131
|
-
trigger?: () => VNode
|
|
1132
|
-
content?: () => VNode
|
|
458
|
+
trigger?: () => VNode[];
|
|
459
|
+
content?: () => VNode[];
|
|
460
|
+
backdrop?: () => VNode[];
|
|
1133
461
|
}> & {
|
|
1134
|
-
trigger?: () => VNode
|
|
1135
|
-
content?: () => VNode
|
|
462
|
+
trigger?: () => VNode[];
|
|
463
|
+
content?: () => VNode[];
|
|
464
|
+
backdrop?: () => VNode[];
|
|
1136
465
|
};
|
|
1137
466
|
}) | null;
|
|
1138
467
|
};
|
|
@@ -1148,559 +477,49 @@ declare function __VLS_template_4(): {
|
|
|
1148
477
|
|
|
1149
478
|
declare function __VLS_template_5(): {
|
|
1150
479
|
attrs: Partial<{}>;
|
|
1151
|
-
slots:
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
decorativeContent?(_: {}): any;
|
|
1155
|
-
actions?(_: {}): any;
|
|
1156
|
-
'footer-left'?(_: {}): any;
|
|
1157
|
-
'footer-right'?(_: {}): any;
|
|
1158
|
-
footer?(_: {}): any;
|
|
1159
|
-
};
|
|
1160
|
-
refs: {
|
|
1161
|
-
senderRef: HTMLDivElement;
|
|
1162
|
-
inputWrapperRef: HTMLDivElement;
|
|
1163
|
-
templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1164
|
-
modelValue?: UserItem[];
|
|
1165
|
-
}> & Readonly<{
|
|
1166
|
-
onSubmit?: (() => any) | undefined;
|
|
1167
|
-
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
1168
|
-
}>, {
|
|
1169
|
-
clearHistory: () => void;
|
|
1170
|
-
activateFirstField: () => void;
|
|
1171
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1172
|
-
"update:modelValue": (value: UserItem[]) => any;
|
|
1173
|
-
} & {
|
|
1174
|
-
submit: () => any;
|
|
1175
|
-
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1176
|
-
editorRef: HTMLDivElement;
|
|
1177
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
1178
|
-
P: {};
|
|
1179
|
-
B: {};
|
|
1180
|
-
D: {};
|
|
1181
|
-
C: {};
|
|
1182
|
-
M: {};
|
|
1183
|
-
Defaults: {};
|
|
1184
|
-
}, Readonly<{
|
|
1185
|
-
modelValue?: UserItem[];
|
|
1186
|
-
}> & Readonly<{
|
|
1187
|
-
onSubmit?: (() => any) | undefined;
|
|
1188
|
-
"onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
|
|
1189
|
-
}>, {
|
|
1190
|
-
clearHistory: () => void;
|
|
1191
|
-
activateFirstField: () => void;
|
|
1192
|
-
}, {}, {}, {}, {}> | null;
|
|
1193
|
-
inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
1194
|
-
_constants: {
|
|
1195
|
-
type: ObjectConstructor;
|
|
1196
|
-
default: () => {
|
|
1197
|
-
INPUT_PC: string;
|
|
1198
|
-
INPUTGROUP_PC: string;
|
|
1199
|
-
INPUT_MOBILE: string;
|
|
1200
|
-
INPUTGROUP_MOBILE: string;
|
|
1201
|
-
Mode: string;
|
|
1202
|
-
inputMode(mode: any): string;
|
|
1203
|
-
inputGroupMode(mode: any): string;
|
|
1204
|
-
VALIDATE_ICON: {
|
|
1205
|
-
Validating: string;
|
|
1206
|
-
Success: string;
|
|
1207
|
-
Error: string;
|
|
1208
|
-
};
|
|
1209
|
-
COMPONENT_NAME: {
|
|
1210
|
-
FormItem: string;
|
|
1211
|
-
};
|
|
1212
|
-
MASKSYMBOL: string;
|
|
1213
|
-
TEXTAREA_HEIGHT_MOBILE: number;
|
|
1214
|
-
};
|
|
1215
|
-
};
|
|
1216
|
-
name: StringConstructor;
|
|
1217
|
-
size: StringConstructor;
|
|
1218
|
-
form: StringConstructor;
|
|
1219
|
-
label: StringConstructor;
|
|
1220
|
-
height: NumberConstructor;
|
|
1221
|
-
resize: StringConstructor;
|
|
1222
|
-
tabindex: {
|
|
1223
|
-
type: StringConstructor;
|
|
1224
|
-
default: string;
|
|
1225
|
-
};
|
|
1226
|
-
disabled: BooleanConstructor;
|
|
1227
|
-
readonly: BooleanConstructor;
|
|
1228
|
-
hoverExpand: BooleanConstructor;
|
|
1229
|
-
mask: BooleanConstructor;
|
|
1230
|
-
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1231
|
-
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1232
|
-
modelValue: PropType<string | number | null>;
|
|
1233
|
-
type: {
|
|
1234
|
-
type: StringConstructor;
|
|
1235
|
-
default: string;
|
|
1236
|
-
};
|
|
1237
|
-
memorySpace: {
|
|
1238
|
-
type: NumberConstructor;
|
|
1239
|
-
default: number;
|
|
1240
|
-
};
|
|
1241
|
-
vertical: {
|
|
1242
|
-
type: BooleanConstructor;
|
|
1243
|
-
default: boolean;
|
|
1244
|
-
};
|
|
1245
|
-
selectMenu: {
|
|
1246
|
-
type: {
|
|
1247
|
-
(arrayLength: number): {
|
|
1248
|
-
id: string;
|
|
1249
|
-
label: string;
|
|
1250
|
-
}[];
|
|
1251
|
-
(...items: {
|
|
1252
|
-
id: string;
|
|
1253
|
-
label: string;
|
|
1254
|
-
}[]): {
|
|
1255
|
-
id: string;
|
|
1256
|
-
label: string;
|
|
1257
|
-
}[];
|
|
1258
|
-
new (arrayLength: number): {
|
|
1259
|
-
id: string;
|
|
1260
|
-
label: string;
|
|
1261
|
-
}[];
|
|
1262
|
-
new (...items: {
|
|
1263
|
-
id: string;
|
|
1264
|
-
label: string;
|
|
1265
|
-
}[]): {
|
|
1266
|
-
id: string;
|
|
1267
|
-
label: string;
|
|
1268
|
-
}[];
|
|
1269
|
-
isArray(arg: any): arg is any[];
|
|
1270
|
-
readonly prototype: any[];
|
|
1271
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1272
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1273
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1274
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1275
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
1276
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1277
|
-
};
|
|
1278
|
-
default: () => never[];
|
|
1279
|
-
};
|
|
1280
|
-
ellipsis: {
|
|
1281
|
-
type: BooleanConstructor;
|
|
1282
|
-
default: boolean;
|
|
1283
|
-
};
|
|
1284
|
-
contentStyle: {
|
|
1285
|
-
type: ObjectConstructor;
|
|
1286
|
-
default: () => {};
|
|
1287
|
-
};
|
|
1288
|
-
isSelect: {
|
|
1289
|
-
type: BooleanConstructor;
|
|
1290
|
-
default: boolean;
|
|
1291
|
-
};
|
|
1292
|
-
tips: StringConstructor;
|
|
1293
|
-
counter: {
|
|
1294
|
-
type: BooleanConstructor;
|
|
1295
|
-
default: boolean;
|
|
1296
|
-
};
|
|
1297
|
-
autosize: {
|
|
1298
|
-
type: (BooleanConstructor | ObjectConstructor)[];
|
|
1299
|
-
default: boolean;
|
|
1300
|
-
};
|
|
1301
|
-
clearable: {
|
|
1302
|
-
type: BooleanConstructor;
|
|
1303
|
-
default: boolean;
|
|
1304
|
-
};
|
|
1305
|
-
autocomplete: {
|
|
1306
|
-
type: StringConstructor;
|
|
1307
|
-
default: string;
|
|
1308
|
-
};
|
|
1309
|
-
showPassword: {
|
|
1310
|
-
type: BooleanConstructor;
|
|
1311
|
-
default: boolean;
|
|
1312
|
-
};
|
|
1313
|
-
showWordLimit: {
|
|
1314
|
-
type: BooleanConstructor;
|
|
1315
|
-
default: boolean;
|
|
1316
|
-
};
|
|
1317
|
-
showTitle: {
|
|
1318
|
-
type: BooleanConstructor;
|
|
1319
|
-
default: boolean;
|
|
1320
|
-
};
|
|
1321
|
-
validateEvent: {
|
|
1322
|
-
type: BooleanConstructor;
|
|
1323
|
-
default: boolean;
|
|
1324
|
-
};
|
|
1325
|
-
popupMore: {
|
|
1326
|
-
type: BooleanConstructor;
|
|
1327
|
-
default: boolean;
|
|
1328
|
-
};
|
|
1329
|
-
textareaTitle: {
|
|
1330
|
-
type: StringConstructor;
|
|
1331
|
-
default: string;
|
|
1332
|
-
};
|
|
1333
|
-
displayOnly: {
|
|
1334
|
-
type: BooleanConstructor;
|
|
1335
|
-
default: boolean;
|
|
1336
|
-
};
|
|
1337
|
-
displayOnlyContent: {
|
|
1338
|
-
type: StringConstructor;
|
|
1339
|
-
default: string;
|
|
1340
|
-
};
|
|
1341
|
-
customClass: {
|
|
1342
|
-
type: StringConstructor;
|
|
1343
|
-
default: string;
|
|
1344
|
-
};
|
|
1345
|
-
frontClearIcon: {
|
|
1346
|
-
type: BooleanConstructor;
|
|
1347
|
-
default: boolean;
|
|
1348
|
-
};
|
|
1349
|
-
showEmptyValue: {
|
|
1350
|
-
type: BooleanConstructor;
|
|
1351
|
-
default: undefined;
|
|
1352
|
-
};
|
|
1353
|
-
textAlign: {
|
|
1354
|
-
type: StringConstructor;
|
|
1355
|
-
default: string;
|
|
1356
|
-
};
|
|
1357
|
-
width: {
|
|
1358
|
-
type: PropType<string | number | null>;
|
|
1359
|
-
};
|
|
1360
|
-
showTooltip: {
|
|
1361
|
-
type: BooleanConstructor;
|
|
1362
|
-
default: boolean;
|
|
1363
|
-
};
|
|
1364
|
-
inputBoxType: {
|
|
1365
|
-
type: StringConstructor;
|
|
1366
|
-
default: string;
|
|
1367
|
-
validator: (value: string) => boolean;
|
|
1368
|
-
};
|
|
1369
|
-
tiny_mode: StringConstructor;
|
|
1370
|
-
tiny_mode_root: BooleanConstructor;
|
|
1371
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
1372
|
-
tiny_renderless: FunctionConstructor;
|
|
1373
|
-
tiny_theme: StringConstructor;
|
|
1374
|
-
tiny_mcp_config: ObjectConstructor;
|
|
1375
|
-
tiny_chart_theme: ObjectConstructor;
|
|
1376
|
-
}>>, () => VNode<RendererNode, RendererElement, {
|
|
1377
|
-
[key: string]: any;
|
|
1378
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1379
|
-
disabled: boolean;
|
|
1380
|
-
type: string;
|
|
1381
|
-
ellipsis: boolean;
|
|
1382
|
-
mask: boolean;
|
|
1383
|
-
vertical: boolean;
|
|
1384
|
-
customClass: string;
|
|
1385
|
-
tiny_mode_root: boolean;
|
|
1386
|
-
_constants: Record<string, any>;
|
|
1387
|
-
tabindex: string;
|
|
1388
|
-
showTitle: boolean;
|
|
1389
|
-
readonly: boolean;
|
|
1390
|
-
hoverExpand: boolean;
|
|
1391
|
-
memorySpace: number;
|
|
1392
|
-
selectMenu: {
|
|
1393
|
-
id: string;
|
|
1394
|
-
label: string;
|
|
1395
|
-
}[];
|
|
1396
|
-
contentStyle: Record<string, any>;
|
|
1397
|
-
isSelect: boolean;
|
|
1398
|
-
counter: boolean;
|
|
1399
|
-
autosize: boolean | Record<string, any>;
|
|
1400
|
-
clearable: boolean;
|
|
1401
|
-
autocomplete: string;
|
|
1402
|
-
showPassword: boolean;
|
|
1403
|
-
showWordLimit: boolean;
|
|
1404
|
-
validateEvent: boolean;
|
|
1405
|
-
popupMore: boolean;
|
|
1406
|
-
textareaTitle: string;
|
|
1407
|
-
displayOnly: boolean;
|
|
1408
|
-
displayOnlyContent: string;
|
|
1409
|
-
frontClearIcon: boolean;
|
|
1410
|
-
showEmptyValue: boolean;
|
|
1411
|
-
textAlign: string;
|
|
1412
|
-
showTooltip: boolean;
|
|
1413
|
-
inputBoxType: string;
|
|
1414
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1415
|
-
P: {};
|
|
1416
|
-
B: {};
|
|
1417
|
-
D: {};
|
|
1418
|
-
C: {};
|
|
1419
|
-
M: {};
|
|
1420
|
-
Defaults: {};
|
|
1421
|
-
}, Readonly<ExtractPropTypes< {
|
|
1422
|
-
_constants: {
|
|
1423
|
-
type: ObjectConstructor;
|
|
1424
|
-
default: () => {
|
|
1425
|
-
INPUT_PC: string;
|
|
1426
|
-
INPUTGROUP_PC: string;
|
|
1427
|
-
INPUT_MOBILE: string;
|
|
1428
|
-
INPUTGROUP_MOBILE: string;
|
|
1429
|
-
Mode: string;
|
|
1430
|
-
inputMode(mode: any): string;
|
|
1431
|
-
inputGroupMode(mode: any): string;
|
|
1432
|
-
VALIDATE_ICON: {
|
|
1433
|
-
Validating: string;
|
|
1434
|
-
Success: string;
|
|
1435
|
-
Error: string;
|
|
1436
|
-
};
|
|
1437
|
-
COMPONENT_NAME: {
|
|
1438
|
-
FormItem: string;
|
|
1439
|
-
};
|
|
1440
|
-
MASKSYMBOL: string;
|
|
1441
|
-
TEXTAREA_HEIGHT_MOBILE: number;
|
|
1442
|
-
};
|
|
1443
|
-
};
|
|
1444
|
-
name: StringConstructor;
|
|
1445
|
-
size: StringConstructor;
|
|
1446
|
-
form: StringConstructor;
|
|
1447
|
-
label: StringConstructor;
|
|
1448
|
-
height: NumberConstructor;
|
|
1449
|
-
resize: StringConstructor;
|
|
1450
|
-
tabindex: {
|
|
1451
|
-
type: StringConstructor;
|
|
1452
|
-
default: string;
|
|
1453
|
-
};
|
|
1454
|
-
disabled: BooleanConstructor;
|
|
1455
|
-
readonly: BooleanConstructor;
|
|
1456
|
-
hoverExpand: BooleanConstructor;
|
|
1457
|
-
mask: BooleanConstructor;
|
|
1458
|
-
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1459
|
-
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1460
|
-
modelValue: PropType<string | number | null>;
|
|
1461
|
-
type: {
|
|
1462
|
-
type: StringConstructor;
|
|
1463
|
-
default: string;
|
|
1464
|
-
};
|
|
1465
|
-
memorySpace: {
|
|
1466
|
-
type: NumberConstructor;
|
|
1467
|
-
default: number;
|
|
1468
|
-
};
|
|
1469
|
-
vertical: {
|
|
1470
|
-
type: BooleanConstructor;
|
|
1471
|
-
default: boolean;
|
|
1472
|
-
};
|
|
1473
|
-
selectMenu: {
|
|
1474
|
-
type: {
|
|
1475
|
-
(arrayLength: number): {
|
|
1476
|
-
id: string;
|
|
1477
|
-
label: string;
|
|
1478
|
-
}[];
|
|
1479
|
-
(...items: {
|
|
1480
|
-
id: string;
|
|
1481
|
-
label: string;
|
|
1482
|
-
}[]): {
|
|
1483
|
-
id: string;
|
|
1484
|
-
label: string;
|
|
1485
|
-
}[];
|
|
1486
|
-
new (arrayLength: number): {
|
|
1487
|
-
id: string;
|
|
1488
|
-
label: string;
|
|
1489
|
-
}[];
|
|
1490
|
-
new (...items: {
|
|
1491
|
-
id: string;
|
|
1492
|
-
label: string;
|
|
1493
|
-
}[]): {
|
|
1494
|
-
id: string;
|
|
1495
|
-
label: string;
|
|
1496
|
-
}[];
|
|
1497
|
-
isArray(arg: any): arg is any[];
|
|
1498
|
-
readonly prototype: any[];
|
|
1499
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1500
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1501
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1502
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1503
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
1504
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1505
|
-
};
|
|
1506
|
-
default: () => never[];
|
|
1507
|
-
};
|
|
1508
|
-
ellipsis: {
|
|
1509
|
-
type: BooleanConstructor;
|
|
1510
|
-
default: boolean;
|
|
1511
|
-
};
|
|
1512
|
-
contentStyle: {
|
|
1513
|
-
type: ObjectConstructor;
|
|
1514
|
-
default: () => {};
|
|
1515
|
-
};
|
|
1516
|
-
isSelect: {
|
|
1517
|
-
type: BooleanConstructor;
|
|
1518
|
-
default: boolean;
|
|
1519
|
-
};
|
|
1520
|
-
tips: StringConstructor;
|
|
1521
|
-
counter: {
|
|
1522
|
-
type: BooleanConstructor;
|
|
1523
|
-
default: boolean;
|
|
1524
|
-
};
|
|
1525
|
-
autosize: {
|
|
1526
|
-
type: (BooleanConstructor | ObjectConstructor)[];
|
|
1527
|
-
default: boolean;
|
|
1528
|
-
};
|
|
1529
|
-
clearable: {
|
|
1530
|
-
type: BooleanConstructor;
|
|
1531
|
-
default: boolean;
|
|
1532
|
-
};
|
|
1533
|
-
autocomplete: {
|
|
1534
|
-
type: StringConstructor;
|
|
1535
|
-
default: string;
|
|
1536
|
-
};
|
|
1537
|
-
showPassword: {
|
|
1538
|
-
type: BooleanConstructor;
|
|
1539
|
-
default: boolean;
|
|
1540
|
-
};
|
|
1541
|
-
showWordLimit: {
|
|
1542
|
-
type: BooleanConstructor;
|
|
1543
|
-
default: boolean;
|
|
1544
|
-
};
|
|
1545
|
-
showTitle: {
|
|
1546
|
-
type: BooleanConstructor;
|
|
1547
|
-
default: boolean;
|
|
1548
|
-
};
|
|
1549
|
-
validateEvent: {
|
|
1550
|
-
type: BooleanConstructor;
|
|
1551
|
-
default: boolean;
|
|
1552
|
-
};
|
|
1553
|
-
popupMore: {
|
|
1554
|
-
type: BooleanConstructor;
|
|
1555
|
-
default: boolean;
|
|
1556
|
-
};
|
|
1557
|
-
textareaTitle: {
|
|
1558
|
-
type: StringConstructor;
|
|
1559
|
-
default: string;
|
|
1560
|
-
};
|
|
1561
|
-
displayOnly: {
|
|
1562
|
-
type: BooleanConstructor;
|
|
1563
|
-
default: boolean;
|
|
1564
|
-
};
|
|
1565
|
-
displayOnlyContent: {
|
|
1566
|
-
type: StringConstructor;
|
|
1567
|
-
default: string;
|
|
1568
|
-
};
|
|
1569
|
-
customClass: {
|
|
1570
|
-
type: StringConstructor;
|
|
1571
|
-
default: string;
|
|
1572
|
-
};
|
|
1573
|
-
frontClearIcon: {
|
|
1574
|
-
type: BooleanConstructor;
|
|
1575
|
-
default: boolean;
|
|
1576
|
-
};
|
|
1577
|
-
showEmptyValue: {
|
|
1578
|
-
type: BooleanConstructor;
|
|
1579
|
-
default: undefined;
|
|
1580
|
-
};
|
|
1581
|
-
textAlign: {
|
|
1582
|
-
type: StringConstructor;
|
|
1583
|
-
default: string;
|
|
1584
|
-
};
|
|
1585
|
-
width: {
|
|
1586
|
-
type: PropType<string | number | null>;
|
|
1587
|
-
};
|
|
1588
|
-
showTooltip: {
|
|
1589
|
-
type: BooleanConstructor;
|
|
1590
|
-
default: boolean;
|
|
1591
|
-
};
|
|
1592
|
-
inputBoxType: {
|
|
1593
|
-
type: StringConstructor;
|
|
1594
|
-
default: string;
|
|
1595
|
-
validator: (value: string) => boolean;
|
|
1596
|
-
};
|
|
1597
|
-
tiny_mode: StringConstructor;
|
|
1598
|
-
tiny_mode_root: BooleanConstructor;
|
|
1599
|
-
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
1600
|
-
tiny_renderless: FunctionConstructor;
|
|
1601
|
-
tiny_theme: StringConstructor;
|
|
1602
|
-
tiny_mcp_config: ObjectConstructor;
|
|
1603
|
-
tiny_chart_theme: ObjectConstructor;
|
|
1604
|
-
}>>, () => VNode<RendererNode, RendererElement, {
|
|
1605
|
-
[key: string]: any;
|
|
1606
|
-
}>, {}, {}, {}, {
|
|
1607
|
-
disabled: boolean;
|
|
1608
|
-
type: string;
|
|
1609
|
-
ellipsis: boolean;
|
|
1610
|
-
mask: boolean;
|
|
1611
|
-
vertical: boolean;
|
|
1612
|
-
customClass: string;
|
|
1613
|
-
tiny_mode_root: boolean;
|
|
1614
|
-
_constants: Record<string, any>;
|
|
1615
|
-
tabindex: string;
|
|
1616
|
-
showTitle: boolean;
|
|
1617
|
-
readonly: boolean;
|
|
1618
|
-
hoverExpand: boolean;
|
|
1619
|
-
memorySpace: number;
|
|
1620
|
-
selectMenu: {
|
|
1621
|
-
id: string;
|
|
1622
|
-
label: string;
|
|
1623
|
-
}[];
|
|
1624
|
-
contentStyle: Record<string, any>;
|
|
1625
|
-
isSelect: boolean;
|
|
1626
|
-
counter: boolean;
|
|
1627
|
-
autosize: boolean | Record<string, any>;
|
|
1628
|
-
clearable: boolean;
|
|
1629
|
-
autocomplete: string;
|
|
1630
|
-
showPassword: boolean;
|
|
1631
|
-
showWordLimit: boolean;
|
|
1632
|
-
validateEvent: boolean;
|
|
1633
|
-
popupMore: boolean;
|
|
1634
|
-
textareaTitle: string;
|
|
1635
|
-
displayOnly: boolean;
|
|
1636
|
-
displayOnlyContent: string;
|
|
1637
|
-
frontClearIcon: boolean;
|
|
1638
|
-
showEmptyValue: boolean;
|
|
1639
|
-
textAlign: string;
|
|
1640
|
-
showTooltip: boolean;
|
|
1641
|
-
inputBoxType: string;
|
|
1642
|
-
}> | null;
|
|
1643
|
-
buttonsContainerRef: HTMLDivElement;
|
|
1644
|
-
suggestionsListRef: HTMLDivElement;
|
|
1645
|
-
};
|
|
1646
|
-
rootEl: HTMLDivElement;
|
|
480
|
+
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
481
|
+
refs: {};
|
|
482
|
+
rootEl: HTMLButtonElement;
|
|
1647
483
|
};
|
|
1648
484
|
|
|
1649
485
|
declare function __VLS_template_6(): {
|
|
1650
486
|
attrs: Partial<{}>;
|
|
1651
|
-
slots: Readonly<
|
|
1652
|
-
refs: {
|
|
487
|
+
slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
|
|
488
|
+
refs: {
|
|
489
|
+
containerWrapperRef: HTMLDivElement;
|
|
490
|
+
containerRef: HTMLDivElement;
|
|
491
|
+
floatingItemsRef: HTMLDivElement;
|
|
492
|
+
};
|
|
1653
493
|
rootEl: HTMLDivElement;
|
|
1654
494
|
};
|
|
1655
495
|
|
|
1656
496
|
declare function __VLS_template_7(): {
|
|
1657
497
|
attrs: Partial<{}>;
|
|
1658
|
-
slots:
|
|
1659
|
-
'capsule-icon'?(_: {
|
|
1660
|
-
suggestion: any;
|
|
1661
|
-
}): any;
|
|
1662
|
-
trigger?(_: {
|
|
1663
|
-
onTrigger: TriggerHandler;
|
|
1664
|
-
onKeyDown: (e: KeyboardEvent) => void;
|
|
1665
|
-
onInput: (event: Event, text: string) => boolean;
|
|
1666
|
-
}): any;
|
|
1667
|
-
'title-icon'?(_: {}): any;
|
|
1668
|
-
'category-label'?(_: {
|
|
1669
|
-
category: any;
|
|
1670
|
-
}): any;
|
|
1671
|
-
item?(_: {
|
|
1672
|
-
item: SuggestionItem;
|
|
1673
|
-
active: boolean;
|
|
1674
|
-
}): any;
|
|
1675
|
-
'loading-indicator'?(_: {}): any;
|
|
1676
|
-
empty?(_: {}): any;
|
|
1677
|
-
};
|
|
498
|
+
slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
|
|
1678
499
|
refs: {
|
|
1679
|
-
|
|
1680
|
-
panelRef: ({
|
|
500
|
+
basePopperRef: ({
|
|
1681
501
|
$: ComponentInternalInstance;
|
|
1682
502
|
$data: {};
|
|
1683
|
-
$props:
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
readonly
|
|
1690
|
-
readonly
|
|
1691
|
-
readonly
|
|
1692
|
-
readonly
|
|
1693
|
-
readonly
|
|
1694
|
-
readonly
|
|
1695
|
-
|
|
1696
|
-
readonly "onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
1697
|
-
readonly "onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
1698
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "loading" | "title" | "categories" | "maxVisibleItems">;
|
|
503
|
+
$props: {
|
|
504
|
+
readonly appendTo?: (string | HTMLElement) | undefined;
|
|
505
|
+
readonly offset?: number | {
|
|
506
|
+
mainAxis?: number;
|
|
507
|
+
crossAxis?: number;
|
|
508
|
+
} | undefined;
|
|
509
|
+
readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
|
|
510
|
+
readonly preventOverflow?: boolean | undefined;
|
|
511
|
+
readonly renderAllTriggers?: boolean | undefined;
|
|
512
|
+
readonly show?: boolean | undefined;
|
|
513
|
+
readonly transitionProps?: TransitionProps | undefined;
|
|
514
|
+
readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
|
|
515
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1699
516
|
$attrs: {
|
|
1700
517
|
[x: string]: unknown;
|
|
1701
518
|
};
|
|
1702
519
|
$refs: {
|
|
1703
520
|
[x: string]: unknown;
|
|
521
|
+
} & {
|
|
522
|
+
popperRef: HTMLDivElement;
|
|
1704
523
|
};
|
|
1705
524
|
$slots: Readonly<{
|
|
1706
525
|
[name: string]: Slot<any> | undefined;
|
|
@@ -1708,46 +527,26 @@ declare function __VLS_template_7(): {
|
|
|
1708
527
|
$root: ComponentPublicInstance | null;
|
|
1709
528
|
$parent: ComponentPublicInstance | null;
|
|
1710
529
|
$host: Element | null;
|
|
1711
|
-
$emit: (
|
|
1712
|
-
$el:
|
|
1713
|
-
$options: ComponentOptionsBase<Readonly<
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
categories: {
|
|
1719
|
-
type: PropType<Category[]>;
|
|
1720
|
-
default: () => never[];
|
|
1721
|
-
};
|
|
1722
|
-
loading: {
|
|
1723
|
-
type: BooleanConstructor;
|
|
1724
|
-
default: boolean;
|
|
1725
|
-
};
|
|
1726
|
-
title: {
|
|
1727
|
-
type: StringConstructor;
|
|
1728
|
-
default: string;
|
|
1729
|
-
};
|
|
1730
|
-
maxVisibleItems: {
|
|
1731
|
-
type: NumberConstructor;
|
|
1732
|
-
default: number;
|
|
530
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
531
|
+
$el: any;
|
|
532
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
533
|
+
appendTo?: string | HTMLElement;
|
|
534
|
+
offset?: number | {
|
|
535
|
+
mainAxis?: number;
|
|
536
|
+
crossAxis?: number;
|
|
1733
537
|
};
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
"
|
|
1746
|
-
}, string, {
|
|
1747
|
-
loading: boolean;
|
|
1748
|
-
title: string;
|
|
1749
|
-
categories: Category[];
|
|
1750
|
-
maxVisibleItems: number;
|
|
538
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
539
|
+
preventOverflow?: boolean;
|
|
540
|
+
renderAllTriggers?: boolean;
|
|
541
|
+
show?: boolean;
|
|
542
|
+
transitionProps?: TransitionProps;
|
|
543
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
544
|
+
}> & Readonly<{}>, {
|
|
545
|
+
triggerRef: ComputedRef<MaybeElement>;
|
|
546
|
+
triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
|
|
547
|
+
popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
548
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
549
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
1751
550
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1752
551
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1753
552
|
created?: (() => void) | (() => void)[];
|
|
@@ -1769,77 +568,66 @@ declare function __VLS_template_7(): {
|
|
|
1769
568
|
$nextTick: nextTick;
|
|
1770
569
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1771
570
|
} & Readonly<{
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
title: {
|
|
1790
|
-
type: StringConstructor;
|
|
1791
|
-
default: string;
|
|
1792
|
-
};
|
|
1793
|
-
maxVisibleItems: {
|
|
1794
|
-
type: NumberConstructor;
|
|
1795
|
-
default: number;
|
|
1796
|
-
};
|
|
1797
|
-
}>> & Readonly<{
|
|
1798
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1799
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1800
|
-
"onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
1801
|
-
"onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
1802
|
-
}>, "handleKeyDown" | ("loading" | "title" | "categories" | "maxVisibleItems")> & ShallowUnwrapRef< {
|
|
1803
|
-
handleKeyDown: (e: KeyboardEvent) => void;
|
|
571
|
+
placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
572
|
+
}> & Omit<Readonly<{
|
|
573
|
+
appendTo?: string | HTMLElement;
|
|
574
|
+
offset?: number | {
|
|
575
|
+
mainAxis?: number;
|
|
576
|
+
crossAxis?: number;
|
|
577
|
+
};
|
|
578
|
+
placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
579
|
+
preventOverflow?: boolean;
|
|
580
|
+
renderAllTriggers?: boolean;
|
|
581
|
+
show?: boolean;
|
|
582
|
+
transitionProps?: TransitionProps;
|
|
583
|
+
triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
|
|
584
|
+
}> & Readonly<{}>, "placement" | "triggerRef" | "triggerRefs" | "popperRef"> & ShallowUnwrapRef< {
|
|
585
|
+
triggerRef: ComputedRef<MaybeElement>;
|
|
586
|
+
triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
|
|
587
|
+
popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
1804
588
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1805
|
-
$slots: {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
589
|
+
$slots: Readonly<{
|
|
590
|
+
trigger?: () => VNode[];
|
|
591
|
+
content?: () => VNode[];
|
|
592
|
+
backdrop?: () => VNode[];
|
|
593
|
+
}> & {
|
|
594
|
+
trigger?: () => VNode[];
|
|
595
|
+
content?: () => VNode[];
|
|
596
|
+
backdrop?: () => VNode[];
|
|
1813
597
|
};
|
|
1814
598
|
}) | null;
|
|
599
|
+
listRef: HTMLUListElement;
|
|
600
|
+
tooltipRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
601
|
+
show?: TooltipContentProps["show"];
|
|
602
|
+
} & TooltipContentProps> & Readonly<{
|
|
603
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
604
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
605
|
+
"update:show": (value: boolean | undefined) => any;
|
|
606
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
607
|
+
P: {};
|
|
608
|
+
B: {};
|
|
609
|
+
D: {};
|
|
610
|
+
C: {};
|
|
611
|
+
M: {};
|
|
612
|
+
Defaults: {};
|
|
613
|
+
}, Readonly<{
|
|
614
|
+
show?: TooltipContentProps["show"];
|
|
615
|
+
} & TooltipContentProps> & Readonly<{
|
|
616
|
+
"onUpdate:show"?: ((value: boolean | undefined) => any) | undefined;
|
|
617
|
+
}>, {}, {}, {}, {}, {}> | null;
|
|
1815
618
|
};
|
|
1816
|
-
rootEl:
|
|
619
|
+
rootEl: any;
|
|
1817
620
|
};
|
|
1818
621
|
|
|
1819
622
|
declare function __VLS_template_8(): {
|
|
1820
623
|
attrs: Partial<{}>;
|
|
1821
|
-
slots: Readonly<
|
|
1822
|
-
refs: {
|
|
1823
|
-
containerWrapperRef: HTMLDivElement;
|
|
1824
|
-
containerRef: HTMLDivElement;
|
|
1825
|
-
floatingItemsRef: HTMLDivElement;
|
|
1826
|
-
};
|
|
1827
|
-
rootEl: HTMLDivElement;
|
|
1828
|
-
};
|
|
1829
|
-
|
|
1830
|
-
declare function __VLS_template_9(): {
|
|
1831
|
-
attrs: Partial<{}>;
|
|
1832
|
-
slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
|
|
624
|
+
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1833
625
|
refs: {};
|
|
1834
|
-
rootEl:
|
|
626
|
+
rootEl: HTMLDivElement;
|
|
1835
627
|
};
|
|
1836
628
|
|
|
1837
629
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1838
630
|
|
|
1839
|
-
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1840
|
-
|
|
1841
|
-
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1842
|
-
|
|
1843
631
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1844
632
|
|
|
1845
633
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1854,26 +642,12 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
|
1854
642
|
|
|
1855
643
|
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
1856
644
|
|
|
1857
|
-
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1858
|
-
|
|
1859
645
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1860
646
|
new (): {
|
|
1861
647
|
$slots: S;
|
|
1862
648
|
};
|
|
1863
649
|
};
|
|
1864
650
|
|
|
1865
|
-
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
1866
|
-
new (): {
|
|
1867
|
-
$slots: S;
|
|
1868
|
-
};
|
|
1869
|
-
};
|
|
1870
|
-
|
|
1871
|
-
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1872
|
-
new (): {
|
|
1873
|
-
$slots: S;
|
|
1874
|
-
};
|
|
1875
|
-
};
|
|
1876
|
-
|
|
1877
651
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1878
652
|
new (): {
|
|
1879
653
|
$slots: S;
|
|
@@ -1916,12 +690,6 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
|
1916
690
|
};
|
|
1917
691
|
};
|
|
1918
692
|
|
|
1919
|
-
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1920
|
-
new (): {
|
|
1921
|
-
$slots: S;
|
|
1922
|
-
};
|
|
1923
|
-
};
|
|
1924
|
-
|
|
1925
693
|
export declare interface ActionButtonsProps {
|
|
1926
694
|
loading?: boolean;
|
|
1927
695
|
disabled?: boolean;
|
|
@@ -1959,7 +727,7 @@ declare interface BaseTextItem {
|
|
|
1959
727
|
content: string;
|
|
1960
728
|
}
|
|
1961
729
|
|
|
1962
|
-
declare const Bubble: typeof
|
|
730
|
+
declare const Bubble: typeof _default_12 & {
|
|
1963
731
|
install: typeof bubbleInstall;
|
|
1964
732
|
};
|
|
1965
733
|
export { Bubble }
|
|
@@ -1967,7 +735,7 @@ export { Bubble as TrBubble }
|
|
|
1967
735
|
|
|
1968
736
|
declare const bubbleInstall: (app: App) => void;
|
|
1969
737
|
|
|
1970
|
-
declare const BubbleList: typeof
|
|
738
|
+
declare const BubbleList: typeof _default_13 & {
|
|
1971
739
|
install: typeof bubbleListInstall;
|
|
1972
740
|
};
|
|
1973
741
|
export { BubbleList }
|
|
@@ -2029,27 +797,6 @@ export declare interface BubbleSlots {
|
|
|
2029
797
|
}) => unknown;
|
|
2030
798
|
}
|
|
2031
799
|
|
|
2032
|
-
/**
|
|
2033
|
-
* 分类定义
|
|
2034
|
-
*/
|
|
2035
|
-
export declare interface Category {
|
|
2036
|
-
/** 唯一标识 */
|
|
2037
|
-
id: string;
|
|
2038
|
-
/** 显示名称 */
|
|
2039
|
-
label: string;
|
|
2040
|
-
/** 可选图标 */
|
|
2041
|
-
icon?: VNode;
|
|
2042
|
-
/** 该分类下的指令项 */
|
|
2043
|
-
items: SuggestionItem[];
|
|
2044
|
-
}
|
|
2045
|
-
|
|
2046
|
-
declare interface Category_2 {
|
|
2047
|
-
id: string;
|
|
2048
|
-
label: string;
|
|
2049
|
-
icon?: string;
|
|
2050
|
-
questions: Question_2[];
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
800
|
export declare interface ContainerProps {
|
|
2054
801
|
/**
|
|
2055
802
|
* model:show
|
|
@@ -2073,43 +820,31 @@ declare const _default: {
|
|
|
2073
820
|
};
|
|
2074
821
|
export default _default;
|
|
2075
822
|
|
|
2076
|
-
declare const _default_10: typeof
|
|
823
|
+
declare const _default_10: typeof _default_23 & {
|
|
2077
824
|
install: typeof install_8;
|
|
2078
825
|
};
|
|
2079
|
-
export { _default_10 as
|
|
2080
|
-
export { _default_10 as
|
|
826
|
+
export { _default_10 as SuggestionPopover }
|
|
827
|
+
export { _default_10 as TrSuggestionPopover }
|
|
2081
828
|
|
|
2082
|
-
declare const _default_11: typeof
|
|
829
|
+
declare const _default_11: typeof _default_24 & {
|
|
2083
830
|
install: typeof install_9;
|
|
2084
831
|
};
|
|
2085
|
-
export { _default_11 as
|
|
2086
|
-
export { _default_11 as
|
|
2087
|
-
|
|
2088
|
-
declare const _default_12: typeof _default_28 & {
|
|
2089
|
-
install: typeof install_10;
|
|
2090
|
-
};
|
|
2091
|
-
export { _default_12 as Question }
|
|
2092
|
-
export { _default_12 as TrQuestion }
|
|
832
|
+
export { _default_11 as TrWelcome }
|
|
833
|
+
export { _default_11 as Welcome }
|
|
2093
834
|
|
|
2094
|
-
declare const
|
|
2095
|
-
install: typeof install_11;
|
|
2096
|
-
};
|
|
2097
|
-
export { _default_13 as SuggestionPopover }
|
|
2098
|
-
export { _default_13 as TrSuggestionPopover }
|
|
2099
|
-
|
|
2100
|
-
declare const _default_14: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
835
|
+
declare const _default_12: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2101
836
|
|
|
2102
|
-
declare const
|
|
837
|
+
declare const _default_13: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2103
838
|
scrollContainerRef: HTMLDivElement;
|
|
2104
839
|
}, HTMLDivElement>;
|
|
2105
840
|
|
|
2106
|
-
declare const
|
|
841
|
+
declare const _default_14: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2107
842
|
|
|
2108
|
-
declare const
|
|
843
|
+
declare const _default_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2109
844
|
|
|
2110
|
-
declare const
|
|
845
|
+
declare const _default_16: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2111
846
|
|
|
2112
|
-
declare const
|
|
847
|
+
declare const _default_17: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2113
848
|
operation: (name: string) => any;
|
|
2114
849
|
action: (name: string) => any;
|
|
2115
850
|
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
@@ -2121,48 +856,42 @@ actionsLimit: number;
|
|
|
2121
856
|
sourcesLinesLimit: number;
|
|
2122
857
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2123
858
|
|
|
2124
|
-
declare const
|
|
2125
|
-
install: typeof install;
|
|
2126
|
-
};
|
|
2127
|
-
export { _default_2 as Container }
|
|
2128
|
-
export { _default_2 as TrContainer }
|
|
2129
|
-
|
|
2130
|
-
declare const _default_20: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
859
|
+
declare const _default_18: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
2131
860
|
size: string | number;
|
|
2132
861
|
svgSize: string | number;
|
|
2133
862
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2134
863
|
|
|
2135
|
-
declare const
|
|
2136
|
-
|
|
2137
|
-
declare const _default_22: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
864
|
+
declare const _default_19: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2138
865
|
|
|
2139
|
-
declare const
|
|
2140
|
-
|
|
2141
|
-
|
|
866
|
+
declare const _default_2: typeof _default_14 & {
|
|
867
|
+
install: typeof install;
|
|
868
|
+
};
|
|
869
|
+
export { _default_2 as Container }
|
|
870
|
+
export { _default_2 as TrContainer }
|
|
2142
871
|
|
|
2143
|
-
declare const
|
|
872
|
+
declare const _default_20: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2144
873
|
|
|
2145
|
-
declare const
|
|
874
|
+
declare const _default_21: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2146
875
|
|
|
2147
|
-
declare const
|
|
876
|
+
declare const _default_22: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2148
877
|
|
|
2149
|
-
declare const
|
|
878
|
+
declare const _default_23: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2150
879
|
|
|
2151
|
-
declare const
|
|
880
|
+
declare const _default_24: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2152
881
|
|
|
2153
|
-
declare const _default_3: typeof
|
|
882
|
+
declare const _default_3: typeof _default_15 & {
|
|
2154
883
|
install: typeof install_2;
|
|
2155
884
|
};
|
|
2156
885
|
export { _default_3 as Conversations }
|
|
2157
886
|
export { _default_3 as TrConversations }
|
|
2158
887
|
|
|
2159
|
-
declare const _default_4: typeof
|
|
888
|
+
declare const _default_4: typeof _default_16 & {
|
|
2160
889
|
install: typeof install_3;
|
|
2161
890
|
};
|
|
2162
891
|
export { _default_4 as DropdownMenu }
|
|
2163
892
|
export { _default_4 as TrDropdownMenu }
|
|
2164
893
|
|
|
2165
|
-
declare const _default_5: typeof
|
|
894
|
+
declare const _default_5: typeof _default_17 & {
|
|
2166
895
|
install: typeof install_4;
|
|
2167
896
|
};
|
|
2168
897
|
export { _default_5 as Feedback }
|
|
@@ -2175,23 +904,23 @@ declare const _default_6: {
|
|
|
2175
904
|
export { _default_6 as History }
|
|
2176
905
|
export { _default_6 as TrHistory }
|
|
2177
906
|
|
|
2178
|
-
declare const _default_7: typeof
|
|
907
|
+
declare const _default_7: typeof _default_18 & {
|
|
2179
908
|
install: typeof install_5;
|
|
2180
909
|
};
|
|
2181
910
|
export { _default_7 as IconButton }
|
|
2182
911
|
export { _default_7 as TrIconButton }
|
|
2183
912
|
|
|
2184
|
-
declare const _default_8: typeof
|
|
913
|
+
declare const _default_8: typeof default_2 & {
|
|
2185
914
|
install: typeof install_6;
|
|
2186
915
|
};
|
|
2187
916
|
export { _default_8 as Sender }
|
|
2188
917
|
export { _default_8 as TrSender }
|
|
2189
918
|
|
|
2190
|
-
declare const _default_9: typeof
|
|
919
|
+
declare const _default_9: typeof _default_22 & {
|
|
2191
920
|
install: typeof install_7;
|
|
2192
921
|
};
|
|
2193
|
-
export { _default_9 as
|
|
2194
|
-
export { _default_9 as
|
|
922
|
+
export { _default_9 as SuggestionPills }
|
|
923
|
+
export { _default_9 as TrSuggestionPills }
|
|
2195
924
|
|
|
2196
925
|
export declare interface DropdownMenuEmits {
|
|
2197
926
|
(e: 'item-click', item: DropdownMenuItem): void;
|
|
@@ -2311,10 +1040,6 @@ export declare type InputMode = 'single' | 'multiple';
|
|
|
2311
1040
|
|
|
2312
1041
|
declare const install: <T>(app: App<T>) => void;
|
|
2313
1042
|
|
|
2314
|
-
declare const install_10: <T>(app: App<T>) => void;
|
|
2315
|
-
|
|
2316
|
-
declare const install_11: <T>(app: App<T>) => void;
|
|
2317
|
-
|
|
2318
1043
|
declare const install_2: <T>(app: App<T>) => void;
|
|
2319
1044
|
|
|
2320
1045
|
declare const install_3: <T>(app: App<T>) => void;
|
|
@@ -2350,7 +1075,7 @@ export declare type MultiTabHistoryProps = {
|
|
|
2350
1075
|
data: Record<string, HistoryData>;
|
|
2351
1076
|
} & BaseHistoryProps;
|
|
2352
1077
|
|
|
2353
|
-
declare const Prompt: typeof
|
|
1078
|
+
declare const Prompt: typeof _default_19 & {
|
|
2354
1079
|
install: typeof installPrompt;
|
|
2355
1080
|
};
|
|
2356
1081
|
export { Prompt }
|
|
@@ -2383,7 +1108,7 @@ export declare interface PromptProps {
|
|
|
2383
1108
|
badge?: string | VNode;
|
|
2384
1109
|
}
|
|
2385
1110
|
|
|
2386
|
-
declare const Prompts: typeof
|
|
1111
|
+
declare const Prompts: typeof _default_20 & {
|
|
2387
1112
|
install: typeof installPrompts;
|
|
2388
1113
|
};
|
|
2389
1114
|
export { Prompts }
|
|
@@ -2420,53 +1145,6 @@ export declare interface PromptsSlots {
|
|
|
2420
1145
|
footer?: () => unknown;
|
|
2421
1146
|
}
|
|
2422
1147
|
|
|
2423
|
-
declare interface Question_2 {
|
|
2424
|
-
id: string;
|
|
2425
|
-
text: string;
|
|
2426
|
-
keywords?: string[];
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
/**
|
|
2430
|
-
* Question组件属性定义
|
|
2431
|
-
*/
|
|
2432
|
-
declare interface QuestionProps {
|
|
2433
|
-
/**
|
|
2434
|
-
* 问题分类列表
|
|
2435
|
-
* 包含多个分类,每个分类下有多个问题
|
|
2436
|
-
*/
|
|
2437
|
-
categories: Category_2[];
|
|
2438
|
-
/**
|
|
2439
|
-
* 浮动显示的问题列表
|
|
2440
|
-
* 显示在组件底部的常见问题胶囊
|
|
2441
|
-
*/
|
|
2442
|
-
commonQuestions: Question_2[];
|
|
2443
|
-
/**
|
|
2444
|
-
* 是否初始展开常见问题
|
|
2445
|
-
* @default false
|
|
2446
|
-
*/
|
|
2447
|
-
initialExpanded?: boolean;
|
|
2448
|
-
/**
|
|
2449
|
-
* 弹窗宽度
|
|
2450
|
-
* @default '640px'
|
|
2451
|
-
*/
|
|
2452
|
-
modalWidth?: string;
|
|
2453
|
-
/**
|
|
2454
|
-
* 主题类型
|
|
2455
|
-
* @default 'light'
|
|
2456
|
-
*/
|
|
2457
|
-
theme?: ThemeType_3;
|
|
2458
|
-
/**
|
|
2459
|
-
* 是否点击外部关闭弹窗
|
|
2460
|
-
* @default true
|
|
2461
|
-
*/
|
|
2462
|
-
closeOnClickOutside?: boolean;
|
|
2463
|
-
/**
|
|
2464
|
-
* 是否显示加载中状态
|
|
2465
|
-
* @default false
|
|
2466
|
-
*/
|
|
2467
|
-
loading?: boolean;
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
1148
|
export declare type SenderEmits = {
|
|
2471
1149
|
(e: 'update:modelValue', value: string): void;
|
|
2472
1150
|
(e: 'update:templateData', value: UserItem[]): void;
|
|
@@ -2503,8 +1181,6 @@ export declare interface SenderProps {
|
|
|
2503
1181
|
suggestions?: string[];
|
|
2504
1182
|
suggestionPopupWidth?: string | number;
|
|
2505
1183
|
theme?: ThemeType;
|
|
2506
|
-
template?: string;
|
|
2507
|
-
hasContent?: boolean;
|
|
2508
1184
|
templateData?: UserItem[];
|
|
2509
1185
|
stopText?: string;
|
|
2510
1186
|
}
|
|
@@ -2543,63 +1219,21 @@ export declare interface SpeechState {
|
|
|
2543
1219
|
|
|
2544
1220
|
export declare type SubmitTrigger = 'enter' | 'ctrlEnter' | 'shiftEnter';
|
|
2545
1221
|
|
|
2546
|
-
declare interface SuggestionBaseItem {
|
|
1222
|
+
export declare interface SuggestionBaseItem {
|
|
2547
1223
|
id: string;
|
|
2548
1224
|
text: string;
|
|
2549
1225
|
}
|
|
2550
1226
|
|
|
2551
|
-
declare type SuggestionData<T = Record<string, unknown>> = (
|
|
2552
|
-
|
|
2553
|
-
/**
|
|
2554
|
-
* 组件事件
|
|
2555
|
-
*/
|
|
2556
|
-
export declare interface SuggestionEmits {
|
|
2557
|
-
/** 双向绑定打开状态 (v-model) */
|
|
2558
|
-
(e: 'update:open', value: boolean): void;
|
|
2559
|
-
/** 选中指令项 */
|
|
2560
|
-
(e: 'select', value: string, context?: TriggerContext): void;
|
|
2561
|
-
/** 关闭面板 */
|
|
2562
|
-
(e: 'close'): void;
|
|
2563
|
-
/** 触发回调 */
|
|
2564
|
-
(e: 'trigger', handler: TriggerHandler): void;
|
|
2565
|
-
/** 选择分类 */
|
|
2566
|
-
(e: 'category-select', category: Category): void;
|
|
2567
|
-
/** 点击胶囊指令 */
|
|
2568
|
-
(e: 'suggestion-select', item: SuggestionItem): void;
|
|
2569
|
-
/** 展开/收起状态变化 */
|
|
2570
|
-
(e: 'update:expanded', expanded: boolean): void;
|
|
2571
|
-
/** 填充模板到输入框 */
|
|
2572
|
-
(e: 'fill-template', template: string): void;
|
|
2573
|
-
}
|
|
1227
|
+
export declare type SuggestionData<T = Record<string, unknown>> = (SuggestionItem<T> | SuggestionGroup<T>)[];
|
|
2574
1228
|
|
|
2575
|
-
declare interface SuggestionGroup<T = Record<string, unknown>> {
|
|
1229
|
+
export declare interface SuggestionGroup<T = Record<string, unknown>> {
|
|
2576
1230
|
group: string;
|
|
2577
1231
|
label: string;
|
|
2578
1232
|
icon?: VNode | Component;
|
|
2579
|
-
items:
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
/**
|
|
2583
|
-
* 指令项定义
|
|
2584
|
-
*/
|
|
2585
|
-
export declare interface SuggestionItem {
|
|
2586
|
-
/** 唯一标识 */
|
|
2587
|
-
id: string;
|
|
2588
|
-
/** 显示文本 */
|
|
2589
|
-
text: string;
|
|
2590
|
-
/** 指令值 */
|
|
2591
|
-
value: string;
|
|
2592
|
-
/** 图标 */
|
|
2593
|
-
icon?: VNode;
|
|
2594
|
-
/** 关键词,用于搜索和过滤 */
|
|
2595
|
-
keywords?: string[];
|
|
2596
|
-
/** 描述文本 */
|
|
2597
|
-
description?: string;
|
|
2598
|
-
/** 指令模板,用于在输入框中显示可编辑的模板 */
|
|
2599
|
-
template?: string;
|
|
1233
|
+
items: SuggestionItem<T>[];
|
|
2600
1234
|
}
|
|
2601
1235
|
|
|
2602
|
-
declare type
|
|
1236
|
+
export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
|
|
2603
1237
|
|
|
2604
1238
|
export declare type SuggestionPillAction = SuggestionPillPopoverAction | SuggestionPillMenuAction;
|
|
2605
1239
|
|
|
@@ -2608,7 +1242,7 @@ export declare type SuggestionPillBaseItem<T> = {
|
|
|
2608
1242
|
action?: SuggestionPillAction;
|
|
2609
1243
|
} & T;
|
|
2610
1244
|
|
|
2611
|
-
declare const SuggestionPillButton: typeof
|
|
1245
|
+
declare const SuggestionPillButton: typeof _default_21 & {
|
|
2612
1246
|
install: typeof installPillButton;
|
|
2613
1247
|
};
|
|
2614
1248
|
export { SuggestionPillButton }
|
|
@@ -2689,19 +1323,27 @@ export declare interface SuggestionPillsSlots {
|
|
|
2689
1323
|
default?: () => VNode | VNode[];
|
|
2690
1324
|
}
|
|
2691
1325
|
|
|
2692
|
-
declare interface
|
|
2693
|
-
|
|
1326
|
+
export declare interface SuggestionPopoverEmits {
|
|
1327
|
+
(e: 'item-click', item: SuggestionItem): void;
|
|
1328
|
+
(e: 'group-click', group: SuggestionGroup): void;
|
|
1329
|
+
(e: 'open'): void;
|
|
1330
|
+
(e: 'close'): void;
|
|
1331
|
+
(e: 'click-outside', event: MouseEvent): void;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
export declare interface SuggestionPopoverEventProps {
|
|
1335
|
+
onItemClick?: (item: SuggestionItem) => void;
|
|
2694
1336
|
onGroupClick?: (group: SuggestionGroup) => void;
|
|
2695
1337
|
onOpen?: () => void;
|
|
2696
1338
|
onClose?: () => void;
|
|
2697
1339
|
onClickOutside?: (event: MouseEvent) => void;
|
|
2698
1340
|
}
|
|
2699
1341
|
|
|
2700
|
-
declare interface SuggestionPopoverEvents {
|
|
1342
|
+
export declare interface SuggestionPopoverEvents {
|
|
2701
1343
|
/**
|
|
2702
1344
|
* @deprecated use onItemClick in props instead
|
|
2703
1345
|
*/
|
|
2704
|
-
itemClick?: (item:
|
|
1346
|
+
itemClick?: (item: SuggestionItem) => void;
|
|
2705
1347
|
/**
|
|
2706
1348
|
* @deprecated use onGroupClick in props instead
|
|
2707
1349
|
*/
|
|
@@ -2720,7 +1362,8 @@ declare interface SuggestionPopoverEvents {
|
|
|
2720
1362
|
clickOutside?: (event: MouseEvent) => void;
|
|
2721
1363
|
}
|
|
2722
1364
|
|
|
2723
|
-
declare interface SuggestionPopoverProps<T = Record<string, unknown>> {
|
|
1365
|
+
export declare interface SuggestionPopoverProps<T = Record<string, unknown>> {
|
|
1366
|
+
appendTo?: string | HTMLElement;
|
|
2724
1367
|
data: SuggestionData<T>;
|
|
2725
1368
|
title?: string;
|
|
2726
1369
|
icon?: VNode | Component;
|
|
@@ -2738,43 +1381,18 @@ declare interface SuggestionPopoverProps<T = Record<string, unknown>> {
|
|
|
2738
1381
|
selectedGroup?: string;
|
|
2739
1382
|
groupShowMoreTrigger?: 'click' | 'hover';
|
|
2740
1383
|
loading?: boolean;
|
|
2741
|
-
|
|
2742
|
-
popoverHeight?: string | number;
|
|
2743
|
-
topOffset?: string | number;
|
|
1384
|
+
topOffset?: number;
|
|
2744
1385
|
}
|
|
2745
1386
|
|
|
2746
|
-
declare interface SuggestionPopoverSlots {
|
|
1387
|
+
export declare interface SuggestionPopoverSlots {
|
|
2747
1388
|
default?: () => unknown;
|
|
2748
1389
|
loading?: () => unknown;
|
|
2749
1390
|
empty?: () => unknown;
|
|
2750
1391
|
}
|
|
2751
1392
|
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
export declare interface SuggestionProps {
|
|
2756
|
-
/** 触发快捷键列表 */
|
|
2757
|
-
triggerKeys?: string[];
|
|
2758
|
-
/** 指令项列表 */
|
|
2759
|
-
items: SuggestionItem[];
|
|
2760
|
-
/** 分类列表 */
|
|
2761
|
-
categories?: Category[];
|
|
2762
|
-
/** 是否显示面板 (支持v-model) */
|
|
2763
|
-
open?: boolean;
|
|
2764
|
-
/** 自定义类名 */
|
|
2765
|
-
className?: string;
|
|
2766
|
-
/** 主题,light或dark */
|
|
2767
|
-
theme?: 'light' | 'dark';
|
|
2768
|
-
/** 是否显示加载状态 */
|
|
2769
|
-
loading?: boolean;
|
|
2770
|
-
/** 是否点击外部关闭面板 */
|
|
2771
|
-
closeOnOutsideClick?: boolean;
|
|
2772
|
-
/** 面板标题 */
|
|
2773
|
-
title?: string;
|
|
2774
|
-
/** 最大显示条目数 */
|
|
2775
|
-
maxVisibleItems?: number;
|
|
2776
|
-
/** 默认是否展开完整指令列表 */
|
|
2777
|
-
defaultExpanded?: boolean;
|
|
1393
|
+
export declare interface SuggestionTextPart {
|
|
1394
|
+
text: string;
|
|
1395
|
+
isMatch: boolean;
|
|
2778
1396
|
}
|
|
2779
1397
|
|
|
2780
1398
|
declare interface TemplateItem extends BaseTextItem {
|
|
@@ -2792,24 +1410,6 @@ declare interface TextItem extends BaseTextItem {
|
|
|
2792
1410
|
*/
|
|
2793
1411
|
export declare type ThemeType = 'light' | 'dark';
|
|
2794
1412
|
|
|
2795
|
-
declare type ThemeType_3 = 'light' | 'dark';
|
|
2796
|
-
|
|
2797
|
-
/**
|
|
2798
|
-
* 触发位置信息
|
|
2799
|
-
*/
|
|
2800
|
-
export declare interface TriggerContext {
|
|
2801
|
-
/** 触发的文本 */
|
|
2802
|
-
text: string;
|
|
2803
|
-
/** 触发的位置 */
|
|
2804
|
-
position: number;
|
|
2805
|
-
}
|
|
2806
|
-
|
|
2807
|
-
/** 触发处理函数类型 */
|
|
2808
|
-
export declare type TriggerHandler = (info: TriggerInfo) => void;
|
|
2809
|
-
|
|
2810
|
-
/** 触发信息类型 */
|
|
2811
|
-
export declare type TriggerInfo = TriggerContext | false;
|
|
2812
|
-
|
|
2813
1413
|
export declare type UserItem = UserTextItem | UserTemplateItem;
|
|
2814
1414
|
|
|
2815
1415
|
export declare type UserTemplateItem = Pick<TemplateItem, 'type' | 'content'>;
|