@opentiny/tiny-robot 0.3.0-alpha.6 → 0.3.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AllowedComponentProps } from 'vue';
2
2
  import { App } from 'vue';
3
+ import { AutoSize as AutoSize_2 } from './index.type';
3
4
  import { BubblePalcement as BubblePalcement_2 } from './index.type';
4
5
  import { Component } from 'vue';
5
6
  import { ComponentCustomProperties } from 'vue';
@@ -13,17 +14,24 @@ import { ComputedRef } from 'vue';
13
14
  import { CreateComponentPublicInstanceWithMixins } from 'vue';
14
15
  import { CSSProperties } from 'vue';
15
16
  import { DebuggerEvent } from 'vue';
16
- import { default as default_2 } from './index.vue';
17
17
  import { DefineComponent } from 'vue';
18
+ import { ExtractPropTypes } from 'vue';
18
19
  import { GlobalComponents } from 'vue';
19
20
  import { GlobalDirectives } from 'vue';
21
+ import { InputMode as InputMode_2 } from './index.type';
20
22
  import { nextTick } from 'vue';
21
23
  import { OnCleanup } from '@vue/reactivity';
22
24
  import { Options } from 'markdown-it';
25
+ import { Props } from './components/SuggestionList.vue';
26
+ import { PropType } from 'vue';
23
27
  import { PublicProps } from 'vue';
24
28
  import { Ref } from 'vue';
29
+ import { RendererElement } from 'vue';
30
+ import { RendererNode } from 'vue';
25
31
  import { ShallowUnwrapRef } from 'vue';
26
32
  import { Slot } from 'vue';
33
+ import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
34
+ import { ThemeType as ThemeType_2 } from './index.type';
27
35
  import { TooltipContentProps } from './components/Tooltip.vue';
28
36
  import { TransitionProps } from 'vue';
29
37
  import { VNode } from 'vue';
@@ -156,9 +164,550 @@ declare const __VLS_component_4: DefineComponent<PromptsProps, {}, {}, {}, {}, C
156
164
  "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
157
165
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
158
166
 
