@opentiny/next-remoter 0.0.3 → 0.0.4

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.
@@ -0,0 +1,3631 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ support: StringConstructor;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ support: StringConstructor;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
6
+ robotRef: ({
7
+ $: import('vue').ComponentInternalInstance;
8
+ $data: {};
9
+ $props: Partial<{
10
+ title: string;
11
+ systemPrompt: string;
12
+ sessionId: string;
13
+ llm: Record<string, any>;
14
+ llmConfig: import('./index').ICustomAgentModelProviderLlmConfig | undefined;
15
+ agentRoot: string;
16
+ mode: string;
17
+ locale: string;
18
+ browserExtensions: Function;
19
+ }> & Omit<{
20
+ readonly title: string;
21
+ readonly systemPrompt: string;
22
+ readonly sessionId: string;
23
+ readonly agentRoot: string;
24
+ readonly mode: string;
25
+ readonly locale: string;
26
+ readonly show?: boolean | undefined;
27
+ readonly llm?: Record<string, any> | undefined;
28
+ readonly llmConfig?: import('./index').ICustomAgentModelProviderLlmConfig | undefined;
29
+ readonly remoteUrl?: string | undefined;
30
+ readonly qrCodeUrl?: string | undefined;
31
+ readonly browserExtensions?: Function | undefined;
32
+ readonly fullscreen?: boolean | undefined;
33
+ readonly "onUpdate:fullscreen"?: ((value: boolean) => any) | undefined;
34
+ readonly "onUpdate:show"?: ((value: boolean) => any) | undefined;
35
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "systemPrompt" | "sessionId" | "llm" | "llmConfig" | "agentRoot" | "mode" | "locale" | "browserExtensions">;
36
+ $attrs: {
37
+ [x: string]: unknown;
38
+ };
39
+ $refs: {
40
+ [x: string]: unknown;
41
+ } & {
42
+ senderRef: ({
43
+ $: import('vue').ComponentInternalInstance;
44
+ $data: {};
45
+ $props: {
46
+ readonly autofocus?: boolean | undefined;
47
+ readonly autoSize?: import('@opentiny/tiny-robot').AutoSize | undefined;
48
+ readonly allowSpeech?: boolean | undefined;
49
+ readonly allowFiles?: boolean | undefined;
50
+ readonly clearable?: boolean | undefined;
51
+ readonly disabled?: boolean | undefined;
52
+ readonly defaultValue?: string | null | undefined;
53
+ readonly loading?: boolean | undefined;
54
+ readonly modelValue?: string | undefined;
55
+ readonly mode?: import('@opentiny/tiny-robot').InputMode | undefined;
56
+ readonly maxLength?: number | undefined;
57
+ readonly buttonGroup?: import('@opentiny/tiny-robot').ButtonGroupConfig | undefined;
58
+ readonly submitType?: import('@opentiny/tiny-robot').SubmitTrigger | undefined;
59
+ readonly speech?: (boolean | import('@opentiny/tiny-robot').SpeechConfig) | undefined;
60
+ readonly placeholder?: string | undefined;
61
+ readonly showWordLimit?: boolean | undefined;
62
+ readonly suggestions?: import('@opentiny/tiny-robot').ISuggestionItem[] | undefined;
63
+ readonly suggestionPopupWidth?: string | number | undefined;
64
+ readonly activeSuggestionKeys?: string[] | undefined;
65
+ readonly theme?: import('@opentiny/tiny-robot').ThemeType | undefined;
66
+ readonly templateData?: import('@opentiny/tiny-robot').UserItem[] | undefined;
67
+ readonly stopText?: string | undefined;
68
+ readonly onClear?: (() => any) | undefined | undefined;
69
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined | undefined;
70
+ readonly onCancel?: (() => any) | undefined | undefined;
71
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined | undefined;
72
+ readonly onSubmit?: ((value: string) => any) | undefined | undefined;
73
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
74
+ readonly "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined | undefined;
75
+ readonly "onSpeech-start"?: (() => any) | undefined | undefined;
76
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined | undefined;
77
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined | undefined;
78
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined | undefined;
79
+ readonly "onSuggestion-select"?: ((value: string) => any) | undefined | undefined;
80
+ readonly "onEscape-press"?: (() => any) | undefined | undefined;
81
+ readonly "onReset-template"?: (() => any) | undefined | undefined;
82
+ readonly "onFiles-selected"?: ((files: File[]) => any) | undefined | undefined;
83
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
84
+ $attrs: {
85
+ [x: string]: unknown;
86
+ };
87
+ $refs: {
88
+ [x: string]: unknown;
89
+ } & {
90
+ senderRef: HTMLDivElement;
91
+ inputWrapperRef: HTMLDivElement;
92
+ templateEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
93
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
94
+ }> & Readonly<{
95
+ onSubmit?: (() => any) | undefined;
96
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
97
+ }>, {
98
+ clearHistory: () => void;
99
+ activateFirstField: () => void;
100
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
101
+ "update:modelValue": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
102
+ } & {
103
+ submit: () => any;
104
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
105
+ editorRef: HTMLDivElement;
106
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
107
+ P: {};
108
+ B: {};
109
+ D: {};
110
+ C: {};
111
+ M: {};
112
+ Defaults: {};
113
+ }, Readonly<{
114
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
115
+ }> & Readonly<{
116
+ onSubmit?: (() => any) | undefined;
117
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
118
+ }>, {
119
+ clearHistory: () => void;
120
+ activateFirstField: () => void;
121
+ }, {}, {}, {}, {}> | null;
122
+ inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
123
+ _constants: {
124
+ type: ObjectConstructor;
125
+ default: () => {
126
+ INPUT_PC: string;
127
+ INPUTGROUP_PC: string;
128
+ INPUT_MOBILE: string;
129
+ INPUTGROUP_MOBILE: string;
130
+ Mode: string;
131
+ inputMode(mode: any): string;
132
+ inputGroupMode(mode: any): string;
133
+ VALIDATE_ICON: {
134
+ Validating: string;
135
+ Success: string;
136
+ Error: string;
137
+ };
138
+ COMPONENT_NAME: {
139
+ FormItem: string;
140
+ };
141
+ MASKSYMBOL: string;
142
+ TEXTAREA_HEIGHT_MOBILE: number;
143
+ };
144
+ };
145
+ name: StringConstructor;
146
+ size: StringConstructor;
147
+ form: StringConstructor;
148
+ label: StringConstructor;
149
+ height: NumberConstructor;
150
+ resize: StringConstructor;
151
+ tabindex: {
152
+ type: StringConstructor;
153
+ default: string;
154
+ };
155
+ disabled: BooleanConstructor;
156
+ readonly: BooleanConstructor;
157
+ hoverExpand: BooleanConstructor;
158
+ mask: BooleanConstructor;
159
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
160
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
161
+ modelValue: import('vue').PropType<string | number | null>;
162
+ type: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ memorySpace: {
167
+ type: NumberConstructor;
168
+ default: number;
169
+ };
170
+ vertical: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ selectMenu: {
175
+ type: {
176
+ (arrayLength: number): {
177
+ id: string;
178
+ label: string;
179
+ }[];
180
+ (...items: {
181
+ id: string;
182
+ label: string;
183
+ }[]): {
184
+ id: string;
185
+ label: string;
186
+ }[];
187
+ new (arrayLength: number): {
188
+ id: string;
189
+ label: string;
190
+ }[];
191
+ new (...items: {
192
+ id: string;
193
+ label: string;
194
+ }[]): {
195
+ id: string;
196
+ label: string;
197
+ }[];
198
+ isArray(arg: any): arg is any[];
199
+ readonly prototype: any[];
200
+ from<T>(arrayLike: ArrayLike<T>): T[];
201
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
202
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
203
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
204
+ of<T_4>(...items: T_4[]): T_4[];
205
+ readonly [Symbol.species]: ArrayConstructor;
206
+ };
207
+ default: () => never[];
208
+ };
209
+ ellipsis: {
210
+ type: BooleanConstructor;
211
+ default: boolean;
212
+ };
213
+ contentStyle: {
214
+ type: ObjectConstructor;
215
+ default: () => {};
216
+ };
217
+ isSelect: {
218
+ type: BooleanConstructor;
219
+ default: boolean;
220
+ };
221
+ tips: StringConstructor;
222
+ counter: {
223
+ type: BooleanConstructor;
224
+ default: boolean;
225
+ };
226
+ autosize: {
227
+ type: (BooleanConstructor | ObjectConstructor)[];
228
+ default: boolean;
229
+ };
230
+ clearable: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
234
+ autocomplete: {
235
+ type: StringConstructor;
236
+ default: string;
237
+ };
238
+ showPassword: {
239
+ type: BooleanConstructor;
240
+ default: boolean;
241
+ };
242
+ showWordLimit: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
246
+ showTitle: {
247
+ type: BooleanConstructor;
248
+ default: boolean;
249
+ };
250
+ validateEvent: {
251
+ type: BooleanConstructor;
252
+ default: boolean;
253
+ };
254
+ popupMore: {
255
+ type: BooleanConstructor;
256
+ default: boolean;
257
+ };
258
+ textareaTitle: {
259
+ type: StringConstructor;
260
+ default: string;
261
+ };
262
+ displayOnly: {
263
+ type: BooleanConstructor;
264
+ default: boolean;
265
+ };
266
+ displayOnlyContent: {
267
+ type: StringConstructor;
268
+ default: string;
269
+ };
270
+ customClass: {
271
+ type: StringConstructor;
272
+ default: string;
273
+ };
274
+ frontClearIcon: {
275
+ type: BooleanConstructor;
276
+ default: boolean;
277
+ };
278
+ showEmptyValue: {
279
+ type: BooleanConstructor;
280
+ default: undefined;
281
+ };
282
+ textAlign: {
283
+ type: StringConstructor;
284
+ default: string;
285
+ };
286
+ width: {
287
+ type: import('vue').PropType<string | number | null>;
288
+ };
289
+ showTooltip: {
290
+ type: BooleanConstructor;
291
+ default: boolean;
292
+ };
293
+ inputBoxType: {
294
+ type: StringConstructor;
295
+ default: string;
296
+ validator: (value: string) => boolean;
297
+ };
298
+ tiny_mode: StringConstructor;
299
+ tiny_mode_root: BooleanConstructor;
300
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
301
+ tiny_renderless: FunctionConstructor;
302
+ tiny_theme: StringConstructor;
303
+ tiny_mcp_config: ObjectConstructor;
304
+ tiny_chart_theme: ObjectConstructor;
305
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
306
+ [key: string]: any;
307
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
308
+ disabled: boolean;
309
+ type: string;
310
+ ellipsis: boolean;
311
+ mask: boolean;
312
+ vertical: boolean;
313
+ customClass: string;
314
+ tiny_mode_root: boolean;
315
+ _constants: Record<string, any>;
316
+ tabindex: string;
317
+ showTitle: boolean;
318
+ readonly: boolean;
319
+ hoverExpand: boolean;
320
+ memorySpace: number;
321
+ selectMenu: {
322
+ id: string;
323
+ label: string;
324
+ }[];
325
+ contentStyle: Record<string, any>;
326
+ isSelect: boolean;
327
+ counter: boolean;
328
+ autosize: boolean | Record<string, any>;
329
+ clearable: boolean;
330
+ autocomplete: string;
331
+ showPassword: boolean;
332
+ showWordLimit: boolean;
333
+ validateEvent: boolean;
334
+ popupMore: boolean;
335
+ textareaTitle: string;
336
+ displayOnly: boolean;
337
+ displayOnlyContent: string;
338
+ frontClearIcon: boolean;
339
+ showEmptyValue: boolean;
340
+ textAlign: string;
341
+ showTooltip: boolean;
342
+ inputBoxType: string;
343
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
344
+ P: {};
345
+ B: {};
346
+ D: {};
347
+ C: {};
348
+ M: {};
349
+ Defaults: {};
350
+ }, Readonly<import('vue').ExtractPropTypes<{
351
+ _constants: {
352
+ type: ObjectConstructor;
353
+ default: () => {
354
+ INPUT_PC: string;
355
+ INPUTGROUP_PC: string;
356
+ INPUT_MOBILE: string;
357
+ INPUTGROUP_MOBILE: string;
358
+ Mode: string;
359
+ inputMode(mode: any): string;
360
+ inputGroupMode(mode: any): string;
361
+ VALIDATE_ICON: {
362
+ Validating: string;
363
+ Success: string;
364
+ Error: string;
365
+ };
366
+ COMPONENT_NAME: {
367
+ FormItem: string;
368
+ };
369
+ MASKSYMBOL: string;
370
+ TEXTAREA_HEIGHT_MOBILE: number;
371
+ };
372
+ };
373
+ name: StringConstructor;
374
+ size: StringConstructor;
375
+ form: StringConstructor;
376
+ label: StringConstructor;
377
+ height: NumberConstructor;
378
+ resize: StringConstructor;
379
+ tabindex: {
380
+ type: StringConstructor;
381
+ default: string;
382
+ };
383
+ disabled: BooleanConstructor;
384
+ readonly: BooleanConstructor;
385
+ hoverExpand: BooleanConstructor;
386
+ mask: BooleanConstructor;
387
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
388
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
389
+ modelValue: import('vue').PropType<string | number | null>;
390
+ type: {
391
+ type: StringConstructor;
392
+ default: string;
393
+ };
394
+ memorySpace: {
395
+ type: NumberConstructor;
396
+ default: number;
397
+ };
398
+ vertical: {
399
+ type: BooleanConstructor;
400
+ default: boolean;
401
+ };
402
+ selectMenu: {
403
+ type: {
404
+ (arrayLength: number): {
405
+ id: string;
406
+ label: string;
407
+ }[];
408
+ (...items: {
409
+ id: string;
410
+ label: string;
411
+ }[]): {
412
+ id: string;
413
+ label: string;
414
+ }[];
415
+ new (arrayLength: number): {
416
+ id: string;
417
+ label: string;
418
+ }[];
419
+ new (...items: {
420
+ id: string;
421
+ label: string;
422
+ }[]): {
423
+ id: string;
424
+ label: string;
425
+ }[];
426
+ isArray(arg: any): arg is any[];
427
+ readonly prototype: any[];
428
+ from<T>(arrayLike: ArrayLike<T>): T[];
429
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
430
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
431
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
432
+ of<T_4>(...items: T_4[]): T_4[];
433
+ readonly [Symbol.species]: ArrayConstructor;
434
+ };
435
+ default: () => never[];
436
+ };
437
+ ellipsis: {
438
+ type: BooleanConstructor;
439
+ default: boolean;
440
+ };
441
+ contentStyle: {
442
+ type: ObjectConstructor;
443
+ default: () => {};
444
+ };
445
+ isSelect: {
446
+ type: BooleanConstructor;
447
+ default: boolean;
448
+ };
449
+ tips: StringConstructor;
450
+ counter: {
451
+ type: BooleanConstructor;
452
+ default: boolean;
453
+ };
454
+ autosize: {
455
+ type: (BooleanConstructor | ObjectConstructor)[];
456
+ default: boolean;
457
+ };
458
+ clearable: {
459
+ type: BooleanConstructor;
460
+ default: boolean;
461
+ };
462
+ autocomplete: {
463
+ type: StringConstructor;
464
+ default: string;
465
+ };
466
+ showPassword: {
467
+ type: BooleanConstructor;
468
+ default: boolean;
469
+ };
470
+ showWordLimit: {
471
+ type: BooleanConstructor;
472
+ default: boolean;
473
+ };
474
+ showTitle: {
475
+ type: BooleanConstructor;
476
+ default: boolean;
477
+ };
478
+ validateEvent: {
479
+ type: BooleanConstructor;
480
+ default: boolean;
481
+ };
482
+ popupMore: {
483
+ type: BooleanConstructor;
484
+ default: boolean;
485
+ };
486
+ textareaTitle: {
487
+ type: StringConstructor;
488
+ default: string;
489
+ };
490
+ displayOnly: {
491
+ type: BooleanConstructor;
492
+ default: boolean;
493
+ };
494
+ displayOnlyContent: {
495
+ type: StringConstructor;
496
+ default: string;
497
+ };
498
+ customClass: {
499
+ type: StringConstructor;
500
+ default: string;
501
+ };
502
+ frontClearIcon: {
503
+ type: BooleanConstructor;
504
+ default: boolean;
505
+ };
506
+ showEmptyValue: {
507
+ type: BooleanConstructor;
508
+ default: undefined;
509
+ };
510
+ textAlign: {
511
+ type: StringConstructor;
512
+ default: string;
513
+ };
514
+ width: {
515
+ type: import('vue').PropType<string | number | null>;
516
+ };
517
+ showTooltip: {
518
+ type: BooleanConstructor;
519
+ default: boolean;
520
+ };
521
+ inputBoxType: {
522
+ type: StringConstructor;
523
+ default: string;
524
+ validator: (value: string) => boolean;
525
+ };
526
+ tiny_mode: StringConstructor;
527
+ tiny_mode_root: BooleanConstructor;
528
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
529
+ tiny_renderless: FunctionConstructor;
530
+ tiny_theme: StringConstructor;
531
+ tiny_mcp_config: ObjectConstructor;
532
+ tiny_chart_theme: ObjectConstructor;
533
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
534
+ [key: string]: any;
535
+ }>, {}, {}, {}, {
536
+ disabled: boolean;
537
+ type: string;
538
+ ellipsis: boolean;
539
+ mask: boolean;
540
+ vertical: boolean;
541
+ customClass: string;
542
+ tiny_mode_root: boolean;
543
+ _constants: Record<string, any>;
544
+ tabindex: string;
545
+ showTitle: boolean;
546
+ readonly: boolean;
547
+ hoverExpand: boolean;
548
+ memorySpace: number;
549
+ selectMenu: {
550
+ id: string;
551
+ label: string;
552
+ }[];
553
+ contentStyle: Record<string, any>;
554
+ isSelect: boolean;
555
+ counter: boolean;
556
+ autosize: boolean | Record<string, any>;
557
+ clearable: boolean;
558
+ autocomplete: string;
559
+ showPassword: boolean;
560
+ showWordLimit: boolean;
561
+ validateEvent: boolean;
562
+ popupMore: boolean;
563
+ textareaTitle: string;
564
+ displayOnly: boolean;
565
+ displayOnlyContent: string;
566
+ frontClearIcon: boolean;
567
+ showEmptyValue: boolean;
568
+ textAlign: string;
569
+ showTooltip: boolean;
570
+ inputBoxType: string;
571
+ }> | null;
572
+ buttonsContainerRef: HTMLDivElement;
573
+ };
574
+ $slots: Readonly<{
575
+ [name: string]: import('vue').Slot<any> | undefined;
576
+ }>;
577
+ $root: import('vue').ComponentPublicInstance | null;
578
+ $parent: import('vue').ComponentPublicInstance | null;
579
+ $host: Element | null;
580
+ $emit: ((event: "cancel") => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", value: string) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:templateData", value: import('@opentiny/tiny-robot').UserItem[]) => void) & ((event: "speech-start") => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-error", error: Error) => void) & ((event: "suggestion-select", value: string) => void) & ((event: "escape-press") => void) & ((event: "reset-template") => void) & ((event: "files-selected", files: File[]) => void);
581
+ $el: HTMLDivElement;
582
+ $options: import('vue').ComponentOptionsBase<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
583
+ onClear?: (() => any) | undefined;
584
+ onBlur?: ((event: FocusEvent) => any) | undefined;
585
+ onCancel?: (() => any) | undefined;
586
+ onFocus?: ((event: FocusEvent) => any) | undefined;
587
+ onSubmit?: ((value: string) => any) | undefined;
588
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
589
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
590
+ "onSpeech-start"?: (() => any) | undefined;
591
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
592
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
593
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
594
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
595
+ "onEscape-press"?: (() => any) | undefined;
596
+ "onReset-template"?: (() => any) | undefined;
597
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
598
+ }>, {
599
+ focus: () => void;
600
+ blur: () => void;
601
+ clear: () => void;
602
+ submit: () => void;
603
+ startSpeech: () => void;
604
+ stopSpeech: () => void;
605
+ activateTemplateFirstField: () => void;
606
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
607
+ clear: () => any;
608
+ blur: (event: FocusEvent) => any;
609
+ cancel: () => any;
610
+ focus: (event: FocusEvent) => any;
611
+ submit: (value: string) => any;
612
+ "update:modelValue": (value: string) => any;
613
+ "update:templateData": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
614
+ "speech-start": () => any;
615
+ "speech-end": (transcript?: string | undefined) => any;
616
+ "speech-interim": (transcript: string) => any;
617
+ "speech-error": (error: Error) => any;
618
+ "suggestion-select": (value: string) => any;
619
+ "escape-press": () => any;
620
+ "reset-template": () => any;
621
+ "files-selected": (files: File[]) => any;
622
+ }, string, {
623
+ disabled: boolean;
624
+ modelValue: string;
625
+ placeholder: string;
626
+ mode: import('@opentiny/tiny-robot').InputMode;
627
+ loading: boolean;
628
+ autofocus: boolean;
629
+ allowSpeech: boolean;
630
+ allowFiles: boolean;
631
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
632
+ stopText: string;
633
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
634
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
635
+ clearable: boolean;
636
+ maxLength: number;
637
+ showWordLimit: boolean;
638
+ suggestionPopupWidth: string | number;
639
+ theme: import('@opentiny/tiny-robot').ThemeType;
640
+ templateData: import('@opentiny/tiny-robot').UserItem[];
641
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
642
+ beforeCreate?: (() => void) | (() => void)[];
643
+ created?: (() => void) | (() => void)[];
644
+ beforeMount?: (() => void) | (() => void)[];
645
+ mounted?: (() => void) | (() => void)[];
646
+ beforeUpdate?: (() => void) | (() => void)[];
647
+ updated?: (() => void) | (() => void)[];
648
+ activated?: (() => void) | (() => void)[];
649
+ deactivated?: (() => void) | (() => void)[];
650
+ beforeDestroy?: (() => void) | (() => void)[];
651
+ beforeUnmount?: (() => void) | (() => void)[];
652
+ destroyed?: (() => void) | (() => void)[];
653
+ unmounted?: (() => void) | (() => void)[];
654
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
655
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
656
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
657
+ };
658
+ $forceUpdate: () => void;
659
+ $nextTick: typeof import('vue').nextTick;
660
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
661
+ } & Readonly<{
662
+ disabled: boolean;
663
+ modelValue: string;
664
+ placeholder: string;
665
+ mode: import('@opentiny/tiny-robot').InputMode;
666
+ loading: boolean;
667
+ autofocus: boolean;
668
+ allowSpeech: boolean;
669
+ allowFiles: boolean;
670
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
671
+ stopText: string;
672
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
673
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
674
+ clearable: boolean;
675
+ maxLength: number;
676
+ showWordLimit: boolean;
677
+ suggestionPopupWidth: string | number;
678
+ theme: import('@opentiny/tiny-robot').ThemeType;
679
+ templateData: import('@opentiny/tiny-robot').UserItem[];
680
+ }> & Omit<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
681
+ onClear?: (() => any) | undefined;
682
+ onBlur?: ((event: FocusEvent) => any) | undefined;
683
+ onCancel?: (() => any) | undefined;
684
+ onFocus?: ((event: FocusEvent) => any) | undefined;
685
+ onSubmit?: ((value: string) => any) | undefined;
686
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
687
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
688
+ "onSpeech-start"?: (() => any) | undefined;
689
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
690
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
691
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
692
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
693
+ "onEscape-press"?: (() => any) | undefined;
694
+ "onReset-template"?: (() => any) | undefined;
695
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
696
+ }>, "blur" | "focus" | "submit" | "disabled" | "maxLength" | "clear" | "autofocus" | "autoSize" | "allowSpeech" | "allowFiles" | "clearable" | "loading" | "modelValue" | "mode" | "submitType" | "placeholder" | "showWordLimit" | "suggestions" | "suggestionPopupWidth" | "theme" | "templateData" | "stopText" | "startSpeech" | "stopSpeech" | "activateTemplateFirstField"> & import('vue').ShallowUnwrapRef<{
697
+ focus: () => void;
698
+ blur: () => void;
699
+ clear: () => void;
700
+ submit: () => void;
701
+ startSpeech: () => void;
702
+ stopSpeech: () => void;
703
+ activateTemplateFirstField: () => void;
704
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
705
+ $slots: {
706
+ header?(_: {}): any;
707
+ prefix?(_: {}): any;
708
+ decorativeContent?(_: {}): any;
709
+ actions?(_: {}): any;
710
+ 'footer-left'?(_: {}): any;
711
+ 'footer-right'?(_: {}): any;
712
+ footer?(_: {}): any;
713
+ };
714
+ }) | null;
715
+ };
716
+ $slots: Readonly<{
717
+ [name: string]: import('vue').Slot<any> | undefined;
718
+ }>;
719
+ $root: import('vue').ComponentPublicInstance | null;
720
+ $parent: import('vue').ComponentPublicInstance | null;
721
+ $host: Element | null;
722
+ $emit: ((event: "update:fullscreen", value: boolean) => void) & ((event: "update:show", value: boolean) => void);
723
+ $el: HTMLDivElement;
724
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
725
+ sessionId: {
726
+ type: StringConstructor;
727
+ default: string;
728
+ };
729
+ agentRoot: {
730
+ type: StringConstructor;
731
+ default: string;
732
+ };
733
+ systemPrompt: {
734
+ type: StringConstructor;
735
+ default: string;
736
+ };
737
+ title: {
738
+ type: StringConstructor;
739
+ default: string;
740
+ };
741
+ locale: {
742
+ type: StringConstructor;
743
+ default: string;
744
+ };
745
+ remoteUrl: {
746
+ type: StringConstructor;
747
+ };
748
+ qrCodeUrl: {
749
+ type: StringConstructor;
750
+ };
751
+ mode: {
752
+ type: StringConstructor;
753
+ default: string;
754
+ };
755
+ llmConfig: {
756
+ type: () => import('./index').ICustomAgentModelProviderLlmConfig | undefined;
757
+ default: undefined;
758
+ };
759
+ llm: {
760
+ type: ObjectConstructor;
761
+ default: undefined;
762
+ };
763
+ browserExtensions: {
764
+ type: FunctionConstructor;
765
+ default: undefined;
766
+ };
767
+ fullscreen: {
768
+ type: import('vue').PropType<boolean>;
769
+ };
770
+ show: {
771
+ type: import('vue').PropType<boolean>;
772
+ };
773
+ }>> & Readonly<{
774
+ "onUpdate:fullscreen"?: ((value: boolean) => any) | undefined;
775
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
776
+ }>, {
777
+ welcomeIcon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
778
+ [key: string]: any;
779
+ }>;
780
+ messages: import('vue').Ref<import('@opentiny/tiny-robot-kit').ChatMessage[], import('@opentiny/tiny-robot-kit').ChatMessage[]>;
781
+ messageState: {
782
+ status: import('@opentiny/tiny-robot-kit').STATUS;
783
+ errorMsg: string | null;
784
+ };
785
+ roles: {
786
+ assistant: {
787
+ type: string;
788
+ placement: string;
789
+ avatar: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
790
+ [key: string]: any;
791
+ }>;
792
+ maxWidth: string;
793
+ customContentField: string;
794
+ };
795
+ user: {
796
+ placement: string;
797
+ avatar: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
798
+ [key: string]: any;
799
+ }>;
800
+ maxWidth: string;
801
+ };
802
+ };
803
+ inputMessage: import('vue').Ref<string, string>;
804
+ senderRef: import('vue').Ref<({
805
+ $: import('vue').ComponentInternalInstance;
806
+ $data: {};
807
+ $props: {
808
+ readonly autofocus?: boolean | undefined;
809
+ readonly autoSize?: import('@opentiny/tiny-robot').AutoSize | undefined;
810
+ readonly allowSpeech?: boolean | undefined;
811
+ readonly allowFiles?: boolean | undefined;
812
+ readonly clearable?: boolean | undefined;
813
+ readonly disabled?: boolean | undefined;
814
+ readonly defaultValue?: string | null | undefined;
815
+ readonly loading?: boolean | undefined;
816
+ readonly modelValue?: string | undefined;
817
+ readonly mode?: import('@opentiny/tiny-robot').InputMode | undefined;
818
+ readonly maxLength?: number | undefined;
819
+ readonly buttonGroup?: import('@opentiny/tiny-robot').ButtonGroupConfig | undefined;
820
+ readonly submitType?: import('@opentiny/tiny-robot').SubmitTrigger | undefined;
821
+ readonly speech?: (boolean | import('@opentiny/tiny-robot').SpeechConfig) | undefined;
822
+ readonly placeholder?: string | undefined;
823
+ readonly showWordLimit?: boolean | undefined;
824
+ readonly suggestions?: import('@opentiny/tiny-robot').ISuggestionItem[] | undefined;
825
+ readonly suggestionPopupWidth?: string | number | undefined;
826
+ readonly activeSuggestionKeys?: string[] | undefined;
827
+ readonly theme?: import('@opentiny/tiny-robot').ThemeType | undefined;
828
+ readonly templateData?: import('@opentiny/tiny-robot').UserItem[] | undefined;
829
+ readonly stopText?: string | undefined;
830
+ readonly onClear?: (() => any) | undefined | undefined;
831
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined | undefined;
832
+ readonly onCancel?: (() => any) | undefined | undefined;
833
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined | undefined;
834
+ readonly onSubmit?: ((value: string) => any) | undefined | undefined;
835
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
836
+ readonly "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined | undefined;
837
+ readonly "onSpeech-start"?: (() => any) | undefined | undefined;
838
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined | undefined;
839
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined | undefined;
840
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined | undefined;
841
+ readonly "onSuggestion-select"?: ((value: string) => any) | undefined | undefined;
842
+ readonly "onEscape-press"?: (() => any) | undefined | undefined;
843
+ readonly "onReset-template"?: (() => any) | undefined | undefined;
844
+ readonly "onFiles-selected"?: ((files: File[]) => any) | undefined | undefined;
845
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
846
+ $attrs: {
847
+ [x: string]: unknown;
848
+ };
849
+ $refs: {
850
+ [x: string]: unknown;
851
+ } & {
852
+ senderRef: HTMLDivElement;
853
+ inputWrapperRef: HTMLDivElement;
854
+ templateEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
855
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
856
+ }> & Readonly<{
857
+ onSubmit?: (() => any) | undefined;
858
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
859
+ }>, {
860
+ clearHistory: () => void;
861
+ activateFirstField: () => void;
862
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
863
+ "update:modelValue": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
864
+ } & {
865
+ submit: () => any;
866
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
867
+ editorRef: HTMLDivElement;
868
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
869
+ P: {};
870
+ B: {};
871
+ D: {};
872
+ C: {};
873
+ M: {};
874
+ Defaults: {};
875
+ }, Readonly<{
876
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
877
+ }> & Readonly<{
878
+ onSubmit?: (() => any) | undefined;
879
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
880
+ }>, {
881
+ clearHistory: () => void;
882
+ activateFirstField: () => void;
883
+ }, {}, {}, {}, {}> | null;
884
+ inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
885
+ _constants: {
886
+ type: ObjectConstructor;
887
+ default: () => {
888
+ INPUT_PC: string;
889
+ INPUTGROUP_PC: string;
890
+ INPUT_MOBILE: string;
891
+ INPUTGROUP_MOBILE: string;
892
+ Mode: string;
893
+ inputMode(mode: any): string;
894
+ inputGroupMode(mode: any): string;
895
+ VALIDATE_ICON: {
896
+ Validating: string;
897
+ Success: string;
898
+ Error: string;
899
+ };
900
+ COMPONENT_NAME: {
901
+ FormItem: string;
902
+ };
903
+ MASKSYMBOL: string;
904
+ TEXTAREA_HEIGHT_MOBILE: number;
905
+ };
906
+ };
907
+ name: StringConstructor;
908
+ size: StringConstructor;
909
+ form: StringConstructor;
910
+ label: StringConstructor;
911
+ height: NumberConstructor;
912
+ resize: StringConstructor;
913
+ tabindex: {
914
+ type: StringConstructor;
915
+ default: string;
916
+ };
917
+ disabled: BooleanConstructor;
918
+ readonly: BooleanConstructor;
919
+ hoverExpand: BooleanConstructor;
920
+ mask: BooleanConstructor;
921
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
922
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
923
+ modelValue: import('vue').PropType<string | number | null>;
924
+ type: {
925
+ type: StringConstructor;
926
+ default: string;
927
+ };
928
+ memorySpace: {
929
+ type: NumberConstructor;
930
+ default: number;
931
+ };
932
+ vertical: {
933
+ type: BooleanConstructor;
934
+ default: boolean;
935
+ };
936
+ selectMenu: {
937
+ type: {
938
+ (arrayLength: number): {
939
+ id: string;
940
+ label: string;
941
+ }[];
942
+ (...items: {
943
+ id: string;
944
+ label: string;
945
+ }[]): {
946
+ id: string;
947
+ label: string;
948
+ }[];
949
+ new (arrayLength: number): {
950
+ id: string;
951
+ label: string;
952
+ }[];
953
+ new (...items: {
954
+ id: string;
955
+ label: string;
956
+ }[]): {
957
+ id: string;
958
+ label: string;
959
+ }[];
960
+ isArray(arg: any): arg is any[];
961
+ readonly prototype: any[];
962
+ from<T>(arrayLike: ArrayLike<T>): T[];
963
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
964
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
965
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
966
+ of<T_4>(...items: T_4[]): T_4[];
967
+ readonly [Symbol.species]: ArrayConstructor;
968
+ };
969
+ default: () => never[];
970
+ };
971
+ ellipsis: {
972
+ type: BooleanConstructor;
973
+ default: boolean;
974
+ };
975
+ contentStyle: {
976
+ type: ObjectConstructor;
977
+ default: () => {};
978
+ };
979
+ isSelect: {
980
+ type: BooleanConstructor;
981
+ default: boolean;
982
+ };
983
+ tips: StringConstructor;
984
+ counter: {
985
+ type: BooleanConstructor;
986
+ default: boolean;
987
+ };
988
+ autosize: {
989
+ type: (BooleanConstructor | ObjectConstructor)[];
990
+ default: boolean;
991
+ };
992
+ clearable: {
993
+ type: BooleanConstructor;
994
+ default: boolean;
995
+ };
996
+ autocomplete: {
997
+ type: StringConstructor;
998
+ default: string;
999
+ };
1000
+ showPassword: {
1001
+ type: BooleanConstructor;
1002
+ default: boolean;
1003
+ };
1004
+ showWordLimit: {
1005
+ type: BooleanConstructor;
1006
+ default: boolean;
1007
+ };
1008
+ showTitle: {
1009
+ type: BooleanConstructor;
1010
+ default: boolean;
1011
+ };
1012
+ validateEvent: {
1013
+ type: BooleanConstructor;
1014
+ default: boolean;
1015
+ };
1016
+ popupMore: {
1017
+ type: BooleanConstructor;
1018
+ default: boolean;
1019
+ };
1020
+ textareaTitle: {
1021
+ type: StringConstructor;
1022
+ default: string;
1023
+ };
1024
+ displayOnly: {
1025
+ type: BooleanConstructor;
1026
+ default: boolean;
1027
+ };
1028
+ displayOnlyContent: {
1029
+ type: StringConstructor;
1030
+ default: string;
1031
+ };
1032
+ customClass: {
1033
+ type: StringConstructor;
1034
+ default: string;
1035
+ };
1036
+ frontClearIcon: {
1037
+ type: BooleanConstructor;
1038
+ default: boolean;
1039
+ };
1040
+ showEmptyValue: {
1041
+ type: BooleanConstructor;
1042
+ default: undefined;
1043
+ };
1044
+ textAlign: {
1045
+ type: StringConstructor;
1046
+ default: string;
1047
+ };
1048
+ width: {
1049
+ type: import('vue').PropType<string | number | null>;
1050
+ };
1051
+ showTooltip: {
1052
+ type: BooleanConstructor;
1053
+ default: boolean;
1054
+ };
1055
+ inputBoxType: {
1056
+ type: StringConstructor;
1057
+ default: string;
1058
+ validator: (value: string) => boolean;
1059
+ };
1060
+ tiny_mode: StringConstructor;
1061
+ tiny_mode_root: BooleanConstructor;
1062
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1063
+ tiny_renderless: FunctionConstructor;
1064
+ tiny_theme: StringConstructor;
1065
+ tiny_mcp_config: ObjectConstructor;
1066
+ tiny_chart_theme: ObjectConstructor;
1067
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
1068
+ [key: string]: any;
1069
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1070
+ disabled: boolean;
1071
+ type: string;
1072
+ ellipsis: boolean;
1073
+ mask: boolean;
1074
+ vertical: boolean;
1075
+ customClass: string;
1076
+ tiny_mode_root: boolean;
1077
+ _constants: Record<string, any>;
1078
+ tabindex: string;
1079
+ showTitle: boolean;
1080
+ readonly: boolean;
1081
+ hoverExpand: boolean;
1082
+ memorySpace: number;
1083
+ selectMenu: {
1084
+ id: string;
1085
+ label: string;
1086
+ }[];
1087
+ contentStyle: Record<string, any>;
1088
+ isSelect: boolean;
1089
+ counter: boolean;
1090
+ autosize: boolean | Record<string, any>;
1091
+ clearable: boolean;
1092
+ autocomplete: string;
1093
+ showPassword: boolean;
1094
+ showWordLimit: boolean;
1095
+ validateEvent: boolean;
1096
+ popupMore: boolean;
1097
+ textareaTitle: string;
1098
+ displayOnly: boolean;
1099
+ displayOnlyContent: string;
1100
+ frontClearIcon: boolean;
1101
+ showEmptyValue: boolean;
1102
+ textAlign: string;
1103
+ showTooltip: boolean;
1104
+ inputBoxType: string;
1105
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1106
+ P: {};
1107
+ B: {};
1108
+ D: {};
1109
+ C: {};
1110
+ M: {};
1111
+ Defaults: {};
1112
+ }, Readonly<import('vue').ExtractPropTypes<{
1113
+ _constants: {
1114
+ type: ObjectConstructor;
1115
+ default: () => {
1116
+ INPUT_PC: string;
1117
+ INPUTGROUP_PC: string;
1118
+ INPUT_MOBILE: string;
1119
+ INPUTGROUP_MOBILE: string;
1120
+ Mode: string;
1121
+ inputMode(mode: any): string;
1122
+ inputGroupMode(mode: any): string;
1123
+ VALIDATE_ICON: {
1124
+ Validating: string;
1125
+ Success: string;
1126
+ Error: string;
1127
+ };
1128
+ COMPONENT_NAME: {
1129
+ FormItem: string;
1130
+ };
1131
+ MASKSYMBOL: string;
1132
+ TEXTAREA_HEIGHT_MOBILE: number;
1133
+ };
1134
+ };
1135
+ name: StringConstructor;
1136
+ size: StringConstructor;
1137
+ form: StringConstructor;
1138
+ label: StringConstructor;
1139
+ height: NumberConstructor;
1140
+ resize: StringConstructor;
1141
+ tabindex: {
1142
+ type: StringConstructor;
1143
+ default: string;
1144
+ };
1145
+ disabled: BooleanConstructor;
1146
+ readonly: BooleanConstructor;
1147
+ hoverExpand: BooleanConstructor;
1148
+ mask: BooleanConstructor;
1149
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
1150
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
1151
+ modelValue: import('vue').PropType<string | number | null>;
1152
+ type: {
1153
+ type: StringConstructor;
1154
+ default: string;
1155
+ };
1156
+ memorySpace: {
1157
+ type: NumberConstructor;
1158
+ default: number;
1159
+ };
1160
+ vertical: {
1161
+ type: BooleanConstructor;
1162
+ default: boolean;
1163
+ };
1164
+ selectMenu: {
1165
+ type: {
1166
+ (arrayLength: number): {
1167
+ id: string;
1168
+ label: string;
1169
+ }[];
1170
+ (...items: {
1171
+ id: string;
1172
+ label: string;
1173
+ }[]): {
1174
+ id: string;
1175
+ label: string;
1176
+ }[];
1177
+ new (arrayLength: number): {
1178
+ id: string;
1179
+ label: string;
1180
+ }[];
1181
+ new (...items: {
1182
+ id: string;
1183
+ label: string;
1184
+ }[]): {
1185
+ id: string;
1186
+ label: string;
1187
+ }[];
1188
+ isArray(arg: any): arg is any[];
1189
+ readonly prototype: any[];
1190
+ from<T>(arrayLike: ArrayLike<T>): T[];
1191
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
1192
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
1193
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
1194
+ of<T_4>(...items: T_4[]): T_4[];
1195
+ readonly [Symbol.species]: ArrayConstructor;
1196
+ };
1197
+ default: () => never[];
1198
+ };
1199
+ ellipsis: {
1200
+ type: BooleanConstructor;
1201
+ default: boolean;
1202
+ };
1203
+ contentStyle: {
1204
+ type: ObjectConstructor;
1205
+ default: () => {};
1206
+ };
1207
+ isSelect: {
1208
+ type: BooleanConstructor;
1209
+ default: boolean;
1210
+ };
1211
+ tips: StringConstructor;
1212
+ counter: {
1213
+ type: BooleanConstructor;
1214
+ default: boolean;
1215
+ };
1216
+ autosize: {
1217
+ type: (BooleanConstructor | ObjectConstructor)[];
1218
+ default: boolean;
1219
+ };
1220
+ clearable: {
1221
+ type: BooleanConstructor;
1222
+ default: boolean;
1223
+ };
1224
+ autocomplete: {
1225
+ type: StringConstructor;
1226
+ default: string;
1227
+ };
1228
+ showPassword: {
1229
+ type: BooleanConstructor;
1230
+ default: boolean;
1231
+ };
1232
+ showWordLimit: {
1233
+ type: BooleanConstructor;
1234
+ default: boolean;
1235
+ };
1236
+ showTitle: {
1237
+ type: BooleanConstructor;
1238
+ default: boolean;
1239
+ };
1240
+ validateEvent: {
1241
+ type: BooleanConstructor;
1242
+ default: boolean;
1243
+ };
1244
+ popupMore: {
1245
+ type: BooleanConstructor;
1246
+ default: boolean;
1247
+ };
1248
+ textareaTitle: {
1249
+ type: StringConstructor;
1250
+ default: string;
1251
+ };
1252
+ displayOnly: {
1253
+ type: BooleanConstructor;
1254
+ default: boolean;
1255
+ };
1256
+ displayOnlyContent: {
1257
+ type: StringConstructor;
1258
+ default: string;
1259
+ };
1260
+ customClass: {
1261
+ type: StringConstructor;
1262
+ default: string;
1263
+ };
1264
+ frontClearIcon: {
1265
+ type: BooleanConstructor;
1266
+ default: boolean;
1267
+ };
1268
+ showEmptyValue: {
1269
+ type: BooleanConstructor;
1270
+ default: undefined;
1271
+ };
1272
+ textAlign: {
1273
+ type: StringConstructor;
1274
+ default: string;
1275
+ };
1276
+ width: {
1277
+ type: import('vue').PropType<string | number | null>;
1278
+ };
1279
+ showTooltip: {
1280
+ type: BooleanConstructor;
1281
+ default: boolean;
1282
+ };
1283
+ inputBoxType: {
1284
+ type: StringConstructor;
1285
+ default: string;
1286
+ validator: (value: string) => boolean;
1287
+ };
1288
+ tiny_mode: StringConstructor;
1289
+ tiny_mode_root: BooleanConstructor;
1290
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1291
+ tiny_renderless: FunctionConstructor;
1292
+ tiny_theme: StringConstructor;
1293
+ tiny_mcp_config: ObjectConstructor;
1294
+ tiny_chart_theme: ObjectConstructor;
1295
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
1296
+ [key: string]: any;
1297
+ }>, {}, {}, {}, {
1298
+ disabled: boolean;
1299
+ type: string;
1300
+ ellipsis: boolean;
1301
+ mask: boolean;
1302
+ vertical: boolean;
1303
+ customClass: string;
1304
+ tiny_mode_root: boolean;
1305
+ _constants: Record<string, any>;
1306
+ tabindex: string;
1307
+ showTitle: boolean;
1308
+ readonly: boolean;
1309
+ hoverExpand: boolean;
1310
+ memorySpace: number;
1311
+ selectMenu: {
1312
+ id: string;
1313
+ label: string;
1314
+ }[];
1315
+ contentStyle: Record<string, any>;
1316
+ isSelect: boolean;
1317
+ counter: boolean;
1318
+ autosize: boolean | Record<string, any>;
1319
+ clearable: boolean;
1320
+ autocomplete: string;
1321
+ showPassword: boolean;
1322
+ showWordLimit: boolean;
1323
+ validateEvent: boolean;
1324
+ popupMore: boolean;
1325
+ textareaTitle: string;
1326
+ displayOnly: boolean;
1327
+ displayOnlyContent: string;
1328
+ frontClearIcon: boolean;
1329
+ showEmptyValue: boolean;
1330
+ textAlign: string;
1331
+ showTooltip: boolean;
1332
+ inputBoxType: string;
1333
+ }> | null;
1334
+ buttonsContainerRef: HTMLDivElement;
1335
+ };
1336
+ $slots: Readonly<{
1337
+ [name: string]: import('vue').Slot<any> | undefined;
1338
+ }>;
1339
+ $root: import('vue').ComponentPublicInstance | null;
1340
+ $parent: import('vue').ComponentPublicInstance | null;
1341
+ $host: Element | null;
1342
+ $emit: ((event: "cancel") => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", value: string) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:templateData", value: import('@opentiny/tiny-robot').UserItem[]) => void) & ((event: "speech-start") => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-error", error: Error) => void) & ((event: "suggestion-select", value: string) => void) & ((event: "escape-press") => void) & ((event: "reset-template") => void) & ((event: "files-selected", files: File[]) => void);
1343
+ $el: HTMLDivElement;
1344
+ $options: import('vue').ComponentOptionsBase<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
1345
+ onClear?: (() => any) | undefined;
1346
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1347
+ onCancel?: (() => any) | undefined;
1348
+ onFocus?: ((event: FocusEvent) => any) | undefined;
1349
+ onSubmit?: ((value: string) => any) | undefined;
1350
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1351
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
1352
+ "onSpeech-start"?: (() => any) | undefined;
1353
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1354
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1355
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
1356
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
1357
+ "onEscape-press"?: (() => any) | undefined;
1358
+ "onReset-template"?: (() => any) | undefined;
1359
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
1360
+ }>, {
1361
+ focus: () => void;
1362
+ blur: () => void;
1363
+ clear: () => void;
1364
+ submit: () => void;
1365
+ startSpeech: () => void;
1366
+ stopSpeech: () => void;
1367
+ activateTemplateFirstField: () => void;
1368
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1369
+ clear: () => any;
1370
+ blur: (event: FocusEvent) => any;
1371
+ cancel: () => any;
1372
+ focus: (event: FocusEvent) => any;
1373
+ submit: (value: string) => any;
1374
+ "update:modelValue": (value: string) => any;
1375
+ "update:templateData": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
1376
+ "speech-start": () => any;
1377
+ "speech-end": (transcript?: string | undefined) => any;
1378
+ "speech-interim": (transcript: string) => any;
1379
+ "speech-error": (error: Error) => any;
1380
+ "suggestion-select": (value: string) => any;
1381
+ "escape-press": () => any;
1382
+ "reset-template": () => any;
1383
+ "files-selected": (files: File[]) => any;
1384
+ }, string, {
1385
+ disabled: boolean;
1386
+ modelValue: string;
1387
+ placeholder: string;
1388
+ mode: import('@opentiny/tiny-robot').InputMode;
1389
+ loading: boolean;
1390
+ autofocus: boolean;
1391
+ allowSpeech: boolean;
1392
+ allowFiles: boolean;
1393
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
1394
+ stopText: string;
1395
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
1396
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
1397
+ clearable: boolean;
1398
+ maxLength: number;
1399
+ showWordLimit: boolean;
1400
+ suggestionPopupWidth: string | number;
1401
+ theme: import('@opentiny/tiny-robot').ThemeType;
1402
+ templateData: import('@opentiny/tiny-robot').UserItem[];
1403
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1404
+ beforeCreate?: (() => void) | (() => void)[];
1405
+ created?: (() => void) | (() => void)[];
1406
+ beforeMount?: (() => void) | (() => void)[];
1407
+ mounted?: (() => void) | (() => void)[];
1408
+ beforeUpdate?: (() => void) | (() => void)[];
1409
+ updated?: (() => void) | (() => void)[];
1410
+ activated?: (() => void) | (() => void)[];
1411
+ deactivated?: (() => void) | (() => void)[];
1412
+ beforeDestroy?: (() => void) | (() => void)[];
1413
+ beforeUnmount?: (() => void) | (() => void)[];
1414
+ destroyed?: (() => void) | (() => void)[];
1415
+ unmounted?: (() => void) | (() => void)[];
1416
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1417
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
1418
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
1419
+ };
1420
+ $forceUpdate: () => void;
1421
+ $nextTick: typeof import('vue').nextTick;
1422
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1423
+ } & Readonly<{
1424
+ disabled: boolean;
1425
+ modelValue: string;
1426
+ placeholder: string;
1427
+ mode: import('@opentiny/tiny-robot').InputMode;
1428
+ loading: boolean;
1429
+ autofocus: boolean;
1430
+ allowSpeech: boolean;
1431
+ allowFiles: boolean;
1432
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
1433
+ stopText: string;
1434
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
1435
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
1436
+ clearable: boolean;
1437
+ maxLength: number;
1438
+ showWordLimit: boolean;
1439
+ suggestionPopupWidth: string | number;
1440
+ theme: import('@opentiny/tiny-robot').ThemeType;
1441
+ templateData: import('@opentiny/tiny-robot').UserItem[];
1442
+ }> & Omit<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
1443
+ onClear?: (() => any) | undefined;
1444
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1445
+ onCancel?: (() => any) | undefined;
1446
+ onFocus?: ((event: FocusEvent) => any) | undefined;
1447
+ onSubmit?: ((value: string) => any) | undefined;
1448
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1449
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
1450
+ "onSpeech-start"?: (() => any) | undefined;
1451
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
1452
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
1453
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
1454
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
1455
+ "onEscape-press"?: (() => any) | undefined;
1456
+ "onReset-template"?: (() => any) | undefined;
1457
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
1458
+ }>, "blur" | "focus" | "submit" | "disabled" | "maxLength" | "clear" | "autofocus" | "autoSize" | "allowSpeech" | "allowFiles" | "clearable" | "loading" | "modelValue" | "mode" | "submitType" | "placeholder" | "showWordLimit" | "suggestions" | "suggestionPopupWidth" | "theme" | "templateData" | "stopText" | "startSpeech" | "stopSpeech" | "activateTemplateFirstField"> & import('vue').ShallowUnwrapRef<{
1459
+ focus: () => void;
1460
+ blur: () => void;
1461
+ clear: () => void;
1462
+ submit: () => void;
1463
+ startSpeech: () => void;
1464
+ stopSpeech: () => void;
1465
+ activateTemplateFirstField: () => void;
1466
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
1467
+ $slots: {
1468
+ header?(_: {}): any;
1469
+ prefix?(_: {}): any;
1470
+ decorativeContent?(_: {}): any;
1471
+ actions?(_: {}): any;
1472
+ 'footer-left'?(_: {}): any;
1473
+ 'footer-right'?(_: {}): any;
1474
+ footer?(_: {}): any;
1475
+ };
1476
+ }) | undefined, ({
1477
+ $: import('vue').ComponentInternalInstance;
1478
+ $data: {};
1479
+ $props: {
1480
+ readonly autofocus?: boolean | undefined;
1481
+ readonly autoSize?: import('@opentiny/tiny-robot').AutoSize | undefined;
1482
+ readonly allowSpeech?: boolean | undefined;
1483
+ readonly allowFiles?: boolean | undefined;
1484
+ readonly clearable?: boolean | undefined;
1485
+ readonly disabled?: boolean | undefined;
1486
+ readonly defaultValue?: string | null | undefined;
1487
+ readonly loading?: boolean | undefined;
1488
+ readonly modelValue?: string | undefined;
1489
+ readonly mode?: import('@opentiny/tiny-robot').InputMode | undefined;
1490
+ readonly maxLength?: number | undefined;
1491
+ readonly buttonGroup?: import('@opentiny/tiny-robot').ButtonGroupConfig | undefined;
1492
+ readonly submitType?: import('@opentiny/tiny-robot').SubmitTrigger | undefined;
1493
+ readonly speech?: (boolean | import('@opentiny/tiny-robot').SpeechConfig) | undefined;
1494
+ readonly placeholder?: string | undefined;
1495
+ readonly showWordLimit?: boolean | undefined;
1496
+ readonly suggestions?: import('@opentiny/tiny-robot').ISuggestionItem[] | undefined;
1497
+ readonly suggestionPopupWidth?: string | number | undefined;
1498
+ readonly activeSuggestionKeys?: string[] | undefined;
1499
+ readonly theme?: import('@opentiny/tiny-robot').ThemeType | undefined;
1500
+ readonly templateData?: import('@opentiny/tiny-robot').UserItem[] | undefined;
1501
+ readonly stopText?: string | undefined;
1502
+ readonly onClear?: (() => any) | undefined | undefined;
1503
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined | undefined;
1504
+ readonly onCancel?: (() => any) | undefined | undefined;
1505
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined | undefined;
1506
+ readonly onSubmit?: ((value: string) => any) | undefined | undefined;
1507
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
1508
+ readonly "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined | undefined;
1509
+ readonly "onSpeech-start"?: (() => any) | undefined | undefined;
1510
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined | undefined;
1511
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined | undefined;
1512
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined | undefined;
1513
+ readonly "onSuggestion-select"?: ((value: string) => any) | undefined | undefined;
1514
+ readonly "onEscape-press"?: (() => any) | undefined | undefined;
1515
+ readonly "onReset-template"?: (() => any) | undefined | undefined;
1516
+ readonly "onFiles-selected"?: ((files: File[]) => any) | undefined | undefined;
1517
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
1518
+ $attrs: {
1519
+ [x: string]: unknown;
1520
+ };
1521
+ $refs: {
1522
+ [x: string]: unknown;
1523
+ } & {
1524
+ senderRef: HTMLDivElement;
1525
+ inputWrapperRef: HTMLDivElement;
1526
+ templateEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
1527
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
1528
+ }> & Readonly<{
1529
+ onSubmit?: (() => any) | undefined;
1530
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
1531
+ }>, {
1532
+ clearHistory: () => void;
1533
+ activateFirstField: () => void;
1534
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1535
+ "update:modelValue": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
1536
+ } & {
1537
+ submit: () => any;
1538
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
1539
+ editorRef: HTMLDivElement;
1540
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
1541
+ P: {};
1542
+ B: {};
1543
+ D: {};
1544
+ C: {};
1545
+ M: {};
1546
+ Defaults: {};
1547
+ }, Readonly<{
1548
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
1549
+ }> & Readonly<{
1550
+ onSubmit?: (() => any) | undefined;
1551
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
1552
+ }>, {
1553
+ clearHistory: () => void;
1554
+ activateFirstField: () => void;
1555
+ }, {}, {}, {}, {}> | null;
1556
+ inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
1557
+ _constants: {
1558
+ type: ObjectConstructor;
1559
+ default: () => {
1560
+ INPUT_PC: string;
1561
+ INPUTGROUP_PC: string;
1562
+ INPUT_MOBILE: string;
1563
+ INPUTGROUP_MOBILE: string;
1564
+ Mode: string;
1565
+ inputMode(mode: any): string;
1566
+ inputGroupMode(mode: any): string;
1567
+ VALIDATE_ICON: {
1568
+ Validating: string;
1569
+ Success: string;
1570
+ Error: string;
1571
+ };
1572
+ COMPONENT_NAME: {
1573
+ FormItem: string;
1574
+ };
1575
+ MASKSYMBOL: string;
1576
+ TEXTAREA_HEIGHT_MOBILE: number;
1577
+ };
1578
+ };
1579
+ name: StringConstructor;
1580
+ size: StringConstructor;
1581
+ form: StringConstructor;
1582
+ label: StringConstructor;
1583
+ height: NumberConstructor;
1584
+ resize: StringConstructor;
1585
+ tabindex: {
1586
+ type: StringConstructor;
1587
+ default: string;
1588
+ };
1589
+ disabled: BooleanConstructor;
1590
+ readonly: BooleanConstructor;
1591
+ hoverExpand: BooleanConstructor;
1592
+ mask: BooleanConstructor;
1593
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
1594
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
1595
+ modelValue: import('vue').PropType<string | number | null>;
1596
+ type: {
1597
+ type: StringConstructor;
1598
+ default: string;
1599
+ };
1600
+ memorySpace: {
1601
+ type: NumberConstructor;
1602
+ default: number;
1603
+ };
1604
+ vertical: {
1605
+ type: BooleanConstructor;
1606
+ default: boolean;
1607
+ };
1608
+ selectMenu: {
1609
+ type: {
1610
+ (arrayLength: number): {
1611
+ id: string;
1612
+ label: string;
1613
+ }[];
1614
+ (...items: {
1615
+ id: string;
1616
+ label: string;
1617
+ }[]): {
1618
+ id: string;
1619
+ label: string;
1620
+ }[];
1621
+ new (arrayLength: number): {
1622
+ id: string;
1623
+ label: string;
1624
+ }[];
1625
+ new (...items: {
1626
+ id: string;
1627
+ label: string;
1628
+ }[]): {
1629
+ id: string;
1630
+ label: string;
1631
+ }[];
1632
+ isArray(arg: any): arg is any[];
1633
+ readonly prototype: any[];
1634
+ from<T>(arrayLike: ArrayLike<T>): T[];
1635
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
1636
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
1637
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
1638
+ of<T_4>(...items: T_4[]): T_4[];
1639
+ readonly [Symbol.species]: ArrayConstructor;
1640
+ };
1641
+ default: () => never[];
1642
+ };
1643
+ ellipsis: {
1644
+ type: BooleanConstructor;
1645
+ default: boolean;
1646
+ };
1647
+ contentStyle: {
1648
+ type: ObjectConstructor;
1649
+ default: () => {};
1650
+ };
1651
+ isSelect: {
1652
+ type: BooleanConstructor;
1653
+ default: boolean;
1654
+ };
1655
+ tips: StringConstructor;
1656
+ counter: {
1657
+ type: BooleanConstructor;
1658
+ default: boolean;
1659
+ };
1660
+ autosize: {
1661
+ type: (BooleanConstructor | ObjectConstructor)[];
1662
+ default: boolean;
1663
+ };
1664
+ clearable: {
1665
+ type: BooleanConstructor;
1666
+ default: boolean;
1667
+ };
1668
+ autocomplete: {
1669
+ type: StringConstructor;
1670
+ default: string;
1671
+ };
1672
+ showPassword: {
1673
+ type: BooleanConstructor;
1674
+ default: boolean;
1675
+ };
1676
+ showWordLimit: {
1677
+ type: BooleanConstructor;
1678
+ default: boolean;
1679
+ };
1680
+ showTitle: {
1681
+ type: BooleanConstructor;
1682
+ default: boolean;
1683
+ };
1684
+ validateEvent: {
1685
+ type: BooleanConstructor;
1686
+ default: boolean;
1687
+ };
1688
+ popupMore: {
1689
+ type: BooleanConstructor;
1690
+ default: boolean;
1691
+ };
1692
+ textareaTitle: {
1693
+ type: StringConstructor;
1694
+ default: string;
1695
+ };
1696
+ displayOnly: {
1697
+ type: BooleanConstructor;
1698
+ default: boolean;
1699
+ };
1700
+ displayOnlyContent: {
1701
+ type: StringConstructor;
1702
+ default: string;
1703
+ };
1704
+ customClass: {
1705
+ type: StringConstructor;
1706
+ default: string;
1707
+ };
1708
+ frontClearIcon: {
1709
+ type: BooleanConstructor;
1710
+ default: boolean;
1711
+ };
1712
+ showEmptyValue: {
1713
+ type: BooleanConstructor;
1714
+ default: undefined;
1715
+ };
1716
+ textAlign: {
1717
+ type: StringConstructor;
1718
+ default: string;
1719
+ };
1720
+ width: {
1721
+ type: import('vue').PropType<string | number | null>;
1722
+ };
1723
+ showTooltip: {
1724
+ type: BooleanConstructor;
1725
+ default: boolean;
1726
+ };
1727
+ inputBoxType: {
1728
+ type: StringConstructor;
1729
+ default: string;
1730
+ validator: (value: string) => boolean;
1731
+ };
1732
+ tiny_mode: StringConstructor;
1733
+ tiny_mode_root: BooleanConstructor;
1734
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1735
+ tiny_renderless: FunctionConstructor;
1736
+ tiny_theme: StringConstructor;
1737
+ tiny_mcp_config: ObjectConstructor;
1738
+ tiny_chart_theme: ObjectConstructor;
1739
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
1740
+ [key: string]: any;
1741
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
1742
+ disabled: boolean;
1743
+ type: string;
1744
+ ellipsis: boolean;
1745
+ mask: boolean;
1746
+ vertical: boolean;
1747
+ customClass: string;
1748
+ tiny_mode_root: boolean;
1749
+ _constants: Record<string, any>;
1750
+ tabindex: string;
1751
+ showTitle: boolean;
1752
+ readonly: boolean;
1753
+ hoverExpand: boolean;
1754
+ memorySpace: number;
1755
+ selectMenu: {
1756
+ id: string;
1757
+ label: string;
1758
+ }[];
1759
+ contentStyle: Record<string, any>;
1760
+ isSelect: boolean;
1761
+ counter: boolean;
1762
+ autosize: boolean | Record<string, any>;
1763
+ clearable: boolean;
1764
+ autocomplete: string;
1765
+ showPassword: boolean;
1766
+ showWordLimit: boolean;
1767
+ validateEvent: boolean;
1768
+ popupMore: boolean;
1769
+ textareaTitle: string;
1770
+ displayOnly: boolean;
1771
+ displayOnlyContent: string;
1772
+ frontClearIcon: boolean;
1773
+ showEmptyValue: boolean;
1774
+ textAlign: string;
1775
+ showTooltip: boolean;
1776
+ inputBoxType: string;
1777
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
1778
+ P: {};
1779
+ B: {};
1780
+ D: {};
1781
+ C: {};
1782
+ M: {};
1783
+ Defaults: {};
1784
+ }, Readonly<import('vue').ExtractPropTypes<{
1785
+ _constants: {
1786
+ type: ObjectConstructor;
1787
+ default: () => {
1788
+ INPUT_PC: string;
1789
+ INPUTGROUP_PC: string;
1790
+ INPUT_MOBILE: string;
1791
+ INPUTGROUP_MOBILE: string;
1792
+ Mode: string;
1793
+ inputMode(mode: any): string;
1794
+ inputGroupMode(mode: any): string;
1795
+ VALIDATE_ICON: {
1796
+ Validating: string;
1797
+ Success: string;
1798
+ Error: string;
1799
+ };
1800
+ COMPONENT_NAME: {
1801
+ FormItem: string;
1802
+ };
1803
+ MASKSYMBOL: string;
1804
+ TEXTAREA_HEIGHT_MOBILE: number;
1805
+ };
1806
+ };
1807
+ name: StringConstructor;
1808
+ size: StringConstructor;
1809
+ form: StringConstructor;
1810
+ label: StringConstructor;
1811
+ height: NumberConstructor;
1812
+ resize: StringConstructor;
1813
+ tabindex: {
1814
+ type: StringConstructor;
1815
+ default: string;
1816
+ };
1817
+ disabled: BooleanConstructor;
1818
+ readonly: BooleanConstructor;
1819
+ hoverExpand: BooleanConstructor;
1820
+ mask: BooleanConstructor;
1821
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
1822
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
1823
+ modelValue: import('vue').PropType<string | number | null>;
1824
+ type: {
1825
+ type: StringConstructor;
1826
+ default: string;
1827
+ };
1828
+ memorySpace: {
1829
+ type: NumberConstructor;
1830
+ default: number;
1831
+ };
1832
+ vertical: {
1833
+ type: BooleanConstructor;
1834
+ default: boolean;
1835
+ };
1836
+ selectMenu: {
1837
+ type: {
1838
+ (arrayLength: number): {
1839
+ id: string;
1840
+ label: string;
1841
+ }[];
1842
+ (...items: {
1843
+ id: string;
1844
+ label: string;
1845
+ }[]): {
1846
+ id: string;
1847
+ label: string;
1848
+ }[];
1849
+ new (arrayLength: number): {
1850
+ id: string;
1851
+ label: string;
1852
+ }[];
1853
+ new (...items: {
1854
+ id: string;
1855
+ label: string;
1856
+ }[]): {
1857
+ id: string;
1858
+ label: string;
1859
+ }[];
1860
+ isArray(arg: any): arg is any[];
1861
+ readonly prototype: any[];
1862
+ from<T>(arrayLike: ArrayLike<T>): T[];
1863
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
1864
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
1865
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
1866
+ of<T_4>(...items: T_4[]): T_4[];
1867
+ readonly [Symbol.species]: ArrayConstructor;
1868
+ };
1869
+ default: () => never[];
1870
+ };
1871
+ ellipsis: {
1872
+ type: BooleanConstructor;
1873
+ default: boolean;
1874
+ };
1875
+ contentStyle: {
1876
+ type: ObjectConstructor;
1877
+ default: () => {};
1878
+ };
1879
+ isSelect: {
1880
+ type: BooleanConstructor;
1881
+ default: boolean;
1882
+ };
1883
+ tips: StringConstructor;
1884
+ counter: {
1885
+ type: BooleanConstructor;
1886
+ default: boolean;
1887
+ };
1888
+ autosize: {
1889
+ type: (BooleanConstructor | ObjectConstructor)[];
1890
+ default: boolean;
1891
+ };
1892
+ clearable: {
1893
+ type: BooleanConstructor;
1894
+ default: boolean;
1895
+ };
1896
+ autocomplete: {
1897
+ type: StringConstructor;
1898
+ default: string;
1899
+ };
1900
+ showPassword: {
1901
+ type: BooleanConstructor;
1902
+ default: boolean;
1903
+ };
1904
+ showWordLimit: {
1905
+ type: BooleanConstructor;
1906
+ default: boolean;
1907
+ };
1908
+ showTitle: {
1909
+ type: BooleanConstructor;
1910
+ default: boolean;
1911
+ };
1912
+ validateEvent: {
1913
+ type: BooleanConstructor;
1914
+ default: boolean;
1915
+ };
1916
+ popupMore: {
1917
+ type: BooleanConstructor;
1918
+ default: boolean;
1919
+ };
1920
+ textareaTitle: {
1921
+ type: StringConstructor;
1922
+ default: string;
1923
+ };
1924
+ displayOnly: {
1925
+ type: BooleanConstructor;
1926
+ default: boolean;
1927
+ };
1928
+ displayOnlyContent: {
1929
+ type: StringConstructor;
1930
+ default: string;
1931
+ };
1932
+ customClass: {
1933
+ type: StringConstructor;
1934
+ default: string;
1935
+ };
1936
+ frontClearIcon: {
1937
+ type: BooleanConstructor;
1938
+ default: boolean;
1939
+ };
1940
+ showEmptyValue: {
1941
+ type: BooleanConstructor;
1942
+ default: undefined;
1943
+ };
1944
+ textAlign: {
1945
+ type: StringConstructor;
1946
+ default: string;
1947
+ };
1948
+ width: {
1949
+ type: import('vue').PropType<string | number | null>;
1950
+ };
1951
+ showTooltip: {
1952
+ type: BooleanConstructor;
1953
+ default: boolean;
1954
+ };
1955
+ inputBoxType: {
1956
+ type: StringConstructor;
1957
+ default: string;
1958
+ validator: (value: string) => boolean;
1959
+ };
1960
+ tiny_mode: StringConstructor;
1961
+ tiny_mode_root: BooleanConstructor;
1962
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1963
+ tiny_renderless: FunctionConstructor;
1964
+ tiny_theme: StringConstructor;
1965
+ tiny_mcp_config: ObjectConstructor;
1966
+ tiny_chart_theme: ObjectConstructor;
1967
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
1968
+ [key: string]: any;
1969
+ }>, {}, {}, {}, {
1970
+ disabled: boolean;
1971
+ type: string;
1972
+ ellipsis: boolean;
1973
+ mask: boolean;
1974
+ vertical: boolean;
1975
+ customClass: string;
1976
+ tiny_mode_root: boolean;
1977
+ _constants: Record<string, any>;
1978
+ tabindex: string;
1979
+ showTitle: boolean;
1980
+ readonly: boolean;
1981
+ hoverExpand: boolean;
1982
+ memorySpace: number;
1983
+ selectMenu: {
1984
+ id: string;
1985
+ label: string;
1986
+ }[];
1987
+ contentStyle: Record<string, any>;
1988
+ isSelect: boolean;
1989
+ counter: boolean;
1990
+ autosize: boolean | Record<string, any>;
1991
+ clearable: boolean;
1992
+ autocomplete: string;
1993
+ showPassword: boolean;
1994
+ showWordLimit: boolean;
1995
+ validateEvent: boolean;
1996
+ popupMore: boolean;
1997
+ textareaTitle: string;
1998
+ displayOnly: boolean;
1999
+ displayOnlyContent: string;
2000
+ frontClearIcon: boolean;
2001
+ showEmptyValue: boolean;
2002
+ textAlign: string;
2003
+ showTooltip: boolean;
2004
+ inputBoxType: string;
2005
+ }> | null;
2006
+ buttonsContainerRef: HTMLDivElement;
2007
+ };
2008
+ $slots: Readonly<{
2009
+ [name: string]: import('vue').Slot<any> | undefined;
2010
+ }>;
2011
+ $root: import('vue').ComponentPublicInstance | null;
2012
+ $parent: import('vue').ComponentPublicInstance | null;
2013
+ $host: Element | null;
2014
+ $emit: ((event: "cancel") => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", value: string) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:templateData", value: import('@opentiny/tiny-robot').UserItem[]) => void) & ((event: "speech-start") => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-error", error: Error) => void) & ((event: "suggestion-select", value: string) => void) & ((event: "escape-press") => void) & ((event: "reset-template") => void) & ((event: "files-selected", files: File[]) => void);
2015
+ $el: HTMLDivElement;
2016
+ $options: import('vue').ComponentOptionsBase<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
2017
+ onClear?: (() => any) | undefined;
2018
+ onBlur?: ((event: FocusEvent) => any) | undefined;
2019
+ onCancel?: (() => any) | undefined;
2020
+ onFocus?: ((event: FocusEvent) => any) | undefined;
2021
+ onSubmit?: ((value: string) => any) | undefined;
2022
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2023
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
2024
+ "onSpeech-start"?: (() => any) | undefined;
2025
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
2026
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
2027
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
2028
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
2029
+ "onEscape-press"?: (() => any) | undefined;
2030
+ "onReset-template"?: (() => any) | undefined;
2031
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
2032
+ }>, {
2033
+ focus: () => void;
2034
+ blur: () => void;
2035
+ clear: () => void;
2036
+ submit: () => void;
2037
+ startSpeech: () => void;
2038
+ stopSpeech: () => void;
2039
+ activateTemplateFirstField: () => void;
2040
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2041
+ clear: () => any;
2042
+ blur: (event: FocusEvent) => any;
2043
+ cancel: () => any;
2044
+ focus: (event: FocusEvent) => any;
2045
+ submit: (value: string) => any;
2046
+ "update:modelValue": (value: string) => any;
2047
+ "update:templateData": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
2048
+ "speech-start": () => any;
2049
+ "speech-end": (transcript?: string | undefined) => any;
2050
+ "speech-interim": (transcript: string) => any;
2051
+ "speech-error": (error: Error) => any;
2052
+ "suggestion-select": (value: string) => any;
2053
+ "escape-press": () => any;
2054
+ "reset-template": () => any;
2055
+ "files-selected": (files: File[]) => any;
2056
+ }, string, {
2057
+ disabled: boolean;
2058
+ modelValue: string;
2059
+ placeholder: string;
2060
+ mode: import('@opentiny/tiny-robot').InputMode;
2061
+ loading: boolean;
2062
+ autofocus: boolean;
2063
+ allowSpeech: boolean;
2064
+ allowFiles: boolean;
2065
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
2066
+ stopText: string;
2067
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
2068
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
2069
+ clearable: boolean;
2070
+ maxLength: number;
2071
+ showWordLimit: boolean;
2072
+ suggestionPopupWidth: string | number;
2073
+ theme: import('@opentiny/tiny-robot').ThemeType;
2074
+ templateData: import('@opentiny/tiny-robot').UserItem[];
2075
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2076
+ beforeCreate?: (() => void) | (() => void)[];
2077
+ created?: (() => void) | (() => void)[];
2078
+ beforeMount?: (() => void) | (() => void)[];
2079
+ mounted?: (() => void) | (() => void)[];
2080
+ beforeUpdate?: (() => void) | (() => void)[];
2081
+ updated?: (() => void) | (() => void)[];
2082
+ activated?: (() => void) | (() => void)[];
2083
+ deactivated?: (() => void) | (() => void)[];
2084
+ beforeDestroy?: (() => void) | (() => void)[];
2085
+ beforeUnmount?: (() => void) | (() => void)[];
2086
+ destroyed?: (() => void) | (() => void)[];
2087
+ unmounted?: (() => void) | (() => void)[];
2088
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2089
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2090
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
2091
+ };
2092
+ $forceUpdate: () => void;
2093
+ $nextTick: typeof import('vue').nextTick;
2094
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
2095
+ } & Readonly<{
2096
+ disabled: boolean;
2097
+ modelValue: string;
2098
+ placeholder: string;
2099
+ mode: import('@opentiny/tiny-robot').InputMode;
2100
+ loading: boolean;
2101
+ autofocus: boolean;
2102
+ allowSpeech: boolean;
2103
+ allowFiles: boolean;
2104
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
2105
+ stopText: string;
2106
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
2107
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
2108
+ clearable: boolean;
2109
+ maxLength: number;
2110
+ showWordLimit: boolean;
2111
+ suggestionPopupWidth: string | number;
2112
+ theme: import('@opentiny/tiny-robot').ThemeType;
2113
+ templateData: import('@opentiny/tiny-robot').UserItem[];
2114
+ }> & Omit<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
2115
+ onClear?: (() => any) | undefined;
2116
+ onBlur?: ((event: FocusEvent) => any) | undefined;
2117
+ onCancel?: (() => any) | undefined;
2118
+ onFocus?: ((event: FocusEvent) => any) | undefined;
2119
+ onSubmit?: ((value: string) => any) | undefined;
2120
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2121
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
2122
+ "onSpeech-start"?: (() => any) | undefined;
2123
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
2124
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
2125
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
2126
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
2127
+ "onEscape-press"?: (() => any) | undefined;
2128
+ "onReset-template"?: (() => any) | undefined;
2129
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
2130
+ }>, "blur" | "focus" | "submit" | "disabled" | "maxLength" | "clear" | "autofocus" | "autoSize" | "allowSpeech" | "allowFiles" | "clearable" | "loading" | "modelValue" | "mode" | "submitType" | "placeholder" | "showWordLimit" | "suggestions" | "suggestionPopupWidth" | "theme" | "templateData" | "stopText" | "startSpeech" | "stopSpeech" | "activateTemplateFirstField"> & import('vue').ShallowUnwrapRef<{
2131
+ focus: () => void;
2132
+ blur: () => void;
2133
+ clear: () => void;
2134
+ submit: () => void;
2135
+ startSpeech: () => void;
2136
+ stopSpeech: () => void;
2137
+ activateTemplateFirstField: () => void;
2138
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
2139
+ $slots: {
2140
+ header?(_: {}): any;
2141
+ prefix?(_: {}): any;
2142
+ decorativeContent?(_: {}): any;
2143
+ actions?(_: {}): any;
2144
+ 'footer-left'?(_: {}): any;
2145
+ 'footer-right'?(_: {}): any;
2146
+ footer?(_: {}): any;
2147
+ };
2148
+ }) | undefined>;
2149
+ abortRequest: () => void;
2150
+ sendMessage: (content?: import('@opentiny/tiny-robot-kit').ChatMessage["content"], clearInput?: boolean) => Promise<void>;
2151
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2152
+ "update:fullscreen": (value: boolean) => any;
2153
+ "update:show": (value: boolean) => any;
2154
+ }, string, {
2155
+ title: string;
2156
+ systemPrompt: string;
2157
+ sessionId: string;
2158
+ llm: Record<string, any>;
2159
+ llmConfig: import('./index').ICustomAgentModelProviderLlmConfig | undefined;
2160
+ agentRoot: string;
2161
+ mode: string;
2162
+ locale: string;
2163
+ browserExtensions: Function;
2164
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2165
+ beforeCreate?: (() => void) | (() => void)[];
2166
+ created?: (() => void) | (() => void)[];
2167
+ beforeMount?: (() => void) | (() => void)[];
2168
+ mounted?: (() => void) | (() => void)[];
2169
+ beforeUpdate?: (() => void) | (() => void)[];
2170
+ updated?: (() => void) | (() => void)[];
2171
+ activated?: (() => void) | (() => void)[];
2172
+ deactivated?: (() => void) | (() => void)[];
2173
+ beforeDestroy?: (() => void) | (() => void)[];
2174
+ beforeUnmount?: (() => void) | (() => void)[];
2175
+ destroyed?: (() => void) | (() => void)[];
2176
+ unmounted?: (() => void) | (() => void)[];
2177
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2178
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2179
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
2180
+ };
2181
+ $forceUpdate: () => void;
2182
+ $nextTick: typeof import('vue').nextTick;
2183
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
2184
+ } & Readonly<{
2185
+ title: string;
2186
+ systemPrompt: string;
2187
+ sessionId: string;
2188
+ llm: Record<string, any>;
2189
+ llmConfig: import('./index').ICustomAgentModelProviderLlmConfig | undefined;
2190
+ agentRoot: string;
2191
+ mode: string;
2192
+ locale: string;
2193
+ browserExtensions: Function;
2194
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
2195
+ sessionId: {
2196
+ type: StringConstructor;
2197
+ default: string;
2198
+ };
2199
+ agentRoot: {
2200
+ type: StringConstructor;
2201
+ default: string;
2202
+ };
2203
+ systemPrompt: {
2204
+ type: StringConstructor;
2205
+ default: string;
2206
+ };
2207
+ title: {
2208
+ type: StringConstructor;
2209
+ default: string;
2210
+ };
2211
+ locale: {
2212
+ type: StringConstructor;
2213
+ default: string;
2214
+ };
2215
+ remoteUrl: {
2216
+ type: StringConstructor;
2217
+ };
2218
+ qrCodeUrl: {
2219
+ type: StringConstructor;
2220
+ };
2221
+ mode: {
2222
+ type: StringConstructor;
2223
+ default: string;
2224
+ };
2225
+ llmConfig: {
2226
+ type: () => import('./index').ICustomAgentModelProviderLlmConfig | undefined;
2227
+ default: undefined;
2228
+ };
2229
+ llm: {
2230
+ type: ObjectConstructor;
2231
+ default: undefined;
2232
+ };
2233
+ browserExtensions: {
2234
+ type: FunctionConstructor;
2235
+ default: undefined;
2236
+ };
2237
+ fullscreen: {
2238
+ type: import('vue').PropType<boolean>;
2239
+ };
2240
+ show: {
2241
+ type: import('vue').PropType<boolean>;
2242
+ };
2243
+ }>> & Readonly<{
2244
+ "onUpdate:fullscreen"?: ((value: boolean) => any) | undefined;
2245
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
2246
+ }>, "messages" | "messageState" | "inputMessage" | "sendMessage" | "abortRequest" | "welcomeIcon" | "roles" | "senderRef" | ("title" | "systemPrompt" | "sessionId" | "llm" | "llmConfig" | "agentRoot" | "mode" | "locale" | "browserExtensions")> & import('vue').ShallowUnwrapRef<{
2247
+ welcomeIcon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2248
+ [key: string]: any;
2249
+ }>;
2250
+ messages: import('vue').Ref<import('@opentiny/tiny-robot-kit').ChatMessage[], import('@opentiny/tiny-robot-kit').ChatMessage[]>;
2251
+ messageState: {
2252
+ status: import('@opentiny/tiny-robot-kit').STATUS;
2253
+ errorMsg: string | null;
2254
+ };
2255
+ roles: {
2256
+ assistant: {
2257
+ type: string;
2258
+ placement: string;
2259
+ avatar: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2260
+ [key: string]: any;
2261
+ }>;
2262
+ maxWidth: string;
2263
+ customContentField: string;
2264
+ };
2265
+ user: {
2266
+ placement: string;
2267
+ avatar: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2268
+ [key: string]: any;
2269
+ }>;
2270
+ maxWidth: string;
2271
+ };
2272
+ };
2273
+ inputMessage: import('vue').Ref<string, string>;
2274
+ senderRef: import('vue').Ref<({
2275
+ $: import('vue').ComponentInternalInstance;
2276
+ $data: {};
2277
+ $props: {
2278
+ readonly autofocus?: boolean | undefined;
2279
+ readonly autoSize?: import('@opentiny/tiny-robot').AutoSize | undefined;
2280
+ readonly allowSpeech?: boolean | undefined;
2281
+ readonly allowFiles?: boolean | undefined;
2282
+ readonly clearable?: boolean | undefined;
2283
+ readonly disabled?: boolean | undefined;
2284
+ readonly defaultValue?: string | null | undefined;
2285
+ readonly loading?: boolean | undefined;
2286
+ readonly modelValue?: string | undefined;
2287
+ readonly mode?: import('@opentiny/tiny-robot').InputMode | undefined;
2288
+ readonly maxLength?: number | undefined;
2289
+ readonly buttonGroup?: import('@opentiny/tiny-robot').ButtonGroupConfig | undefined;
2290
+ readonly submitType?: import('@opentiny/tiny-robot').SubmitTrigger | undefined;
2291
+ readonly speech?: (boolean | import('@opentiny/tiny-robot').SpeechConfig) | undefined;
2292
+ readonly placeholder?: string | undefined;
2293
+ readonly showWordLimit?: boolean | undefined;
2294
+ readonly suggestions?: import('@opentiny/tiny-robot').ISuggestionItem[] | undefined;
2295
+ readonly suggestionPopupWidth?: string | number | undefined;
2296
+ readonly activeSuggestionKeys?: string[] | undefined;
2297
+ readonly theme?: import('@opentiny/tiny-robot').ThemeType | undefined;
2298
+ readonly templateData?: import('@opentiny/tiny-robot').UserItem[] | undefined;
2299
+ readonly stopText?: string | undefined;
2300
+ readonly onClear?: (() => any) | undefined | undefined;
2301
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined | undefined;
2302
+ readonly onCancel?: (() => any) | undefined | undefined;
2303
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined | undefined;
2304
+ readonly onSubmit?: ((value: string) => any) | undefined | undefined;
2305
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
2306
+ readonly "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined | undefined;
2307
+ readonly "onSpeech-start"?: (() => any) | undefined | undefined;
2308
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined | undefined;
2309
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined | undefined;
2310
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined | undefined;
2311
+ readonly "onSuggestion-select"?: ((value: string) => any) | undefined | undefined;
2312
+ readonly "onEscape-press"?: (() => any) | undefined | undefined;
2313
+ readonly "onReset-template"?: (() => any) | undefined | undefined;
2314
+ readonly "onFiles-selected"?: ((files: File[]) => any) | undefined | undefined;
2315
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
2316
+ $attrs: {
2317
+ [x: string]: unknown;
2318
+ };
2319
+ $refs: {
2320
+ [x: string]: unknown;
2321
+ } & {
2322
+ senderRef: HTMLDivElement;
2323
+ inputWrapperRef: HTMLDivElement;
2324
+ templateEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
2325
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
2326
+ }> & Readonly<{
2327
+ onSubmit?: (() => any) | undefined;
2328
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
2329
+ }>, {
2330
+ clearHistory: () => void;
2331
+ activateFirstField: () => void;
2332
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2333
+ "update:modelValue": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
2334
+ } & {
2335
+ submit: () => any;
2336
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
2337
+ editorRef: HTMLDivElement;
2338
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
2339
+ P: {};
2340
+ B: {};
2341
+ D: {};
2342
+ C: {};
2343
+ M: {};
2344
+ Defaults: {};
2345
+ }, Readonly<{
2346
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
2347
+ }> & Readonly<{
2348
+ onSubmit?: (() => any) | undefined;
2349
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
2350
+ }>, {
2351
+ clearHistory: () => void;
2352
+ activateFirstField: () => void;
2353
+ }, {}, {}, {}, {}> | null;
2354
+ inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
2355
+ _constants: {
2356
+ type: ObjectConstructor;
2357
+ default: () => {
2358
+ INPUT_PC: string;
2359
+ INPUTGROUP_PC: string;
2360
+ INPUT_MOBILE: string;
2361
+ INPUTGROUP_MOBILE: string;
2362
+ Mode: string;
2363
+ inputMode(mode: any): string;
2364
+ inputGroupMode(mode: any): string;
2365
+ VALIDATE_ICON: {
2366
+ Validating: string;
2367
+ Success: string;
2368
+ Error: string;
2369
+ };
2370
+ COMPONENT_NAME: {
2371
+ FormItem: string;
2372
+ };
2373
+ MASKSYMBOL: string;
2374
+ TEXTAREA_HEIGHT_MOBILE: number;
2375
+ };
2376
+ };
2377
+ name: StringConstructor;
2378
+ size: StringConstructor;
2379
+ form: StringConstructor;
2380
+ label: StringConstructor;
2381
+ height: NumberConstructor;
2382
+ resize: StringConstructor;
2383
+ tabindex: {
2384
+ type: StringConstructor;
2385
+ default: string;
2386
+ };
2387
+ disabled: BooleanConstructor;
2388
+ readonly: BooleanConstructor;
2389
+ hoverExpand: BooleanConstructor;
2390
+ mask: BooleanConstructor;
2391
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
2392
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
2393
+ modelValue: import('vue').PropType<string | number | null>;
2394
+ type: {
2395
+ type: StringConstructor;
2396
+ default: string;
2397
+ };
2398
+ memorySpace: {
2399
+ type: NumberConstructor;
2400
+ default: number;
2401
+ };
2402
+ vertical: {
2403
+ type: BooleanConstructor;
2404
+ default: boolean;
2405
+ };
2406
+ selectMenu: {
2407
+ type: {
2408
+ (arrayLength: number): {
2409
+ id: string;
2410
+ label: string;
2411
+ }[];
2412
+ (...items: {
2413
+ id: string;
2414
+ label: string;
2415
+ }[]): {
2416
+ id: string;
2417
+ label: string;
2418
+ }[];
2419
+ new (arrayLength: number): {
2420
+ id: string;
2421
+ label: string;
2422
+ }[];
2423
+ new (...items: {
2424
+ id: string;
2425
+ label: string;
2426
+ }[]): {
2427
+ id: string;
2428
+ label: string;
2429
+ }[];
2430
+ isArray(arg: any): arg is any[];
2431
+ readonly prototype: any[];
2432
+ from<T>(arrayLike: ArrayLike<T>): T[];
2433
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
2434
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
2435
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
2436
+ of<T_4>(...items: T_4[]): T_4[];
2437
+ readonly [Symbol.species]: ArrayConstructor;
2438
+ };
2439
+ default: () => never[];
2440
+ };
2441
+ ellipsis: {
2442
+ type: BooleanConstructor;
2443
+ default: boolean;
2444
+ };
2445
+ contentStyle: {
2446
+ type: ObjectConstructor;
2447
+ default: () => {};
2448
+ };
2449
+ isSelect: {
2450
+ type: BooleanConstructor;
2451
+ default: boolean;
2452
+ };
2453
+ tips: StringConstructor;
2454
+ counter: {
2455
+ type: BooleanConstructor;
2456
+ default: boolean;
2457
+ };
2458
+ autosize: {
2459
+ type: (BooleanConstructor | ObjectConstructor)[];
2460
+ default: boolean;
2461
+ };
2462
+ clearable: {
2463
+ type: BooleanConstructor;
2464
+ default: boolean;
2465
+ };
2466
+ autocomplete: {
2467
+ type: StringConstructor;
2468
+ default: string;
2469
+ };
2470
+ showPassword: {
2471
+ type: BooleanConstructor;
2472
+ default: boolean;
2473
+ };
2474
+ showWordLimit: {
2475
+ type: BooleanConstructor;
2476
+ default: boolean;
2477
+ };
2478
+ showTitle: {
2479
+ type: BooleanConstructor;
2480
+ default: boolean;
2481
+ };
2482
+ validateEvent: {
2483
+ type: BooleanConstructor;
2484
+ default: boolean;
2485
+ };
2486
+ popupMore: {
2487
+ type: BooleanConstructor;
2488
+ default: boolean;
2489
+ };
2490
+ textareaTitle: {
2491
+ type: StringConstructor;
2492
+ default: string;
2493
+ };
2494
+ displayOnly: {
2495
+ type: BooleanConstructor;
2496
+ default: boolean;
2497
+ };
2498
+ displayOnlyContent: {
2499
+ type: StringConstructor;
2500
+ default: string;
2501
+ };
2502
+ customClass: {
2503
+ type: StringConstructor;
2504
+ default: string;
2505
+ };
2506
+ frontClearIcon: {
2507
+ type: BooleanConstructor;
2508
+ default: boolean;
2509
+ };
2510
+ showEmptyValue: {
2511
+ type: BooleanConstructor;
2512
+ default: undefined;
2513
+ };
2514
+ textAlign: {
2515
+ type: StringConstructor;
2516
+ default: string;
2517
+ };
2518
+ width: {
2519
+ type: import('vue').PropType<string | number | null>;
2520
+ };
2521
+ showTooltip: {
2522
+ type: BooleanConstructor;
2523
+ default: boolean;
2524
+ };
2525
+ inputBoxType: {
2526
+ type: StringConstructor;
2527
+ default: string;
2528
+ validator: (value: string) => boolean;
2529
+ };
2530
+ tiny_mode: StringConstructor;
2531
+ tiny_mode_root: BooleanConstructor;
2532
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
2533
+ tiny_renderless: FunctionConstructor;
2534
+ tiny_theme: StringConstructor;
2535
+ tiny_mcp_config: ObjectConstructor;
2536
+ tiny_chart_theme: ObjectConstructor;
2537
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2538
+ [key: string]: any;
2539
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
2540
+ disabled: boolean;
2541
+ type: string;
2542
+ ellipsis: boolean;
2543
+ mask: boolean;
2544
+ vertical: boolean;
2545
+ customClass: string;
2546
+ tiny_mode_root: boolean;
2547
+ _constants: Record<string, any>;
2548
+ tabindex: string;
2549
+ showTitle: boolean;
2550
+ readonly: boolean;
2551
+ hoverExpand: boolean;
2552
+ memorySpace: number;
2553
+ selectMenu: {
2554
+ id: string;
2555
+ label: string;
2556
+ }[];
2557
+ contentStyle: Record<string, any>;
2558
+ isSelect: boolean;
2559
+ counter: boolean;
2560
+ autosize: boolean | Record<string, any>;
2561
+ clearable: boolean;
2562
+ autocomplete: string;
2563
+ showPassword: boolean;
2564
+ showWordLimit: boolean;
2565
+ validateEvent: boolean;
2566
+ popupMore: boolean;
2567
+ textareaTitle: string;
2568
+ displayOnly: boolean;
2569
+ displayOnlyContent: string;
2570
+ frontClearIcon: boolean;
2571
+ showEmptyValue: boolean;
2572
+ textAlign: string;
2573
+ showTooltip: boolean;
2574
+ inputBoxType: string;
2575
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2576
+ P: {};
2577
+ B: {};
2578
+ D: {};
2579
+ C: {};
2580
+ M: {};
2581
+ Defaults: {};
2582
+ }, Readonly<import('vue').ExtractPropTypes<{
2583
+ _constants: {
2584
+ type: ObjectConstructor;
2585
+ default: () => {
2586
+ INPUT_PC: string;
2587
+ INPUTGROUP_PC: string;
2588
+ INPUT_MOBILE: string;
2589
+ INPUTGROUP_MOBILE: string;
2590
+ Mode: string;
2591
+ inputMode(mode: any): string;
2592
+ inputGroupMode(mode: any): string;
2593
+ VALIDATE_ICON: {
2594
+ Validating: string;
2595
+ Success: string;
2596
+ Error: string;
2597
+ };
2598
+ COMPONENT_NAME: {
2599
+ FormItem: string;
2600
+ };
2601
+ MASKSYMBOL: string;
2602
+ TEXTAREA_HEIGHT_MOBILE: number;
2603
+ };
2604
+ };
2605
+ name: StringConstructor;
2606
+ size: StringConstructor;
2607
+ form: StringConstructor;
2608
+ label: StringConstructor;
2609
+ height: NumberConstructor;
2610
+ resize: StringConstructor;
2611
+ tabindex: {
2612
+ type: StringConstructor;
2613
+ default: string;
2614
+ };
2615
+ disabled: BooleanConstructor;
2616
+ readonly: BooleanConstructor;
2617
+ hoverExpand: BooleanConstructor;
2618
+ mask: BooleanConstructor;
2619
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
2620
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
2621
+ modelValue: import('vue').PropType<string | number | null>;
2622
+ type: {
2623
+ type: StringConstructor;
2624
+ default: string;
2625
+ };
2626
+ memorySpace: {
2627
+ type: NumberConstructor;
2628
+ default: number;
2629
+ };
2630
+ vertical: {
2631
+ type: BooleanConstructor;
2632
+ default: boolean;
2633
+ };
2634
+ selectMenu: {
2635
+ type: {
2636
+ (arrayLength: number): {
2637
+ id: string;
2638
+ label: string;
2639
+ }[];
2640
+ (...items: {
2641
+ id: string;
2642
+ label: string;
2643
+ }[]): {
2644
+ id: string;
2645
+ label: string;
2646
+ }[];
2647
+ new (arrayLength: number): {
2648
+ id: string;
2649
+ label: string;
2650
+ }[];
2651
+ new (...items: {
2652
+ id: string;
2653
+ label: string;
2654
+ }[]): {
2655
+ id: string;
2656
+ label: string;
2657
+ }[];
2658
+ isArray(arg: any): arg is any[];
2659
+ readonly prototype: any[];
2660
+ from<T>(arrayLike: ArrayLike<T>): T[];
2661
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
2662
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
2663
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
2664
+ of<T_4>(...items: T_4[]): T_4[];
2665
+ readonly [Symbol.species]: ArrayConstructor;
2666
+ };
2667
+ default: () => never[];
2668
+ };
2669
+ ellipsis: {
2670
+ type: BooleanConstructor;
2671
+ default: boolean;
2672
+ };
2673
+ contentStyle: {
2674
+ type: ObjectConstructor;
2675
+ default: () => {};
2676
+ };
2677
+ isSelect: {
2678
+ type: BooleanConstructor;
2679
+ default: boolean;
2680
+ };
2681
+ tips: StringConstructor;
2682
+ counter: {
2683
+ type: BooleanConstructor;
2684
+ default: boolean;
2685
+ };
2686
+ autosize: {
2687
+ type: (BooleanConstructor | ObjectConstructor)[];
2688
+ default: boolean;
2689
+ };
2690
+ clearable: {
2691
+ type: BooleanConstructor;
2692
+ default: boolean;
2693
+ };
2694
+ autocomplete: {
2695
+ type: StringConstructor;
2696
+ default: string;
2697
+ };
2698
+ showPassword: {
2699
+ type: BooleanConstructor;
2700
+ default: boolean;
2701
+ };
2702
+ showWordLimit: {
2703
+ type: BooleanConstructor;
2704
+ default: boolean;
2705
+ };
2706
+ showTitle: {
2707
+ type: BooleanConstructor;
2708
+ default: boolean;
2709
+ };
2710
+ validateEvent: {
2711
+ type: BooleanConstructor;
2712
+ default: boolean;
2713
+ };
2714
+ popupMore: {
2715
+ type: BooleanConstructor;
2716
+ default: boolean;
2717
+ };
2718
+ textareaTitle: {
2719
+ type: StringConstructor;
2720
+ default: string;
2721
+ };
2722
+ displayOnly: {
2723
+ type: BooleanConstructor;
2724
+ default: boolean;
2725
+ };
2726
+ displayOnlyContent: {
2727
+ type: StringConstructor;
2728
+ default: string;
2729
+ };
2730
+ customClass: {
2731
+ type: StringConstructor;
2732
+ default: string;
2733
+ };
2734
+ frontClearIcon: {
2735
+ type: BooleanConstructor;
2736
+ default: boolean;
2737
+ };
2738
+ showEmptyValue: {
2739
+ type: BooleanConstructor;
2740
+ default: undefined;
2741
+ };
2742
+ textAlign: {
2743
+ type: StringConstructor;
2744
+ default: string;
2745
+ };
2746
+ width: {
2747
+ type: import('vue').PropType<string | number | null>;
2748
+ };
2749
+ showTooltip: {
2750
+ type: BooleanConstructor;
2751
+ default: boolean;
2752
+ };
2753
+ inputBoxType: {
2754
+ type: StringConstructor;
2755
+ default: string;
2756
+ validator: (value: string) => boolean;
2757
+ };
2758
+ tiny_mode: StringConstructor;
2759
+ tiny_mode_root: BooleanConstructor;
2760
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
2761
+ tiny_renderless: FunctionConstructor;
2762
+ tiny_theme: StringConstructor;
2763
+ tiny_mcp_config: ObjectConstructor;
2764
+ tiny_chart_theme: ObjectConstructor;
2765
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
2766
+ [key: string]: any;
2767
+ }>, {}, {}, {}, {
2768
+ disabled: boolean;
2769
+ type: string;
2770
+ ellipsis: boolean;
2771
+ mask: boolean;
2772
+ vertical: boolean;
2773
+ customClass: string;
2774
+ tiny_mode_root: boolean;
2775
+ _constants: Record<string, any>;
2776
+ tabindex: string;
2777
+ showTitle: boolean;
2778
+ readonly: boolean;
2779
+ hoverExpand: boolean;
2780
+ memorySpace: number;
2781
+ selectMenu: {
2782
+ id: string;
2783
+ label: string;
2784
+ }[];
2785
+ contentStyle: Record<string, any>;
2786
+ isSelect: boolean;
2787
+ counter: boolean;
2788
+ autosize: boolean | Record<string, any>;
2789
+ clearable: boolean;
2790
+ autocomplete: string;
2791
+ showPassword: boolean;
2792
+ showWordLimit: boolean;
2793
+ validateEvent: boolean;
2794
+ popupMore: boolean;
2795
+ textareaTitle: string;
2796
+ displayOnly: boolean;
2797
+ displayOnlyContent: string;
2798
+ frontClearIcon: boolean;
2799
+ showEmptyValue: boolean;
2800
+ textAlign: string;
2801
+ showTooltip: boolean;
2802
+ inputBoxType: string;
2803
+ }> | null;
2804
+ buttonsContainerRef: HTMLDivElement;
2805
+ };
2806
+ $slots: Readonly<{
2807
+ [name: string]: import('vue').Slot<any> | undefined;
2808
+ }>;
2809
+ $root: import('vue').ComponentPublicInstance | null;
2810
+ $parent: import('vue').ComponentPublicInstance | null;
2811
+ $host: Element | null;
2812
+ $emit: ((event: "cancel") => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", value: string) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:templateData", value: import('@opentiny/tiny-robot').UserItem[]) => void) & ((event: "speech-start") => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-error", error: Error) => void) & ((event: "suggestion-select", value: string) => void) & ((event: "escape-press") => void) & ((event: "reset-template") => void) & ((event: "files-selected", files: File[]) => void);
2813
+ $el: HTMLDivElement;
2814
+ $options: import('vue').ComponentOptionsBase<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
2815
+ onClear?: (() => any) | undefined;
2816
+ onBlur?: ((event: FocusEvent) => any) | undefined;
2817
+ onCancel?: (() => any) | undefined;
2818
+ onFocus?: ((event: FocusEvent) => any) | undefined;
2819
+ onSubmit?: ((value: string) => any) | undefined;
2820
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2821
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
2822
+ "onSpeech-start"?: (() => any) | undefined;
2823
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
2824
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
2825
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
2826
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
2827
+ "onEscape-press"?: (() => any) | undefined;
2828
+ "onReset-template"?: (() => any) | undefined;
2829
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
2830
+ }>, {
2831
+ focus: () => void;
2832
+ blur: () => void;
2833
+ clear: () => void;
2834
+ submit: () => void;
2835
+ startSpeech: () => void;
2836
+ stopSpeech: () => void;
2837
+ activateTemplateFirstField: () => void;
2838
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2839
+ clear: () => any;
2840
+ blur: (event: FocusEvent) => any;
2841
+ cancel: () => any;
2842
+ focus: (event: FocusEvent) => any;
2843
+ submit: (value: string) => any;
2844
+ "update:modelValue": (value: string) => any;
2845
+ "update:templateData": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
2846
+ "speech-start": () => any;
2847
+ "speech-end": (transcript?: string | undefined) => any;
2848
+ "speech-interim": (transcript: string) => any;
2849
+ "speech-error": (error: Error) => any;
2850
+ "suggestion-select": (value: string) => any;
2851
+ "escape-press": () => any;
2852
+ "reset-template": () => any;
2853
+ "files-selected": (files: File[]) => any;
2854
+ }, string, {
2855
+ disabled: boolean;
2856
+ modelValue: string;
2857
+ placeholder: string;
2858
+ mode: import('@opentiny/tiny-robot').InputMode;
2859
+ loading: boolean;
2860
+ autofocus: boolean;
2861
+ allowSpeech: boolean;
2862
+ allowFiles: boolean;
2863
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
2864
+ stopText: string;
2865
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
2866
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
2867
+ clearable: boolean;
2868
+ maxLength: number;
2869
+ showWordLimit: boolean;
2870
+ suggestionPopupWidth: string | number;
2871
+ theme: import('@opentiny/tiny-robot').ThemeType;
2872
+ templateData: import('@opentiny/tiny-robot').UserItem[];
2873
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2874
+ beforeCreate?: (() => void) | (() => void)[];
2875
+ created?: (() => void) | (() => void)[];
2876
+ beforeMount?: (() => void) | (() => void)[];
2877
+ mounted?: (() => void) | (() => void)[];
2878
+ beforeUpdate?: (() => void) | (() => void)[];
2879
+ updated?: (() => void) | (() => void)[];
2880
+ activated?: (() => void) | (() => void)[];
2881
+ deactivated?: (() => void) | (() => void)[];
2882
+ beforeDestroy?: (() => void) | (() => void)[];
2883
+ beforeUnmount?: (() => void) | (() => void)[];
2884
+ destroyed?: (() => void) | (() => void)[];
2885
+ unmounted?: (() => void) | (() => void)[];
2886
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2887
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
2888
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
2889
+ };
2890
+ $forceUpdate: () => void;
2891
+ $nextTick: typeof import('vue').nextTick;
2892
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
2893
+ } & Readonly<{
2894
+ disabled: boolean;
2895
+ modelValue: string;
2896
+ placeholder: string;
2897
+ mode: import('@opentiny/tiny-robot').InputMode;
2898
+ loading: boolean;
2899
+ autofocus: boolean;
2900
+ allowSpeech: boolean;
2901
+ allowFiles: boolean;
2902
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
2903
+ stopText: string;
2904
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
2905
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
2906
+ clearable: boolean;
2907
+ maxLength: number;
2908
+ showWordLimit: boolean;
2909
+ suggestionPopupWidth: string | number;
2910
+ theme: import('@opentiny/tiny-robot').ThemeType;
2911
+ templateData: import('@opentiny/tiny-robot').UserItem[];
2912
+ }> & Omit<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
2913
+ onClear?: (() => any) | undefined;
2914
+ onBlur?: ((event: FocusEvent) => any) | undefined;
2915
+ onCancel?: (() => any) | undefined;
2916
+ onFocus?: ((event: FocusEvent) => any) | undefined;
2917
+ onSubmit?: ((value: string) => any) | undefined;
2918
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2919
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
2920
+ "onSpeech-start"?: (() => any) | undefined;
2921
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
2922
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
2923
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
2924
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
2925
+ "onEscape-press"?: (() => any) | undefined;
2926
+ "onReset-template"?: (() => any) | undefined;
2927
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
2928
+ }>, "blur" | "focus" | "submit" | "disabled" | "maxLength" | "clear" | "autofocus" | "autoSize" | "allowSpeech" | "allowFiles" | "clearable" | "loading" | "modelValue" | "mode" | "submitType" | "placeholder" | "showWordLimit" | "suggestions" | "suggestionPopupWidth" | "theme" | "templateData" | "stopText" | "startSpeech" | "stopSpeech" | "activateTemplateFirstField"> & import('vue').ShallowUnwrapRef<{
2929
+ focus: () => void;
2930
+ blur: () => void;
2931
+ clear: () => void;
2932
+ submit: () => void;
2933
+ startSpeech: () => void;
2934
+ stopSpeech: () => void;
2935
+ activateTemplateFirstField: () => void;
2936
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
2937
+ $slots: {
2938
+ header?(_: {}): any;
2939
+ prefix?(_: {}): any;
2940
+ decorativeContent?(_: {}): any;
2941
+ actions?(_: {}): any;
2942
+ 'footer-left'?(_: {}): any;
2943
+ 'footer-right'?(_: {}): any;
2944
+ footer?(_: {}): any;
2945
+ };
2946
+ }) | undefined, ({
2947
+ $: import('vue').ComponentInternalInstance;
2948
+ $data: {};
2949
+ $props: {
2950
+ readonly autofocus?: boolean | undefined;
2951
+ readonly autoSize?: import('@opentiny/tiny-robot').AutoSize | undefined;
2952
+ readonly allowSpeech?: boolean | undefined;
2953
+ readonly allowFiles?: boolean | undefined;
2954
+ readonly clearable?: boolean | undefined;
2955
+ readonly disabled?: boolean | undefined;
2956
+ readonly defaultValue?: string | null | undefined;
2957
+ readonly loading?: boolean | undefined;
2958
+ readonly modelValue?: string | undefined;
2959
+ readonly mode?: import('@opentiny/tiny-robot').InputMode | undefined;
2960
+ readonly maxLength?: number | undefined;
2961
+ readonly buttonGroup?: import('@opentiny/tiny-robot').ButtonGroupConfig | undefined;
2962
+ readonly submitType?: import('@opentiny/tiny-robot').SubmitTrigger | undefined;
2963
+ readonly speech?: (boolean | import('@opentiny/tiny-robot').SpeechConfig) | undefined;
2964
+ readonly placeholder?: string | undefined;
2965
+ readonly showWordLimit?: boolean | undefined;
2966
+ readonly suggestions?: import('@opentiny/tiny-robot').ISuggestionItem[] | undefined;
2967
+ readonly suggestionPopupWidth?: string | number | undefined;
2968
+ readonly activeSuggestionKeys?: string[] | undefined;
2969
+ readonly theme?: import('@opentiny/tiny-robot').ThemeType | undefined;
2970
+ readonly templateData?: import('@opentiny/tiny-robot').UserItem[] | undefined;
2971
+ readonly stopText?: string | undefined;
2972
+ readonly onClear?: (() => any) | undefined | undefined;
2973
+ readonly onBlur?: ((event: FocusEvent) => any) | undefined | undefined;
2974
+ readonly onCancel?: (() => any) | undefined | undefined;
2975
+ readonly onFocus?: ((event: FocusEvent) => any) | undefined | undefined;
2976
+ readonly onSubmit?: ((value: string) => any) | undefined | undefined;
2977
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
2978
+ readonly "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined | undefined;
2979
+ readonly "onSpeech-start"?: (() => any) | undefined | undefined;
2980
+ readonly "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined | undefined;
2981
+ readonly "onSpeech-interim"?: ((transcript: string) => any) | undefined | undefined;
2982
+ readonly "onSpeech-error"?: ((error: Error) => any) | undefined | undefined;
2983
+ readonly "onSuggestion-select"?: ((value: string) => any) | undefined | undefined;
2984
+ readonly "onEscape-press"?: (() => any) | undefined | undefined;
2985
+ readonly "onReset-template"?: (() => any) | undefined | undefined;
2986
+ readonly "onFiles-selected"?: ((files: File[]) => any) | undefined | undefined;
2987
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
2988
+ $attrs: {
2989
+ [x: string]: unknown;
2990
+ };
2991
+ $refs: {
2992
+ [x: string]: unknown;
2993
+ } & {
2994
+ senderRef: HTMLDivElement;
2995
+ inputWrapperRef: HTMLDivElement;
2996
+ templateEditorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
2997
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
2998
+ }> & Readonly<{
2999
+ onSubmit?: (() => any) | undefined;
3000
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
3001
+ }>, {
3002
+ clearHistory: () => void;
3003
+ activateFirstField: () => void;
3004
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3005
+ "update:modelValue": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
3006
+ } & {
3007
+ submit: () => any;
3008
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
3009
+ editorRef: HTMLDivElement;
3010
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
3011
+ P: {};
3012
+ B: {};
3013
+ D: {};
3014
+ C: {};
3015
+ M: {};
3016
+ Defaults: {};
3017
+ }, Readonly<{
3018
+ modelValue?: import('@opentiny/tiny-robot').UserItem[];
3019
+ }> & Readonly<{
3020
+ onSubmit?: (() => any) | undefined;
3021
+ "onUpdate:modelValue"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
3022
+ }>, {
3023
+ clearHistory: () => void;
3024
+ activateFirstField: () => void;
3025
+ }, {}, {}, {}, {}> | null;
3026
+ inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3027
+ _constants: {
3028
+ type: ObjectConstructor;
3029
+ default: () => {
3030
+ INPUT_PC: string;
3031
+ INPUTGROUP_PC: string;
3032
+ INPUT_MOBILE: string;
3033
+ INPUTGROUP_MOBILE: string;
3034
+ Mode: string;
3035
+ inputMode(mode: any): string;
3036
+ inputGroupMode(mode: any): string;
3037
+ VALIDATE_ICON: {
3038
+ Validating: string;
3039
+ Success: string;
3040
+ Error: string;
3041
+ };
3042
+ COMPONENT_NAME: {
3043
+ FormItem: string;
3044
+ };
3045
+ MASKSYMBOL: string;
3046
+ TEXTAREA_HEIGHT_MOBILE: number;
3047
+ };
3048
+ };
3049
+ name: StringConstructor;
3050
+ size: StringConstructor;
3051
+ form: StringConstructor;
3052
+ label: StringConstructor;
3053
+ height: NumberConstructor;
3054
+ resize: StringConstructor;
3055
+ tabindex: {
3056
+ type: StringConstructor;
3057
+ default: string;
3058
+ };
3059
+ disabled: BooleanConstructor;
3060
+ readonly: BooleanConstructor;
3061
+ hoverExpand: BooleanConstructor;
3062
+ mask: BooleanConstructor;
3063
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
3064
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
3065
+ modelValue: import('vue').PropType<string | number | null>;
3066
+ type: {
3067
+ type: StringConstructor;
3068
+ default: string;
3069
+ };
3070
+ memorySpace: {
3071
+ type: NumberConstructor;
3072
+ default: number;
3073
+ };
3074
+ vertical: {
3075
+ type: BooleanConstructor;
3076
+ default: boolean;
3077
+ };
3078
+ selectMenu: {
3079
+ type: {
3080
+ (arrayLength: number): {
3081
+ id: string;
3082
+ label: string;
3083
+ }[];
3084
+ (...items: {
3085
+ id: string;
3086
+ label: string;
3087
+ }[]): {
3088
+ id: string;
3089
+ label: string;
3090
+ }[];
3091
+ new (arrayLength: number): {
3092
+ id: string;
3093
+ label: string;
3094
+ }[];
3095
+ new (...items: {
3096
+ id: string;
3097
+ label: string;
3098
+ }[]): {
3099
+ id: string;
3100
+ label: string;
3101
+ }[];
3102
+ isArray(arg: any): arg is any[];
3103
+ readonly prototype: any[];
3104
+ from<T>(arrayLike: ArrayLike<T>): T[];
3105
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
3106
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
3107
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
3108
+ of<T_4>(...items: T_4[]): T_4[];
3109
+ readonly [Symbol.species]: ArrayConstructor;
3110
+ };
3111
+ default: () => never[];
3112
+ };
3113
+ ellipsis: {
3114
+ type: BooleanConstructor;
3115
+ default: boolean;
3116
+ };
3117
+ contentStyle: {
3118
+ type: ObjectConstructor;
3119
+ default: () => {};
3120
+ };
3121
+ isSelect: {
3122
+ type: BooleanConstructor;
3123
+ default: boolean;
3124
+ };
3125
+ tips: StringConstructor;
3126
+ counter: {
3127
+ type: BooleanConstructor;
3128
+ default: boolean;
3129
+ };
3130
+ autosize: {
3131
+ type: (BooleanConstructor | ObjectConstructor)[];
3132
+ default: boolean;
3133
+ };
3134
+ clearable: {
3135
+ type: BooleanConstructor;
3136
+ default: boolean;
3137
+ };
3138
+ autocomplete: {
3139
+ type: StringConstructor;
3140
+ default: string;
3141
+ };
3142
+ showPassword: {
3143
+ type: BooleanConstructor;
3144
+ default: boolean;
3145
+ };
3146
+ showWordLimit: {
3147
+ type: BooleanConstructor;
3148
+ default: boolean;
3149
+ };
3150
+ showTitle: {
3151
+ type: BooleanConstructor;
3152
+ default: boolean;
3153
+ };
3154
+ validateEvent: {
3155
+ type: BooleanConstructor;
3156
+ default: boolean;
3157
+ };
3158
+ popupMore: {
3159
+ type: BooleanConstructor;
3160
+ default: boolean;
3161
+ };
3162
+ textareaTitle: {
3163
+ type: StringConstructor;
3164
+ default: string;
3165
+ };
3166
+ displayOnly: {
3167
+ type: BooleanConstructor;
3168
+ default: boolean;
3169
+ };
3170
+ displayOnlyContent: {
3171
+ type: StringConstructor;
3172
+ default: string;
3173
+ };
3174
+ customClass: {
3175
+ type: StringConstructor;
3176
+ default: string;
3177
+ };
3178
+ frontClearIcon: {
3179
+ type: BooleanConstructor;
3180
+ default: boolean;
3181
+ };
3182
+ showEmptyValue: {
3183
+ type: BooleanConstructor;
3184
+ default: undefined;
3185
+ };
3186
+ textAlign: {
3187
+ type: StringConstructor;
3188
+ default: string;
3189
+ };
3190
+ width: {
3191
+ type: import('vue').PropType<string | number | null>;
3192
+ };
3193
+ showTooltip: {
3194
+ type: BooleanConstructor;
3195
+ default: boolean;
3196
+ };
3197
+ inputBoxType: {
3198
+ type: StringConstructor;
3199
+ default: string;
3200
+ validator: (value: string) => boolean;
3201
+ };
3202
+ tiny_mode: StringConstructor;
3203
+ tiny_mode_root: BooleanConstructor;
3204
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
3205
+ tiny_renderless: FunctionConstructor;
3206
+ tiny_theme: StringConstructor;
3207
+ tiny_mcp_config: ObjectConstructor;
3208
+ tiny_chart_theme: ObjectConstructor;
3209
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
3210
+ [key: string]: any;
3211
+ }>, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3212
+ disabled: boolean;
3213
+ type: string;
3214
+ ellipsis: boolean;
3215
+ mask: boolean;
3216
+ vertical: boolean;
3217
+ customClass: string;
3218
+ tiny_mode_root: boolean;
3219
+ _constants: Record<string, any>;
3220
+ tabindex: string;
3221
+ showTitle: boolean;
3222
+ readonly: boolean;
3223
+ hoverExpand: boolean;
3224
+ memorySpace: number;
3225
+ selectMenu: {
3226
+ id: string;
3227
+ label: string;
3228
+ }[];
3229
+ contentStyle: Record<string, any>;
3230
+ isSelect: boolean;
3231
+ counter: boolean;
3232
+ autosize: boolean | Record<string, any>;
3233
+ clearable: boolean;
3234
+ autocomplete: string;
3235
+ showPassword: boolean;
3236
+ showWordLimit: boolean;
3237
+ validateEvent: boolean;
3238
+ popupMore: boolean;
3239
+ textareaTitle: string;
3240
+ displayOnly: boolean;
3241
+ displayOnlyContent: string;
3242
+ frontClearIcon: boolean;
3243
+ showEmptyValue: boolean;
3244
+ textAlign: string;
3245
+ showTooltip: boolean;
3246
+ inputBoxType: string;
3247
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3248
+ P: {};
3249
+ B: {};
3250
+ D: {};
3251
+ C: {};
3252
+ M: {};
3253
+ Defaults: {};
3254
+ }, Readonly<import('vue').ExtractPropTypes<{
3255
+ _constants: {
3256
+ type: ObjectConstructor;
3257
+ default: () => {
3258
+ INPUT_PC: string;
3259
+ INPUTGROUP_PC: string;
3260
+ INPUT_MOBILE: string;
3261
+ INPUTGROUP_MOBILE: string;
3262
+ Mode: string;
3263
+ inputMode(mode: any): string;
3264
+ inputGroupMode(mode: any): string;
3265
+ VALIDATE_ICON: {
3266
+ Validating: string;
3267
+ Success: string;
3268
+ Error: string;
3269
+ };
3270
+ COMPONENT_NAME: {
3271
+ FormItem: string;
3272
+ };
3273
+ MASKSYMBOL: string;
3274
+ TEXTAREA_HEIGHT_MOBILE: number;
3275
+ };
3276
+ };
3277
+ name: StringConstructor;
3278
+ size: StringConstructor;
3279
+ form: StringConstructor;
3280
+ label: StringConstructor;
3281
+ height: NumberConstructor;
3282
+ resize: StringConstructor;
3283
+ tabindex: {
3284
+ type: StringConstructor;
3285
+ default: string;
3286
+ };
3287
+ disabled: BooleanConstructor;
3288
+ readonly: BooleanConstructor;
3289
+ hoverExpand: BooleanConstructor;
3290
+ mask: BooleanConstructor;
3291
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
3292
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
3293
+ modelValue: import('vue').PropType<string | number | null>;
3294
+ type: {
3295
+ type: StringConstructor;
3296
+ default: string;
3297
+ };
3298
+ memorySpace: {
3299
+ type: NumberConstructor;
3300
+ default: number;
3301
+ };
3302
+ vertical: {
3303
+ type: BooleanConstructor;
3304
+ default: boolean;
3305
+ };
3306
+ selectMenu: {
3307
+ type: {
3308
+ (arrayLength: number): {
3309
+ id: string;
3310
+ label: string;
3311
+ }[];
3312
+ (...items: {
3313
+ id: string;
3314
+ label: string;
3315
+ }[]): {
3316
+ id: string;
3317
+ label: string;
3318
+ }[];
3319
+ new (arrayLength: number): {
3320
+ id: string;
3321
+ label: string;
3322
+ }[];
3323
+ new (...items: {
3324
+ id: string;
3325
+ label: string;
3326
+ }[]): {
3327
+ id: string;
3328
+ label: string;
3329
+ }[];
3330
+ isArray(arg: any): arg is any[];
3331
+ readonly prototype: any[];
3332
+ from<T>(arrayLike: ArrayLike<T>): T[];
3333
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
3334
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
3335
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
3336
+ of<T_4>(...items: T_4[]): T_4[];
3337
+ readonly [Symbol.species]: ArrayConstructor;
3338
+ };
3339
+ default: () => never[];
3340
+ };
3341
+ ellipsis: {
3342
+ type: BooleanConstructor;
3343
+ default: boolean;
3344
+ };
3345
+ contentStyle: {
3346
+ type: ObjectConstructor;
3347
+ default: () => {};
3348
+ };
3349
+ isSelect: {
3350
+ type: BooleanConstructor;
3351
+ default: boolean;
3352
+ };
3353
+ tips: StringConstructor;
3354
+ counter: {
3355
+ type: BooleanConstructor;
3356
+ default: boolean;
3357
+ };
3358
+ autosize: {
3359
+ type: (BooleanConstructor | ObjectConstructor)[];
3360
+ default: boolean;
3361
+ };
3362
+ clearable: {
3363
+ type: BooleanConstructor;
3364
+ default: boolean;
3365
+ };
3366
+ autocomplete: {
3367
+ type: StringConstructor;
3368
+ default: string;
3369
+ };
3370
+ showPassword: {
3371
+ type: BooleanConstructor;
3372
+ default: boolean;
3373
+ };
3374
+ showWordLimit: {
3375
+ type: BooleanConstructor;
3376
+ default: boolean;
3377
+ };
3378
+ showTitle: {
3379
+ type: BooleanConstructor;
3380
+ default: boolean;
3381
+ };
3382
+ validateEvent: {
3383
+ type: BooleanConstructor;
3384
+ default: boolean;
3385
+ };
3386
+ popupMore: {
3387
+ type: BooleanConstructor;
3388
+ default: boolean;
3389
+ };
3390
+ textareaTitle: {
3391
+ type: StringConstructor;
3392
+ default: string;
3393
+ };
3394
+ displayOnly: {
3395
+ type: BooleanConstructor;
3396
+ default: boolean;
3397
+ };
3398
+ displayOnlyContent: {
3399
+ type: StringConstructor;
3400
+ default: string;
3401
+ };
3402
+ customClass: {
3403
+ type: StringConstructor;
3404
+ default: string;
3405
+ };
3406
+ frontClearIcon: {
3407
+ type: BooleanConstructor;
3408
+ default: boolean;
3409
+ };
3410
+ showEmptyValue: {
3411
+ type: BooleanConstructor;
3412
+ default: undefined;
3413
+ };
3414
+ textAlign: {
3415
+ type: StringConstructor;
3416
+ default: string;
3417
+ };
3418
+ width: {
3419
+ type: import('vue').PropType<string | number | null>;
3420
+ };
3421
+ showTooltip: {
3422
+ type: BooleanConstructor;
3423
+ default: boolean;
3424
+ };
3425
+ inputBoxType: {
3426
+ type: StringConstructor;
3427
+ default: string;
3428
+ validator: (value: string) => boolean;
3429
+ };
3430
+ tiny_mode: StringConstructor;
3431
+ tiny_mode_root: BooleanConstructor;
3432
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
3433
+ tiny_renderless: FunctionConstructor;
3434
+ tiny_theme: StringConstructor;
3435
+ tiny_mcp_config: ObjectConstructor;
3436
+ tiny_chart_theme: ObjectConstructor;
3437
+ }>>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
3438
+ [key: string]: any;
3439
+ }>, {}, {}, {}, {
3440
+ disabled: boolean;
3441
+ type: string;
3442
+ ellipsis: boolean;
3443
+ mask: boolean;
3444
+ vertical: boolean;
3445
+ customClass: string;
3446
+ tiny_mode_root: boolean;
3447
+ _constants: Record<string, any>;
3448
+ tabindex: string;
3449
+ showTitle: boolean;
3450
+ readonly: boolean;
3451
+ hoverExpand: boolean;
3452
+ memorySpace: number;
3453
+ selectMenu: {
3454
+ id: string;
3455
+ label: string;
3456
+ }[];
3457
+ contentStyle: Record<string, any>;
3458
+ isSelect: boolean;
3459
+ counter: boolean;
3460
+ autosize: boolean | Record<string, any>;
3461
+ clearable: boolean;
3462
+ autocomplete: string;
3463
+ showPassword: boolean;
3464
+ showWordLimit: boolean;
3465
+ validateEvent: boolean;
3466
+ popupMore: boolean;
3467
+ textareaTitle: string;
3468
+ displayOnly: boolean;
3469
+ displayOnlyContent: string;
3470
+ frontClearIcon: boolean;
3471
+ showEmptyValue: boolean;
3472
+ textAlign: string;
3473
+ showTooltip: boolean;
3474
+ inputBoxType: string;
3475
+ }> | null;
3476
+ buttonsContainerRef: HTMLDivElement;
3477
+ };
3478
+ $slots: Readonly<{
3479
+ [name: string]: import('vue').Slot<any> | undefined;
3480
+ }>;
3481
+ $root: import('vue').ComponentPublicInstance | null;
3482
+ $parent: import('vue').ComponentPublicInstance | null;
3483
+ $host: Element | null;
3484
+ $emit: ((event: "cancel") => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "submit", value: string) => void) & ((event: "clear") => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:templateData", value: import('@opentiny/tiny-robot').UserItem[]) => void) & ((event: "speech-start") => void) & ((event: "speech-end", transcript?: string | undefined) => void) & ((event: "speech-interim", transcript: string) => void) & ((event: "speech-error", error: Error) => void) & ((event: "suggestion-select", value: string) => void) & ((event: "escape-press") => void) & ((event: "reset-template") => void) & ((event: "files-selected", files: File[]) => void);
3485
+ $el: HTMLDivElement;
3486
+ $options: import('vue').ComponentOptionsBase<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
3487
+ onClear?: (() => any) | undefined;
3488
+ onBlur?: ((event: FocusEvent) => any) | undefined;
3489
+ onCancel?: (() => any) | undefined;
3490
+ onFocus?: ((event: FocusEvent) => any) | undefined;
3491
+ onSubmit?: ((value: string) => any) | undefined;
3492
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
3493
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
3494
+ "onSpeech-start"?: (() => any) | undefined;
3495
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
3496
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
3497
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
3498
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
3499
+ "onEscape-press"?: (() => any) | undefined;
3500
+ "onReset-template"?: (() => any) | undefined;
3501
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
3502
+ }>, {
3503
+ focus: () => void;
3504
+ blur: () => void;
3505
+ clear: () => void;
3506
+ submit: () => void;
3507
+ startSpeech: () => void;
3508
+ stopSpeech: () => void;
3509
+ activateTemplateFirstField: () => void;
3510
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3511
+ clear: () => any;
3512
+ blur: (event: FocusEvent) => any;
3513
+ cancel: () => any;
3514
+ focus: (event: FocusEvent) => any;
3515
+ submit: (value: string) => any;
3516
+ "update:modelValue": (value: string) => any;
3517
+ "update:templateData": (value: import('@opentiny/tiny-robot').UserItem[]) => any;
3518
+ "speech-start": () => any;
3519
+ "speech-end": (transcript?: string | undefined) => any;
3520
+ "speech-interim": (transcript: string) => any;
3521
+ "speech-error": (error: Error) => any;
3522
+ "suggestion-select": (value: string) => any;
3523
+ "escape-press": () => any;
3524
+ "reset-template": () => any;
3525
+ "files-selected": (files: File[]) => any;
3526
+ }, string, {
3527
+ disabled: boolean;
3528
+ modelValue: string;
3529
+ placeholder: string;
3530
+ mode: import('@opentiny/tiny-robot').InputMode;
3531
+ loading: boolean;
3532
+ autofocus: boolean;
3533
+ allowSpeech: boolean;
3534
+ allowFiles: boolean;
3535
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
3536
+ stopText: string;
3537
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
3538
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
3539
+ clearable: boolean;
3540
+ maxLength: number;
3541
+ showWordLimit: boolean;
3542
+ suggestionPopupWidth: string | number;
3543
+ theme: import('@opentiny/tiny-robot').ThemeType;
3544
+ templateData: import('@opentiny/tiny-robot').UserItem[];
3545
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
3546
+ beforeCreate?: (() => void) | (() => void)[];
3547
+ created?: (() => void) | (() => void)[];
3548
+ beforeMount?: (() => void) | (() => void)[];
3549
+ mounted?: (() => void) | (() => void)[];
3550
+ beforeUpdate?: (() => void) | (() => void)[];
3551
+ updated?: (() => void) | (() => void)[];
3552
+ activated?: (() => void) | (() => void)[];
3553
+ deactivated?: (() => void) | (() => void)[];
3554
+ beforeDestroy?: (() => void) | (() => void)[];
3555
+ beforeUnmount?: (() => void) | (() => void)[];
3556
+ destroyed?: (() => void) | (() => void)[];
3557
+ unmounted?: (() => void) | (() => void)[];
3558
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
3559
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
3560
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
3561
+ };
3562
+ $forceUpdate: () => void;
3563
+ $nextTick: typeof import('vue').nextTick;
3564
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
3565
+ } & Readonly<{
3566
+ disabled: boolean;
3567
+ modelValue: string;
3568
+ placeholder: string;
3569
+ mode: import('@opentiny/tiny-robot').InputMode;
3570
+ loading: boolean;
3571
+ autofocus: boolean;
3572
+ allowSpeech: boolean;
3573
+ allowFiles: boolean;
3574
+ submitType: import('@opentiny/tiny-robot').SubmitTrigger;
3575
+ stopText: string;
3576
+ suggestions: import('@opentiny/tiny-robot').ISuggestionItem[];
3577
+ autoSize: import('@opentiny/tiny-robot').AutoSize;
3578
+ clearable: boolean;
3579
+ maxLength: number;
3580
+ showWordLimit: boolean;
3581
+ suggestionPopupWidth: string | number;
3582
+ theme: import('@opentiny/tiny-robot').ThemeType;
3583
+ templateData: import('@opentiny/tiny-robot').UserItem[];
3584
+ }> & Omit<Readonly<import('@opentiny/tiny-robot').SenderProps> & Readonly<{
3585
+ onClear?: (() => any) | undefined;
3586
+ onBlur?: ((event: FocusEvent) => any) | undefined;
3587
+ onCancel?: (() => any) | undefined;
3588
+ onFocus?: ((event: FocusEvent) => any) | undefined;
3589
+ onSubmit?: ((value: string) => any) | undefined;
3590
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
3591
+ "onUpdate:templateData"?: ((value: import('@opentiny/tiny-robot').UserItem[]) => any) | undefined;
3592
+ "onSpeech-start"?: (() => any) | undefined;
3593
+ "onSpeech-end"?: ((transcript?: string | undefined) => any) | undefined;
3594
+ "onSpeech-interim"?: ((transcript: string) => any) | undefined;
3595
+ "onSpeech-error"?: ((error: Error) => any) | undefined;
3596
+ "onSuggestion-select"?: ((value: string) => any) | undefined;
3597
+ "onEscape-press"?: (() => any) | undefined;
3598
+ "onReset-template"?: (() => any) | undefined;
3599
+ "onFiles-selected"?: ((files: File[]) => any) | undefined;
3600
+ }>, "blur" | "focus" | "submit" | "disabled" | "maxLength" | "clear" | "autofocus" | "autoSize" | "allowSpeech" | "allowFiles" | "clearable" | "loading" | "modelValue" | "mode" | "submitType" | "placeholder" | "showWordLimit" | "suggestions" | "suggestionPopupWidth" | "theme" | "templateData" | "stopText" | "startSpeech" | "stopSpeech" | "activateTemplateFirstField"> & import('vue').ShallowUnwrapRef<{
3601
+ focus: () => void;
3602
+ blur: () => void;
3603
+ clear: () => void;
3604
+ submit: () => void;
3605
+ startSpeech: () => void;
3606
+ stopSpeech: () => void;
3607
+ activateTemplateFirstField: () => void;
3608
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
3609
+ $slots: {
3610
+ header?(_: {}): any;
3611
+ prefix?(_: {}): any;
3612
+ decorativeContent?(_: {}): any;
3613
+ actions?(_: {}): any;
3614
+ 'footer-left'?(_: {}): any;
3615
+ 'footer-right'?(_: {}): any;
3616
+ footer?(_: {}): any;
3617
+ };
3618
+ }) | undefined>;
3619
+ abortRequest: () => void;
3620
+ sendMessage: (content?: import('@opentiny/tiny-robot-kit').ChatMessage["content"], clearInput?: boolean) => Promise<void>;
3621
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
3622
+ $slots: Readonly<{
3623
+ welcome(): any;
3624
+ suggestions(): any;
3625
+ }> & {
3626
+ welcome(): any;
3627
+ suggestions(): any;
3628
+ };
3629
+ }) | null;
3630
+ }, HTMLDivElement>;
3631
+ export default _default;