159
- declare const __VLS_component_5: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
167
+ declare const __VLS_component_5: DefineComponent<SenderProps, {
168
+ focus: () => void;
169
+ blur: () => void;
170
+ clear: () => void;
171
+ submit: () => void;
172
+ startSpeech: () => void;
173
+ stopSpeech: () => void;
174
+ activateTemplateFirstField: () => void;
175
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
176
+ [x: string]: any;
177
+ } & {
178
+ [x: string]: any;
179
+ }, string, PublicProps, Readonly<SenderProps> & Readonly<{
180
+ [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
181
+ }>, {
182
+ loading: boolean;
183
+ mode: InputMode_2;
184
+ disabled: boolean;
185
+ modelValue: string;
186
+ autofocus: boolean;
187
+ clearable: boolean;
188
+ showWordLimit: boolean;
189
+ allowSpeech: boolean;
190
+ allowFiles: boolean;
191
+ submitType: SubmitTrigger_2;
192
+ stopText: string;
193
+ suggestions: string[];
194
+ autoSize: AutoSize_2;
195
+ maxLength: number;
196
+ placeholder: string;
197
+ suggestionPopupWidth: string | number;
198
+ theme: ThemeType_2;
199
+ templateData: UserItem[];
200
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
201
+ senderRef: HTMLDivElement;
202
+ inputWrapperRef: HTMLDivElement;
203
+ templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<{
204
+ modelValue?: UserItem[];
205
+ }> & Readonly<{
206
+ onSubmit?: (() => any) | undefined;
207
+ "onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
208
+ }>, {
209
+ clearHistory: () => void;
210
+ activateFirstField: () => void;
211
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
212
+ "update:modelValue": (value: UserItem[]) => any;
213
+ } & {
214
+ submit: () => any;
215
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
216
+ editorRef: HTMLDivElement;
217
+ }, HTMLDivElement, ComponentProvideOptions, {
218
+ P: {};
219
+ B: {};
220
+ D: {};
221
+ C: {};
222
+ M: {};
223
+ Defaults: {};
224
+ }, Readonly<{
225
+ modelValue?: UserItem[];
226
+ }> & Readonly<{
227
+ onSubmit?: (() => any) | undefined;
228
+ "onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
229
+ }>, {
230
+ clearHistory: () => void;
231
+ activateFirstField: () => void;
232
+ }, {}, {}, {}, {}> | null;
233
+ inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
234
+ _constants: {
235
+ type: ObjectConstructor;
236
+ default: () => {
237
+ INPUT_PC: string;
238
+ INPUTGROUP_PC: string;
239
+ INPUT_MOBILE: string;
240
+ INPUTGROUP_MOBILE: string;
241
+ Mode: string;
242
+ inputMode(mode: any): string;
243
+ inputGroupMode(mode: any): string;
244
+ VALIDATE_ICON: {
245
+ Validating: string;
246
+ Success: string;
247
+ Error: string;
248
+ };
249
+ COMPONENT_NAME: {
250
+ FormItem: string;
251
+ };
252
+ MASKSYMBOL: string;
253
+ TEXTAREA_HEIGHT_MOBILE: number;
254
+ };
255
+ };
256
+ name: StringConstructor;
257
+ size: StringConstructor;
258
+ form: StringConstructor;
259
+ label: StringConstructor;
260
+ height: NumberConstructor;
261
+ resize: StringConstructor;
262
+ tabindex: {
263
+ type: StringConstructor;
264
+ default: string;
265
+ };
266
+ disabled: BooleanConstructor;
267
+ readonly: BooleanConstructor;
268
+ hoverExpand: BooleanConstructor;
269
+ mask: BooleanConstructor;
270
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
271
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
272
+ modelValue: PropType<string | number | null>;
273
+ type: {
274
+ type: StringConstructor;
275
+ default: string;
276
+ };
277
+ memorySpace: {
278
+ type: NumberConstructor;
279
+ default: number;
280
+ };
281
+ vertical: {
282
+ type: BooleanConstructor;
283
+ default: boolean;
284
+ };
285
+ selectMenu: {
286
+ type: {
287
+ (arrayLength: number): {
288
+ id: string;
289
+ label: string;
290
+ }[];
291
+ (...items: {
292
+ id: string;
293
+ label: string;
294
+ }[]): {
295
+ id: string;
296
+ label: string;
297
+ }[];
298
+ new (arrayLength: number): {
299
+ id: string;
300
+ label: string;
301
+ }[];
302
+ new (...items: {
303
+ id: string;
304
+ label: string;
305
+ }[]): {
306
+ id: string;
307
+ label: string;
308
+ }[];
309
+ isArray(arg: any): arg is any[];
310
+ readonly prototype: any[];
311
+ from<T>(arrayLike: ArrayLike<T>): T[];
312
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
313
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
314
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
315
+ of<T_4>(...items: T_4[]): T_4[];
316
+ readonly [Symbol.species]: ArrayConstructor;
317
+ };
318
+ default: () => never[];
319
+ };
320
+ ellipsis: {
321
+ type: BooleanConstructor;
322
+ default: boolean;
323
+ };
324
+ contentStyle: {
325
+ type: ObjectConstructor;
326
+ default: () => {};
327
+ };
328
+ isSelect: {
329
+ type: BooleanConstructor;
330
+ default: boolean;
331
+ };
332
+ tips: StringConstructor;
333
+ counter: {
334
+ type: BooleanConstructor;
335
+ default: boolean;
336
+ };
337
+ autosize: {
338
+ type: (BooleanConstructor | ObjectConstructor)[];
339
+ default: boolean;
340
+ };
341
+ clearable: {
342
+ type: BooleanConstructor;
343
+ default: boolean;
344
+ };
345
+ autocomplete: {
346
+ type: StringConstructor;
347
+ default: string;
348
+ };
349
+ showPassword: {
350
+ type: BooleanConstructor;
351
+ default: boolean;
352
+ };
353
+ showWordLimit: {
354
+ type: BooleanConstructor;
355
+ default: boolean;
356
+ };
357
+ showTitle: {
358
+ type: BooleanConstructor;
359
+ default: boolean;
360
+ };
361
+ validateEvent: {
362
+ type: BooleanConstructor;
363
+ default: boolean;
364
+ };
365
+ popupMore: {
366
+ type: BooleanConstructor;
367
+ default: boolean;
368
+ };
369
+ textareaTitle: {
370
+ type: StringConstructor;
371
+ default: string;
372
+ };
373
+ displayOnly: {
374
+ type: BooleanConstructor;
375
+ default: boolean;
376
+ };
377
+ displayOnlyContent: {
378
+ type: StringConstructor;
379
+ default: string;
380
+ };
381
+ customClass: {
382
+ type: StringConstructor;
383
+ default: string;
384
+ };
385
+ frontClearIcon: {
386
+ type: BooleanConstructor;
387
+ default: boolean;
388
+ };
389
+ showEmptyValue: {
390
+ type: BooleanConstructor;
391
+ default: undefined;
392
+ };
393
+ textAlign: {
394
+ type: StringConstructor;
395
+ default: string;
396
+ };
397
+ width: {
398
+ type: PropType<string | number | null>;
399
+ };
400
+ showTooltip: {
401
+ type: BooleanConstructor;
402
+ default: boolean;
403
+ };
404
+ inputBoxType: {
405
+ type: StringConstructor;
406
+ default: string;
407
+ validator: (value: string) => boolean;
408
+ };
409
+ tiny_mode: StringConstructor;
410
+ tiny_mode_root: BooleanConstructor;
411
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
412
+ tiny_renderless: FunctionConstructor;
413
+ tiny_theme: StringConstructor;
414
+ tiny_mcp_config: ObjectConstructor;
415
+ tiny_chart_theme: ObjectConstructor;
416
+ }>>, () => VNode<RendererNode, RendererElement, {
417
+ [key: string]: any;
418
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
419
+ disabled: boolean;
420
+ type: string;
421
+ ellipsis: boolean;
422
+ mask: boolean;
423
+ vertical: boolean;
424
+ customClass: string;
425
+ tiny_mode_root: boolean;
426
+ _constants: Record<string, any>;
427
+ tabindex: string;
428
+ showTitle: boolean;
429
+ readonly: boolean;
430
+ hoverExpand: boolean;
431
+ memorySpace: number;
432
+ selectMenu: {
433
+ id: string;
434
+ label: string;
435
+ }[];
436
+ contentStyle: Record<string, any>;
437
+ isSelect: boolean;
438
+ counter: boolean;
439
+ autosize: boolean | Record<string, any>;
440
+ clearable: boolean;
441
+ autocomplete: string;
442
+ showPassword: boolean;
443
+ showWordLimit: boolean;
444
+ validateEvent: boolean;
445
+ popupMore: boolean;
446
+ textareaTitle: string;
447
+ displayOnly: boolean;
448
+ displayOnlyContent: string;
449
+ frontClearIcon: boolean;
450
+ showEmptyValue: boolean;
451
+ textAlign: string;
452
+ showTooltip: boolean;
453
+ inputBoxType: string;
454
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
455
+ P: {};
456
+ B: {};
457
+ D: {};
458
+ C: {};
459
+ M: {};
460
+ Defaults: {};
461
+ }, Readonly<ExtractPropTypes< {
462
+ _constants: {
463
+ type: ObjectConstructor;
464
+ default: () => {
465
+ INPUT_PC: string;
466
+ INPUTGROUP_PC: string;
467
+ INPUT_MOBILE: string;
468
+ INPUTGROUP_MOBILE: string;
469
+ Mode: string;
470
+ inputMode(mode: any): string;
471
+ inputGroupMode(mode: any): string;
472
+ VALIDATE_ICON: {
473
+ Validating: string;
474
+ Success: string;
475
+ Error: string;
476
+ };
477
+ COMPONENT_NAME: {
478
+ FormItem: string;
479
+ };
480
+ MASKSYMBOL: string;
481
+ TEXTAREA_HEIGHT_MOBILE: number;
482
+ };
483
+ };
484
+ name: StringConstructor;
485
+ size: StringConstructor;
486
+ form: StringConstructor;
487
+ label: StringConstructor;
488
+ height: NumberConstructor;
489
+ resize: StringConstructor;
490
+ tabindex: {
491
+ type: StringConstructor;
492
+ default: string;
493
+ };
494
+ disabled: BooleanConstructor;
495
+ readonly: BooleanConstructor;
496
+ hoverExpand: BooleanConstructor;
497
+ mask: BooleanConstructor;
498
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
499
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
500
+ modelValue: PropType<string | number | null>;
501
+ type: {
502
+ type: StringConstructor;
503
+ default: string;
504
+ };
505
+ memorySpace: {
506
+ type: NumberConstructor;
507
+ default: number;
508
+ };
509
+ vertical: {
510
+ type: BooleanConstructor;
511
+ default: boolean;
512
+ };
513
+ selectMenu: {
514
+ type: {
515
+ (arrayLength: number): {
516
+ id: string;
517
+ label: string;
518
+ }[];
519
+ (...items: {
520
+ id: string;
521
+ label: string;
522
+ }[]): {
523
+ id: string;
524
+ label: string;
525
+ }[];
526
+ new (arrayLength: number): {
527
+ id: string;
528
+ label: string;
529
+ }[];
530
+ new (...items: {
531
+ id: string;
532
+ label: string;
533
+ }[]): {
534
+ id: string;
535
+ label: string;
536
+ }[];
537
+ isArray(arg: any): arg is any[];
538
+ readonly prototype: any[];
539
+ from<T>(arrayLike: ArrayLike<T>): T[];
540
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
541
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
542
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
543
+ of<T_4>(...items: T_4[]): T_4[];
544
+ readonly [Symbol.species]: ArrayConstructor;
545
+ };
546
+ default: () => never[];
547
+ };
548
+ ellipsis: {
549
+ type: BooleanConstructor;
550
+ default: boolean;
551
+ };
552
+ contentStyle: {
553
+ type: ObjectConstructor;
554
+ default: () => {};
555
+ };
556
+ isSelect: {
557
+ type: BooleanConstructor;
558
+ default: boolean;
559
+ };
560
+ tips: StringConstructor;
561
+ counter: {
562
+ type: BooleanConstructor;
563
+ default: boolean;
564
+ };
565
+ autosize: {
566
+ type: (BooleanConstructor | ObjectConstructor)[];
567
+ default: boolean;
568
+ };
569
+ clearable: {
570
+ type: BooleanConstructor;
571
+ default: boolean;
572
+ };
573
+ autocomplete: {
574
+ type: StringConstructor;
575
+ default: string;
576
+ };
577
+ showPassword: {
578
+ type: BooleanConstructor;
579
+ default: boolean;
580
+ };
581
+ showWordLimit: {
582
+ type: BooleanConstructor;
583
+ default: boolean;
584
+ };
585
+ showTitle: {
586
+ type: BooleanConstructor;
587
+ default: boolean;
588
+ };
589
+ validateEvent: {
590
+ type: BooleanConstructor;
591
+ default: boolean;
592
+ };
593
+ popupMore: {
594
+ type: BooleanConstructor;
595
+ default: boolean;
596
+ };
597
+ textareaTitle: {
598
+ type: StringConstructor;
599
+ default: string;
600
+ };
601
+ displayOnly: {
602
+ type: BooleanConstructor;
603
+ default: boolean;
604
+ };
605
+ displayOnlyContent: {
606
+ type: StringConstructor;
607
+ default: string;
608
+ };
609
+ customClass: {
610
+ type: StringConstructor;
611
+ default: string;
612
+ };
613
+ frontClearIcon: {
614
+ type: BooleanConstructor;
615
+ default: boolean;
616
+ };
617
+ showEmptyValue: {
618
+ type: BooleanConstructor;
619
+ default: undefined;
620
+ };
621
+ textAlign: {
622
+ type: StringConstructor;
623
+ default: string;
624
+ };
625
+ width: {
626
+ type: PropType<string | number | null>;
627
+ };
628
+ showTooltip: {
629
+ type: BooleanConstructor;
630
+ default: boolean;
631
+ };
632
+ inputBoxType: {
633
+ type: StringConstructor;
634
+ default: string;
635
+ validator: (value: string) => boolean;
636
+ };
637
+ tiny_mode: StringConstructor;
638
+ tiny_mode_root: BooleanConstructor;
639
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
640
+ tiny_renderless: FunctionConstructor;
641
+ tiny_theme: StringConstructor;
642
+ tiny_mcp_config: ObjectConstructor;
643
+ tiny_chart_theme: ObjectConstructor;
644
+ }>>, () => VNode<RendererNode, RendererElement, {
645
+ [key: string]: any;
646
+ }>, {}, {}, {}, {
647
+ disabled: boolean;
648
+ type: string;
649
+ ellipsis: boolean;
650
+ mask: boolean;
651
+ vertical: boolean;
652
+ customClass: string;
653
+ tiny_mode_root: boolean;
654
+ _constants: Record<string, any>;
655
+ tabindex: string;
656
+ showTitle: boolean;
657
+ readonly: boolean;
658
+ hoverExpand: boolean;
659
+ memorySpace: number;
660
+ selectMenu: {
661
+ id: string;
662
+ label: string;
663
+ }[];
664
+ contentStyle: Record<string, any>;
665
+ isSelect: boolean;
666
+ counter: boolean;
667
+ autosize: boolean | Record<string, any>;
668
+ clearable: boolean;
669
+ autocomplete: string;
670
+ showPassword: boolean;
671
+ showWordLimit: boolean;
672
+ validateEvent: boolean;
673
+ popupMore: boolean;
674
+ textareaTitle: string;
675
+ displayOnly: boolean;
676
+ displayOnlyContent: string;
677
+ frontClearIcon: boolean;
678
+ showEmptyValue: boolean;
679
+ textAlign: string;
680
+ showTooltip: boolean;
681
+ inputBoxType: string;
682
+ }> | null;
683
+ buttonsContainerRef: HTMLDivElement;
684
+ suggestionsListRef: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{
685
+ onSelect?: ((item: string) => any) | undefined;
686
+ "onItem-hover"?: ((index: number) => any) | undefined;
687
+ "onItem-leave"?: (() => any) | undefined;
688
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
689
+ select: (item: string) => any;
690
+ "item-hover": (index: number) => any;
691
+ "item-leave": () => any;
692
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
693
+ suggestionsListRef: HTMLDivElement;
694
+ }, any, ComponentProvideOptions, {
695
+ P: {};
696
+ B: {};
697
+ D: {};
698
+ C: {};
699
+ M: {};
700
+ Defaults: {};
701
+ }, Readonly<Props> & Readonly<{
702
+ onSelect?: ((item: string) => any) | undefined;
703
+ "onItem-hover"?: ((index: number) => any) | undefined;
704
+ "onItem-leave"?: (() => any) | undefined;
705
+ }>, {}, {}, {}, {}, {}> | null;
706
+ }, HTMLDivElement>;
707
+
708
+ declare const __VLS_component_6: DefineComponent<SuggestionPillButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SuggestionPillButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
160
709
 
161
- declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_3, {
710
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_3, {
162
711
  children: ComputedRef<(HTMLElement | SVGElement)[]>;
163
712
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
164
713
  "update:showAll": (value: boolean | undefined) => any;
@@ -178,7 +727,7 @@ floatingItemsRef: HTMLDivElement;
178
727
  floatingMaybeItemRefs: unknown[];
179
728
  }, HTMLDivElement>;
180
729
 
181
- declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
730
+ declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
182
731
  "update:selectedGroup": (value: string) => any;
183
732
  } & {
184
733
  close: () => any;
@@ -310,7 +859,7 @@ show?: TooltipContentProps["show"];
310
859
  }>, {}, {}, {}, {}, {}> | null;
311
860
  }, any>;
312
861
 
313
- declare const __VLS_component_8: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
862
+ declare const __VLS_component_9: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
314
863
  align: "left" | "center" | "right" | string;
315
864
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
316
865
 
@@ -459,13 +1008,534 @@ declare function __VLS_template_4(): {
459
1008
  };
460
1009
 
461
1010
  declare function __VLS_template_5(): {
1011
+ attrs: Partial<{}>;
1012
+ slots: {
1013
+ header?(_: {}): any;
1014
+ prefix?(_: {}): any;
1015
+ decorativeContent?(_: {}): any;
1016
+ actions?(_: {}): any;
1017
+ 'footer-left'?(_: {}): any;
1018
+ 'footer-right'?(_: {}): any;
1019
+ footer?(_: {}): any;
1020
+ };
1021
+ refs: {
1022
+ senderRef: HTMLDivElement;
1023
+ inputWrapperRef: HTMLDivElement;
1024
+ templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<{
1025
+ modelValue?: UserItem[];
1026
+ }> & Readonly<{
1027
+ onSubmit?: (() => any) | undefined;
1028
+ "onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
1029
+ }>, {
1030
+ clearHistory: () => void;
1031
+ activateFirstField: () => void;
1032
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1033
+ "update:modelValue": (value: UserItem[]) => any;
1034
+ } & {
1035
+ submit: () => any;
1036
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
1037
+ editorRef: HTMLDivElement;
1038
+ }, HTMLDivElement, ComponentProvideOptions, {
1039
+ P: {};
1040
+ B: {};
1041
+ D: {};
1042
+ C: {};
1043
+ M: {};
1044
+ Defaults: {};
1045
+ }, Readonly<{
1046
+ modelValue?: UserItem[];
1047
+ }> & Readonly<{
1048
+ onSubmit?: (() => any) | undefined;
1049
+ "onUpdate:modelValue"?: ((value: UserItem[]) => any) | undefined;
1050
+ }>, {
1051
+ clearHistory: () => void;
1052
+ activateFirstField: () => void;
1053
+ }, {}, {}, {}, {}> | null;
1054
+ inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
1055
+ _constants: {
1056
+ type: ObjectConstructor;
1057
+ default: () => {
1058
+ INPUT_PC: string;
1059
+ INPUTGROUP_PC: string;
1060
+ INPUT_MOBILE: string;
1061
+ INPUTGROUP_MOBILE: string;
1062
+ Mode: string;
1063
+ inputMode(mode: any): string;
1064
+ inputGroupMode(mode: any): string;
1065
+ VALIDATE_ICON: {
1066
+ Validating: string;
1067
+ Success: string;
1068
+ Error: string;
1069
+ };
1070
+ COMPONENT_NAME: {
1071
+ FormItem: string;
1072
+ };
1073
+ MASKSYMBOL: string;
1074
+ TEXTAREA_HEIGHT_MOBILE: number;
1075
+ };
1076
+ };
1077
+ name: StringConstructor;
1078
+ size: StringConstructor;
1079
+ form: StringConstructor;
1080
+ label: StringConstructor;
1081
+ height: NumberConstructor;
1082
+ resize: StringConstructor;
1083
+ tabindex: {
1084
+ type: StringConstructor;
1085
+ default: string;
1086
+ };
1087
+ disabled: BooleanConstructor;
1088
+ readonly: BooleanConstructor;
1089
+ hoverExpand: BooleanConstructor;
1090
+ mask: BooleanConstructor;
1091
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
1092
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
1093
+ modelValue: PropType<string | number | null>;
1094
+ type: {
1095
+ type: StringConstructor;
1096
+ default: string;
1097
+ };
1098
+ memorySpace: {
1099
+ type: NumberConstructor;
1100
+ default: number;
1101
+ };
1102
+ vertical: {
1103
+ type: BooleanConstructor;
1104
+ default: boolean;
1105
+ };
1106
+ selectMenu: {
1107
+ type: {
1108
+ (arrayLength: number): {
1109
+ id: string;
1110
+ label: string;
1111
+ }[];
1112
+ (...items: {
1113
+ id: string;
1114
+ label: string;
1115
+ }[]): {
1116
+ id: string;
1117
+ label: string;
1118
+ }[];
1119
+ new (arrayLength: number): {
1120
+ id: string;
1121
+ label: string;
1122
+ }[];
1123
+ new (...items: {
1124
+ id: string;
1125
+ label: string;
1126
+ }[]): {
1127
+ id: string;
1128
+ label: string;
1129
+ }[];
1130
+ isArray(arg: any): arg is any[];
1131
+ readonly prototype: any[];
1132
+ from<T>(arrayLike: ArrayLike<T>): T[];
1133
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
1134
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
1135
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
1136
+ of<T_4>(...items: T_4[]): T_4[];
1137
+ readonly [Symbol.species]: ArrayConstructor;
1138
+ };
1139
+ default: () => never[];
1140
+ };
1141
+ ellipsis: {
1142
+ type: BooleanConstructor;
1143
+ default: boolean;
1144
+ };
1145
+ contentStyle: {
1146
+ type: ObjectConstructor;
1147
+ default: () => {};
1148
+ };
1149
+ isSelect: {
1150
+ type: BooleanConstructor;
1151
+ default: boolean;
1152
+ };
1153
+ tips: StringConstructor;
1154
+ counter: {
1155
+ type: BooleanConstructor;
1156
+ default: boolean;
1157
+ };
1158
+ autosize: {
1159
+ type: (BooleanConstructor | ObjectConstructor)[];
1160
+ default: boolean;
1161
+ };
1162
+ clearable: {
1163
+ type: BooleanConstructor;
1164
+ default: boolean;
1165
+ };
1166
+ autocomplete: {
1167
+ type: StringConstructor;
1168
+ default: string;
1169
+ };
1170
+ showPassword: {
1171
+ type: BooleanConstructor;
1172
+ default: boolean;
1173
+ };
1174
+ showWordLimit: {
1175
+ type: BooleanConstructor;
1176
+ default: boolean;
1177
+ };
1178
+ showTitle: {
1179
+ type: BooleanConstructor;
1180
+ default: boolean;
1181
+ };
1182
+ validateEvent: {
1183
+ type: BooleanConstructor;
1184
+ default: boolean;
1185
+ };
1186
+ popupMore: {
1187
+ type: BooleanConstructor;
1188
+ default: boolean;
1189
+ };
1190
+ textareaTitle: {
1191
+ type: StringConstructor;
1192
+ default: string;
1193
+ };
1194
+ displayOnly: {
1195
+ type: BooleanConstructor;
1196
+ default: boolean;
1197
+ };
1198
+ displayOnlyContent: {
1199
+ type: StringConstructor;
1200
+ default: string;
1201
+ };
1202
+ customClass: {
1203
+ type: StringConstructor;
1204
+ default: string;
1205
+ };
1206
+ frontClearIcon: {
1207
+ type: BooleanConstructor;
1208
+ default: boolean;
1209
+ };
1210
+ showEmptyValue: {
1211
+ type: BooleanConstructor;
1212
+ default: undefined;
1213
+ };
1214
+ textAlign: {
1215
+ type: StringConstructor;
1216
+ default: string;
1217
+ };
1218
+ width: {
1219
+ type: PropType<string | number | null>;
1220
+ };
1221
+ showTooltip: {
1222
+ type: BooleanConstructor;
1223
+ default: boolean;
1224
+ };
1225
+ inputBoxType: {
1226
+ type: StringConstructor;
1227
+ default: string;
1228
+ validator: (value: string) => boolean;
1229
+ };
1230
+ tiny_mode: StringConstructor;
1231
+ tiny_mode_root: BooleanConstructor;
1232
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1233
+ tiny_renderless: FunctionConstructor;
1234
+ tiny_theme: StringConstructor;
1235
+ tiny_mcp_config: ObjectConstructor;
1236
+ tiny_chart_theme: ObjectConstructor;
1237
+ }>>, () => VNode<RendererNode, RendererElement, {
1238
+ [key: string]: any;
1239
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
1240
+ disabled: boolean;
1241
+ type: string;
1242
+ ellipsis: boolean;
1243
+ mask: boolean;
1244
+ vertical: boolean;
1245
+ customClass: string;
1246
+ tiny_mode_root: boolean;
1247
+ _constants: Record<string, any>;
1248
+ tabindex: string;
1249
+ showTitle: boolean;
1250
+ readonly: boolean;
1251
+ hoverExpand: boolean;
1252
+ memorySpace: number;
1253
+ selectMenu: {
1254
+ id: string;
1255
+ label: string;
1256
+ }[];
1257
+ contentStyle: Record<string, any>;
1258
+ isSelect: boolean;
1259
+ counter: boolean;
1260
+ autosize: boolean | Record<string, any>;
1261
+ clearable: boolean;
1262
+ autocomplete: string;
1263
+ showPassword: boolean;
1264
+ showWordLimit: boolean;
1265
+ validateEvent: boolean;
1266
+ popupMore: boolean;
1267
+ textareaTitle: string;
1268
+ displayOnly: boolean;
1269
+ displayOnlyContent: string;
1270
+ frontClearIcon: boolean;
1271
+ showEmptyValue: boolean;
1272
+ textAlign: string;
1273
+ showTooltip: boolean;
1274
+ inputBoxType: string;
1275
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1276
+ P: {};
1277
+ B: {};
1278
+ D: {};
1279
+ C: {};
1280
+ M: {};
1281
+ Defaults: {};
1282
+ }, Readonly<ExtractPropTypes< {
1283
+ _constants: {
1284
+ type: ObjectConstructor;
1285
+ default: () => {
1286
+ INPUT_PC: string;
1287
+ INPUTGROUP_PC: string;
1288
+ INPUT_MOBILE: string;
1289
+ INPUTGROUP_MOBILE: string;
1290
+ Mode: string;
1291
+ inputMode(mode: any): string;
1292
+ inputGroupMode(mode: any): string;
1293
+ VALIDATE_ICON: {
1294
+ Validating: string;
1295
+ Success: string;
1296
+ Error: string;
1297
+ };
1298
+ COMPONENT_NAME: {
1299
+ FormItem: string;
1300
+ };
1301
+ MASKSYMBOL: string;
1302
+ TEXTAREA_HEIGHT_MOBILE: number;
1303
+ };
1304
+ };
1305
+ name: StringConstructor;
1306
+ size: StringConstructor;
1307
+ form: StringConstructor;
1308
+ label: StringConstructor;
1309
+ height: NumberConstructor;
1310
+ resize: StringConstructor;
1311
+ tabindex: {
1312
+ type: StringConstructor;
1313
+ default: string;
1314
+ };
1315
+ disabled: BooleanConstructor;
1316
+ readonly: BooleanConstructor;
1317
+ hoverExpand: BooleanConstructor;
1318
+ mask: BooleanConstructor;
1319
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
1320
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
1321
+ modelValue: PropType<string | number | null>;
1322
+ type: {
1323
+ type: StringConstructor;
1324
+ default: string;
1325
+ };
1326
+ memorySpace: {
1327
+ type: NumberConstructor;
1328
+ default: number;
1329
+ };
1330
+ vertical: {
1331
+ type: BooleanConstructor;
1332
+ default: boolean;
1333
+ };
1334
+ selectMenu: {
1335
+ type: {
1336
+ (arrayLength: number): {
1337
+ id: string;
1338
+ label: string;
1339
+ }[];
1340
+ (...items: {
1341
+ id: string;
1342
+ label: string;
1343
+ }[]): {
1344
+ id: string;
1345
+ label: string;
1346
+ }[];
1347
+ new (arrayLength: number): {
1348
+ id: string;
1349
+ label: string;
1350
+ }[];
1351
+ new (...items: {
1352
+ id: string;
1353
+ label: string;
1354
+ }[]): {
1355
+ id: string;
1356
+ label: string;
1357
+ }[];
1358
+ isArray(arg: any): arg is any[];
1359
+ readonly prototype: any[];
1360
+ from<T>(arrayLike: ArrayLike<T>): T[];
1361
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
1362
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
1363
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
1364
+ of<T_4>(...items: T_4[]): T_4[];
1365
+ readonly [Symbol.species]: ArrayConstructor;
1366
+ };
1367
+ default: () => never[];
1368
+ };
1369
+ ellipsis: {
1370
+ type: BooleanConstructor;
1371
+ default: boolean;
1372
+ };
1373
+ contentStyle: {
1374
+ type: ObjectConstructor;
1375
+ default: () => {};
1376
+ };
1377
+ isSelect: {
1378
+ type: BooleanConstructor;
1379
+ default: boolean;
1380
+ };
1381
+ tips: StringConstructor;
1382
+ counter: {
1383
+ type: BooleanConstructor;
1384
+ default: boolean;
1385
+ };
1386
+ autosize: {
1387
+ type: (BooleanConstructor | ObjectConstructor)[];
1388
+ default: boolean;
1389
+ };
1390
+ clearable: {
1391
+ type: BooleanConstructor;
1392
+ default: boolean;
1393
+ };
1394
+ autocomplete: {
1395
+ type: StringConstructor;
1396
+ default: string;
1397
+ };
1398
+ showPassword: {
1399
+ type: BooleanConstructor;
1400
+ default: boolean;
1401
+ };
1402
+ showWordLimit: {
1403
+ type: BooleanConstructor;
1404
+ default: boolean;
1405
+ };
1406
+ showTitle: {
1407
+ type: BooleanConstructor;
1408
+ default: boolean;
1409
+ };
1410
+ validateEvent: {
1411
+ type: BooleanConstructor;
1412
+ default: boolean;
1413
+ };
1414
+ popupMore: {
1415
+ type: BooleanConstructor;
1416
+ default: boolean;
1417
+ };
1418
+ textareaTitle: {
1419
+ type: StringConstructor;
1420
+ default: string;
1421
+ };
1422
+ displayOnly: {
1423
+ type: BooleanConstructor;
1424
+ default: boolean;
1425
+ };
1426
+ displayOnlyContent: {
1427
+ type: StringConstructor;
1428
+ default: string;
1429
+ };
1430
+ customClass: {
1431
+ type: StringConstructor;
1432
+ default: string;
1433
+ };
1434
+ frontClearIcon: {
1435
+ type: BooleanConstructor;
1436
+ default: boolean;
1437
+ };
1438
+ showEmptyValue: {
1439
+ type: BooleanConstructor;
1440
+ default: undefined;
1441
+ };
1442
+ textAlign: {
1443
+ type: StringConstructor;
1444
+ default: string;
1445
+ };
1446
+ width: {
1447
+ type: PropType<string | number | null>;
1448
+ };
1449
+ showTooltip: {
1450
+ type: BooleanConstructor;
1451
+ default: boolean;
1452
+ };
1453
+ inputBoxType: {
1454
+ type: StringConstructor;
1455
+ default: string;
1456
+ validator: (value: string) => boolean;
1457
+ };
1458
+ tiny_mode: StringConstructor;
1459
+ tiny_mode_root: BooleanConstructor;
1460
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
1461
+ tiny_renderless: FunctionConstructor;
1462
+ tiny_theme: StringConstructor;
1463
+ tiny_mcp_config: ObjectConstructor;
1464
+ tiny_chart_theme: ObjectConstructor;
1465
+ }>>, () => VNode<RendererNode, RendererElement, {
1466
+ [key: string]: any;
1467
+ }>, {}, {}, {}, {
1468
+ disabled: boolean;
1469
+ type: string;
1470
+ ellipsis: boolean;
1471
+ mask: boolean;
1472
+ vertical: boolean;
1473
+ customClass: string;
1474
+ tiny_mode_root: boolean;
1475
+ _constants: Record<string, any>;
1476
+ tabindex: string;
1477
+ showTitle: boolean;
1478
+ readonly: boolean;
1479
+ hoverExpand: boolean;
1480
+ memorySpace: number;
1481
+ selectMenu: {
1482
+ id: string;
1483
+ label: string;
1484
+ }[];
1485
+ contentStyle: Record<string, any>;
1486
+ isSelect: boolean;
1487
+ counter: boolean;
1488
+ autosize: boolean | Record<string, any>;
1489
+ clearable: boolean;
1490
+ autocomplete: string;
1491
+ showPassword: boolean;
1492
+ showWordLimit: boolean;
1493
+ validateEvent: boolean;
1494
+ popupMore: boolean;
1495
+ textareaTitle: string;
1496
+ displayOnly: boolean;
1497
+ displayOnlyContent: string;
1498
+ frontClearIcon: boolean;
1499
+ showEmptyValue: boolean;
1500
+ textAlign: string;
1501
+ showTooltip: boolean;
1502
+ inputBoxType: string;
1503
+ }> | null;
1504
+ buttonsContainerRef: HTMLDivElement;
1505
+ suggestionsListRef: CreateComponentPublicInstanceWithMixins<Readonly<Props> & Readonly<{
1506
+ onSelect?: ((item: string) => any) | undefined;
1507
+ "onItem-hover"?: ((index: number) => any) | undefined;
1508
+ "onItem-leave"?: (() => any) | undefined;
1509
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1510
+ select: (item: string) => any;
1511
+ "item-hover": (index: number) => any;
1512
+ "item-leave": () => any;
1513
+ }, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
1514
+ suggestionsListRef: HTMLDivElement;
1515
+ }, any, ComponentProvideOptions, {
1516
+ P: {};
1517
+ B: {};
1518
+ D: {};
1519
+ C: {};
1520
+ M: {};
1521
+ Defaults: {};
1522
+ }, Readonly<Props> & Readonly<{
1523
+ onSelect?: ((item: string) => any) | undefined;
1524
+ "onItem-hover"?: ((index: number) => any) | undefined;
1525
+ "onItem-leave"?: (() => any) | undefined;
1526
+ }>, {}, {}, {}, {}, {}> | null;
1527
+ };
1528
+ rootEl: HTMLDivElement;
1529
+ };
1530
+
1531
+ declare function __VLS_template_6(): {
462
1532
  attrs: Partial<{}>;
463
1533
  slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
464
1534
  refs: {};
465
1535
  rootEl: HTMLButtonElement;
466
1536
  };
467
1537
 
468
- declare function __VLS_template_6(): {
1538
+ declare function __VLS_template_7(): {
469
1539
  attrs: Partial<{}>;
470
1540
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
471
1541
  refs: {
@@ -478,7 +1548,7 @@ declare function __VLS_template_6(): {
478
1548
  rootEl: HTMLDivElement;
479
1549
  };
480
1550
 
481
- declare function __VLS_template_7(): {
1551
+ declare function __VLS_template_8(): {
482
1552
  attrs: Partial<{}>;
483
1553
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
484
1554
  refs: {
@@ -595,7 +1665,7 @@ declare function __VLS_template_7(): {
595
1665
  rootEl: any;
596
1666
  };
597
1667
 
598
- declare function __VLS_template_8(): {
1668
+ declare function __VLS_template_9(): {
599
1669
  attrs: Partial<{}>;
600
1670
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
601
1671
  refs: {};
@@ -618,6 +1688,8 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
618
1688
 
619
1689
  declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
620
1690
 
1691
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
1692
+
621
1693
  declare type __VLS_WithTemplateSlots<T, S> = T & {
622
1694
  new (): {
623
1695
  $slots: S;
@@ -666,6 +1738,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
666
1738
  };
667
1739
  };
668
1740
 
1741
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
1742
+ new (): {
1743
+ $slots: S;
1744
+ };
1745
+ };
1746
+
669
1747
  export declare interface ActionButtonsProps {
670
1748
  loading?: boolean;
671
1749
  disabled?: boolean;
@@ -796,13 +1874,13 @@ declare const _default: {
796
1874
  };
797
1875
  export default _default;
798
1876
 
799
- declare const _default_10: typeof _default_23 & {
1877
+ declare const _default_10: typeof _default_24 & {
800
1878
  install: typeof install_8;
801
1879
  };
802
1880
  export { _default_10 as SuggestionPopover }
803
1881
  export { _default_10 as TrSuggestionPopover }
804
1882
 
805
- declare const _default_11: typeof _default_24 & {
1883
+ declare const _default_11: typeof _default_25 & {
806
1884
  install: typeof install_9;
807
1885
  };
808
1886
  export { _default_11 as TrWelcome }
@@ -855,6 +1933,8 @@ declare const _default_23: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, _
855
1933
 
856
1934
  declare const _default_24: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
857
1935
 
1936
+ declare const _default_25: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1937
+
858
1938
  declare const _default_3: typeof _default_15 & {
859
1939
  install: typeof install_2;
860
1940
  };
@@ -886,13 +1966,13 @@ declare const _default_7: typeof _default_18 & {
886
1966
  export { _default_7 as IconButton }
887
1967
  export { _default_7 as TrIconButton }
888
1968
 
889
- declare const _default_8: typeof default_2 & {
1969
+ declare const _default_8: typeof _default_21 & {
890
1970
  install: typeof install_6;
891
1971
  };
892
1972
  export { _default_8 as Sender }
893
1973
  export { _default_8 as TrSender }
894
1974
 
895
- declare const _default_9: typeof _default_22 & {
1975
+ declare const _default_9: typeof _default_23 & {
896
1976
  install: typeof install_7;
897
1977
  };
898
1978
  export { _default_9 as SuggestionPills }
@@ -1212,7 +2292,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
1212
2292
 
1213
2293
  export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
1214
2294
 
1215
- declare const SuggestionPillButton: typeof _default_21 & {
2295
+ declare const SuggestionPillButton: typeof _default_22 & {
1216
2296
  install: typeof installPillButton;
1217
2297
  };
1218
2298
  export { SuggestionPillButton }
@@ -1330,9 +2410,14 @@ export declare interface SuggestionPopoverProps<T = Record<string, unknown>> {
1330
2410
  }
1331
2411
 
1332
2412
  export declare interface SuggestionPopoverSlots {
1333
- default?: () => unknown;
1334
- loading?: () => unknown;
1335
- empty?: () => unknown;
2413
+ trigger?: () => VNode | VNode[];
2414
+ item?: ({ item }: {
2415
+ item: SuggestionItem;
2416
+ }) => VNode | VNode[];
2417
+ loading?: () => VNode | VNode[];
2418
+ empty?: () => VNode | VNode[];
2419
+ header?: () => VNode | VNode[];
2420
+ body?: () => VNode | VNode[];
1336
2421
  }
1337
2422
 
1338
2423
  export declare interface SuggestionTextPart {