@opentiny/tiny-robot 0.3.0-alpha.5 → 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,18 +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';
20
- import { MaybeElement } from '@vueuse/core';
21
+ import { InputMode as InputMode_2 } from './index.type';
21
22
  import { nextTick } from 'vue';
22
23
  import { OnCleanup } from '@vue/reactivity';
23
24
  import { Options } from 'markdown-it';
25
+ import { Props } from './components/SuggestionList.vue';
26
+ import { PropType } from 'vue';
24
27
  import { PublicProps } from 'vue';
25
28
  import { Ref } from 'vue';
29
+ import { RendererElement } from 'vue';
30
+ import { RendererNode } from 'vue';
26
31
  import { ShallowUnwrapRef } from 'vue';
27
32
  import { Slot } from 'vue';
33
+ import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
34
+ import { ThemeType as ThemeType_2 } from './index.type';
28
35
  import { TooltipContentProps } from './components/Tooltip.vue';
29
36
  import { TransitionProps } from 'vue';
30
37
  import { VNode } from 'vue';
@@ -47,10 +54,13 @@ declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {},
47
54
  "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
48
55
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
49
56
 
50
- declare const __VLS_component_3: DefineComponent<DropdownMenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
57
+ declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
58
+ "update:show": (value: boolean) => any;
59
+ } & {
51
60
  "item-click": (item: DropdownMenuItem) => any;
52
61
  "click-outside": (event: MouseEvent) => any;
53
- }, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{
62
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
63
+ "onUpdate:show"?: ((value: boolean) => any) | undefined;
54
64
  "onItem-click"?: ((item: DropdownMenuItem) => any) | undefined;
55
65
  "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
56
66
  }>, {
@@ -67,7 +77,6 @@ crossAxis?: number;
67
77
  } | undefined;
68
78
  readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
69
79
  readonly preventOverflow?: boolean | undefined;
70
- readonly renderAllTriggers?: boolean | undefined;
71
80
  readonly show?: boolean | undefined;
72
81
  readonly transitionProps?: TransitionProps | undefined;
73
82
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
@@ -77,8 +86,6 @@ $attrs: {
77
86
  };
78
87
  $refs: {
79
88
  [x: string]: unknown;
80
- } & {
81
- popperRef: HTMLDivElement;
82
89
  };
83
90
  $slots: Readonly<{
84
91
  [name: string]: Slot<any> | undefined;
@@ -96,14 +103,12 @@ crossAxis?: number;
96
103
  };
97
104
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
98
105
  preventOverflow?: boolean;
99
- renderAllTriggers?: boolean;
100
106
  show?: boolean;
101
107
  transitionProps?: TransitionProps;
102
108
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
103
109
  }> & Readonly<{}>, {
104
- triggerRef: ComputedRef<MaybeElement>;
105
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
106
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
110
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
111
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
107
112
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
108
113
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
109
114
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -136,23 +141,19 @@ crossAxis?: number;
136
141
  };
137
142
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
138
143
  preventOverflow?: boolean;
139
- renderAllTriggers?: boolean;
140
144
  show?: boolean;
141
145
  transitionProps?: TransitionProps;
142
146
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
143
- }> & Readonly<{}>, "placement" | "triggerRef" | "triggerRefs" | "popperRef"> & ShallowUnwrapRef< {
144
- triggerRef: ComputedRef<MaybeElement>;
145
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
146
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
147
+ }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
148
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
149
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
147
150
  }> & {} & ComponentCustomProperties & {} & {
148
151
  $slots: Readonly<{
149
152
  trigger?: () => VNode[];
150
153
  content?: () => VNode[];
151
- backdrop?: () => VNode[];
152
154
  }> & {
153
155
  trigger?: () => VNode[];
154
156
  content?: () => VNode[];
155
- backdrop?: () => VNode[];
156
157
  };
157
158
  }) | null;
158
159
  }, any>;
@@ -163,15 +164,556 @@ declare const __VLS_component_4: DefineComponent<PromptsProps, {}, {}, {}, {}, C
163
164
  "onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
164
165
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
165
166
 
166
- 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>;
167
709
 
168
- declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
710
+ declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_3, {
711
+ children: ComputedRef<(HTMLElement | SVGElement)[]>;
712
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
169
713
  "update:showAll": (value: boolean | undefined) => any;
170
714
  } & {
171
- "item-click": (item: SuggestionPillItem<Record<string, unknown>>) => any;
172
715
  "click-outside": (event: MouseEvent) => any;
173
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
174
- "onItem-click"?: ((item: SuggestionPillItem<Record<string, unknown>>) => any) | undefined;
716
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
175
717
  "onClick-outside"?: ((event: MouseEvent) => any) | undefined;
176
718
  "onUpdate:showAll"?: ((value: boolean | undefined) => any) | undefined;
177
719
  }>, {
@@ -180,10 +722,12 @@ overflowMode: "expand" | "scroll";
180
722
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
181
723
  containerWrapperRef: HTMLDivElement;
182
724
  containerRef: HTMLDivElement;
725
+ staticMaybeItemRefs: unknown[];
183
726
  floatingItemsRef: HTMLDivElement;
727
+ floatingMaybeItemRefs: unknown[];
184
728
  }, HTMLDivElement>;
185
729
 
186
- declare const __VLS_component_7: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
730
+ declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
187
731
  "update:selectedGroup": (value: string) => any;
188
732
  } & {
189
733
  close: () => any;
@@ -191,7 +735,7 @@ open: () => any;
191
735
  "item-click": (item: SuggestionItem<Record<string, unknown>>) => any;
192
736
  "click-outside": (event: MouseEvent) => any;
193
737
  "group-click": (group: SuggestionGroup<Record<string, unknown>>) => any;
194
- }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
738
+ }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
195
739
  onClose?: (() => any) | undefined;
196
740
  onOpen?: (() => any) | undefined;
197
741
  "onItem-click"?: ((item: SuggestionItem<Record<string, unknown>>) => any) | undefined;
@@ -215,7 +759,6 @@ crossAxis?: number;
215
759
  } | undefined;
216
760
  readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
217
761
  readonly preventOverflow?: boolean | undefined;
218
- readonly renderAllTriggers?: boolean | undefined;
219
762
  readonly show?: boolean | undefined;
220
763
  readonly transitionProps?: TransitionProps | undefined;
221
764
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
@@ -225,8 +768,6 @@ $attrs: {
225
768
  };
226
769
  $refs: {
227
770
  [x: string]: unknown;
228
- } & {
229
- popperRef: HTMLDivElement;
230
771
  };
231
772
  $slots: Readonly<{
232
773
  [name: string]: Slot<any> | undefined;
@@ -244,14 +785,12 @@ crossAxis?: number;
244
785
  };
245
786
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
246
787
  preventOverflow?: boolean;
247
- renderAllTriggers?: boolean;
248
788
  show?: boolean;
249
789
  transitionProps?: TransitionProps;
250
790
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
251
791
  }> & Readonly<{}>, {
252
- triggerRef: ComputedRef<MaybeElement>;
253
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
254
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
792
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
793
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
255
794
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
256
795
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
257
796
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -284,23 +823,19 @@ crossAxis?: number;
284
823
  };
285
824
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
286
825
  preventOverflow?: boolean;
287
- renderAllTriggers?: boolean;
288
826
  show?: boolean;
289
827
  transitionProps?: TransitionProps;
290
828
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
291
- }> & Readonly<{}>, "placement" | "triggerRef" | "triggerRefs" | "popperRef"> & ShallowUnwrapRef< {
292
- triggerRef: ComputedRef<MaybeElement>;
293
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
294
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
829
+ }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
830
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
831
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
295
832
  }> & {} & ComponentCustomProperties & {} & {
296
833
  $slots: Readonly<{
297
834
  trigger?: () => VNode[];
298
835
  content?: () => VNode[];
299
- backdrop?: () => VNode[];
300
836
  }> & {
301
837
  trigger?: () => VNode[];
302
838
  content?: () => VNode[];
303
- backdrop?: () => VNode[];
304
839
  };
305
840
  }) | null;
306
841
  listRef: HTMLUListElement;
@@ -324,13 +859,15 @@ show?: TooltipContentProps["show"];
324
859
  }>, {}, {}, {}, {}, {}> | null;
325
860
  }, any>;
326
861
 
327
- 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<{}>, {
328
863
  align: "left" | "center" | "right" | string;
329
864
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
330
865
 
331
- declare type __VLS_Props = SuggestionPillsProps;
866
+ declare type __VLS_Props = DropdownMenuProps;
332
867
 
333
- declare type __VLS_Props_2 = SuggestionPopoverProps;
868
+ declare type __VLS_Props_2 = SuggestionPillsProps;
869
+
870
+ declare type __VLS_Props_3 = SuggestionPopoverProps;
334
871
 
335
872
  declare type __VLS_PublicProps = {
336
873
  'show': ContainerProps['show'];
@@ -338,13 +875,17 @@ declare type __VLS_PublicProps = {
338
875
  };
339
876
 
340
877
  declare type __VLS_PublicProps_2 = {
341
- 'showAll'?: SuggestionPillsProps['showAll'];
878
+ 'show'?: boolean;
342
879
  } & __VLS_Props;
343
880
 
344
881
  declare type __VLS_PublicProps_3 = {
345
- 'selectedGroup'?: string;
882
+ 'showAll'?: SuggestionPillsProps['showAll'];
346
883
  } & __VLS_Props_2;
347
884
 
885
+ declare type __VLS_PublicProps_4 = {
886
+ 'selectedGroup'?: string;
887
+ } & __VLS_Props_3;
888
+
348
889
  declare function __VLS_template(): {
349
890
  attrs: Partial<{}>;
350
891
  slots: Readonly<BubbleSlots> & BubbleSlots;
@@ -376,7 +917,6 @@ declare function __VLS_template_3(): {
376
917
  } | undefined;
377
918
  readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
378
919
  readonly preventOverflow?: boolean | undefined;
379
- readonly renderAllTriggers?: boolean | undefined;
380
920
  readonly show?: boolean | undefined;
381
921
  readonly transitionProps?: TransitionProps | undefined;
382
922
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
@@ -386,8 +926,6 @@ declare function __VLS_template_3(): {
386
926
  };
387
927
  $refs: {
388
928
  [x: string]: unknown;
389
- } & {
390
- popperRef: HTMLDivElement;
391
929
  };
392
930
  $slots: Readonly<{
393
931
  [name: string]: Slot<any> | undefined;
@@ -405,14 +943,12 @@ declare function __VLS_template_3(): {
405
943
  };
406
944
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
407
945
  preventOverflow?: boolean;
408
- renderAllTriggers?: boolean;
409
946
  show?: boolean;
410
947
  transitionProps?: TransitionProps;
411
948
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
412
949
  }> & Readonly<{}>, {
413
- triggerRef: ComputedRef<MaybeElement>;
414
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
415
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
950
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
951
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
416
952
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
417
953
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
418
954
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -445,23 +981,19 @@ declare function __VLS_template_3(): {
445
981
  };
446
982
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
447
983
  preventOverflow?: boolean;
448
- renderAllTriggers?: boolean;
449
984
  show?: boolean;
450
985
  transitionProps?: TransitionProps;
451
986
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
452
- }> & Readonly<{}>, "placement" | "triggerRef" | "triggerRefs" | "popperRef"> & ShallowUnwrapRef< {
453
- triggerRef: ComputedRef<MaybeElement>;
454
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
455
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
987
+ }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
988
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
989
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
456
990
  }> & {} & ComponentCustomProperties & {} & {
457
991
  $slots: Readonly<{
458
992
  trigger?: () => VNode[];
459
993
  content?: () => VNode[];
460
- backdrop?: () => VNode[];
461
994
  }> & {
462
995
  trigger?: () => VNode[];
463
996
  content?: () => VNode[];
464
- backdrop?: () => VNode[];
465
997
  };
466
998
  }) | null;
467
999
  };
@@ -476,24 +1008,547 @@ declare function __VLS_template_4(): {
476
1008
  };
477
1009
 
478
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(): {
479
1532
  attrs: Partial<{}>;
480
1533
  slots: Readonly<SuggestionPillButtonSlots> & SuggestionPillButtonSlots;
481
1534
  refs: {};
482
1535
  rootEl: HTMLButtonElement;
483
1536
  };
484
1537
 
485
- declare function __VLS_template_6(): {
1538
+ declare function __VLS_template_7(): {
486
1539
  attrs: Partial<{}>;
487
1540
  slots: Readonly<SuggestionPillsSlots> & SuggestionPillsSlots;
488
1541
  refs: {
489
1542
  containerWrapperRef: HTMLDivElement;
490
1543
  containerRef: HTMLDivElement;
1544
+ staticMaybeItemRefs: unknown[];
491
1545
  floatingItemsRef: HTMLDivElement;
1546
+ floatingMaybeItemRefs: unknown[];
492
1547
  };
493
1548
  rootEl: HTMLDivElement;
494
1549
  };
495
1550
 
496
- declare function __VLS_template_7(): {
1551
+ declare function __VLS_template_8(): {
497
1552
  attrs: Partial<{}>;
498
1553
  slots: Readonly<SuggestionPopoverSlots> & SuggestionPopoverSlots;
499
1554
  refs: {
@@ -508,7 +1563,6 @@ declare function __VLS_template_7(): {
508
1563
  } | undefined;
509
1564
  readonly placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | undefined;
510
1565
  readonly preventOverflow?: boolean | undefined;
511
- readonly renderAllTriggers?: boolean | undefined;
512
1566
  readonly show?: boolean | undefined;
513
1567
  readonly transitionProps?: TransitionProps | undefined;
514
1568
  readonly triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>> | undefined;
@@ -518,8 +1572,6 @@ declare function __VLS_template_7(): {
518
1572
  };
519
1573
  $refs: {
520
1574
  [x: string]: unknown;
521
- } & {
522
- popperRef: HTMLDivElement;
523
1575
  };
524
1576
  $slots: Readonly<{
525
1577
  [name: string]: Slot<any> | undefined;
@@ -537,14 +1589,12 @@ declare function __VLS_template_7(): {
537
1589
  };
538
1590
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
539
1591
  preventOverflow?: boolean;
540
- renderAllTriggers?: boolean;
541
1592
  show?: boolean;
542
1593
  transitionProps?: TransitionProps;
543
1594
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
544
1595
  }> & Readonly<{}>, {
545
- triggerRef: ComputedRef<MaybeElement>;
546
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
547
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
1596
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1597
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
548
1598
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
549
1599
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
550
1600
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -577,23 +1627,19 @@ declare function __VLS_template_7(): {
577
1627
  };
578
1628
  placement?: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
579
1629
  preventOverflow?: boolean;
580
- renderAllTriggers?: boolean;
581
1630
  show?: boolean;
582
1631
  transitionProps?: TransitionProps;
583
1632
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
584
- }> & Readonly<{}>, "placement" | "triggerRef" | "triggerRefs" | "popperRef"> & ShallowUnwrapRef< {
585
- triggerRef: ComputedRef<MaybeElement>;
586
- triggerRefs: Ref<MaybeElement[], MaybeElement[]>;
587
- popperRef: Ref<HTMLDivElement | null, HTMLDivElement | null>;
1633
+ }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
1634
+ triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1635
+ popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
588
1636
  }> & {} & ComponentCustomProperties & {} & {
589
1637
  $slots: Readonly<{
590
1638
  trigger?: () => VNode[];
591
1639
  content?: () => VNode[];
592
- backdrop?: () => VNode[];
593
1640
  }> & {
594
1641
  trigger?: () => VNode[];
595
1642
  content?: () => VNode[];
596
- backdrop?: () => VNode[];
597
1643
  };
598
1644
  }) | null;
599
1645
  listRef: HTMLUListElement;
@@ -619,7 +1665,7 @@ declare function __VLS_template_7(): {
619
1665
  rootEl: any;
620
1666
  };
621
1667
 
622
- declare function __VLS_template_8(): {
1668
+ declare function __VLS_template_9(): {
623
1669
  attrs: Partial<{}>;
624
1670
  slots: Readonly<WelcomeSlots> & WelcomeSlots;
625
1671
  refs: {};
@@ -642,6 +1688,8 @@ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
642
1688
 
643
1689
  declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
644
1690
 
1691
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
1692
+
645
1693
  declare type __VLS_WithTemplateSlots<T, S> = T & {
646
1694
  new (): {
647
1695
  $slots: S;
@@ -690,6 +1738,12 @@ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
690
1738
  };
691
1739
  };
692
1740
 
1741
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
1742
+ new (): {
1743
+ $slots: S;
1744
+ };
1745
+ };
1746
+
693
1747
  export declare interface ActionButtonsProps {
694
1748
  loading?: boolean;
695
1749
  disabled?: boolean;
@@ -820,13 +1874,13 @@ declare const _default: {
820
1874
  };
821
1875
  export default _default;
822
1876
 
823
- declare const _default_10: typeof _default_23 & {
1877
+ declare const _default_10: typeof _default_24 & {
824
1878
  install: typeof install_8;
825
1879
  };
826
1880
  export { _default_10 as SuggestionPopover }
827
1881
  export { _default_10 as TrSuggestionPopover }
828
1882
 
829
- declare const _default_11: typeof _default_24 & {
1883
+ declare const _default_11: typeof _default_25 & {
830
1884
  install: typeof install_9;
831
1885
  };
832
1886
  export { _default_11 as TrWelcome }
@@ -879,6 +1933,8 @@ declare const _default_23: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, _
879
1933
 
880
1934
  declare const _default_24: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
881
1935
 
1936
+ declare const _default_25: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1937
+
882
1938
  declare const _default_3: typeof _default_15 & {
883
1939
  install: typeof install_2;
884
1940
  };
@@ -910,13 +1966,13 @@ declare const _default_7: typeof _default_18 & {
910
1966
  export { _default_7 as IconButton }
911
1967
  export { _default_7 as TrIconButton }
912
1968
 
913
- declare const _default_8: typeof default_2 & {
1969
+ declare const _default_8: typeof _default_21 & {
914
1970
  install: typeof install_6;
915
1971
  };
916
1972
  export { _default_8 as Sender }
917
1973
  export { _default_8 as TrSender }
918
1974
 
919
- declare const _default_9: typeof _default_22 & {
1975
+ declare const _default_9: typeof _default_23 & {
920
1976
  install: typeof install_7;
921
1977
  };
922
1978
  export { _default_9 as SuggestionPills }
@@ -955,7 +2011,8 @@ export declare interface DropdownMenuProps {
955
2011
  appendTo?: string | HTMLElement;
956
2012
  items: DropdownMenuItem[];
957
2013
  /**
958
- * 是否显示菜单,仅在 trigger 为 'manual' 时有效
2014
+ * trigger 为 'click' 或 'hover' 时,是一个双向绑定的 model(v-model:show),可在组件外部控制显示状态。
2015
+ * 否则当 trigger 为 'manual' 时,是一个单向绑定的 prop,组件内部无法修改 show 的值
959
2016
  */
960
2017
  show?: boolean;
961
2018
  /**
@@ -1235,14 +2292,7 @@ export declare interface SuggestionGroup<T = Record<string, unknown>> {
1235
2292
 
1236
2293
  export declare type SuggestionItem<T = Record<string, unknown>> = SuggestionBaseItem & T;
1237
2294
 
1238
- export declare type SuggestionPillAction = SuggestionPillPopoverAction | SuggestionPillMenuAction;
1239
-
1240
- export declare type SuggestionPillBaseItem<T> = {
1241
- id: string;
1242
- action?: SuggestionPillAction;
1243
- } & T;
1244
-
1245
- declare const SuggestionPillButton: typeof _default_21 & {
2295
+ declare const SuggestionPillButton: typeof _default_22 & {
1246
2296
  install: typeof installPillButton;
1247
2297
  };
1248
2298
  export { SuggestionPillButton }
@@ -1257,40 +2307,19 @@ export declare interface SuggestionPillButtonSlots {
1257
2307
  icon?: () => unknown;
1258
2308
  }
1259
2309
 
1260
- export declare type SuggestionPillItem<T = Record<string, unknown>> = SuggestionPillBaseItem<T> & ({
2310
+ export declare type SuggestionPillItem = {
1261
2311
  text: string;
1262
2312
  icon?: VNode | Component;
1263
2313
  } | {
1264
2314
  text?: string;
1265
2315
  icon: VNode | Component;
1266
- });
1267
-
1268
- export declare type SuggestionPillMenuAction = {
1269
- type: 'menu';
1270
- props: DropdownMenuProps & DropdownMenuEventProps;
1271
- /**
1272
- * @deprecated use onXXX in props instead
1273
- */
1274
- events?: DropdownMenuEvents;
1275
- };
1276
-
1277
- export declare type SuggestionPillPopoverAction = {
1278
- type: 'popover';
1279
- props: SuggestionPopoverProps & SuggestionPopoverEventProps;
1280
- slots?: Omit<SuggestionPopoverSlots, 'default'>;
1281
- /**
1282
- * @deprecated use onXXX in props instead
1283
- */
1284
- events?: SuggestionPopoverEvents;
1285
2316
  };
1286
2317
 
1287
2318
  export declare interface SuggestionPillsEmits {
1288
- (e: 'item-click', item: SuggestionPillItem): void;
1289
2319
  (e: 'click-outside', event: MouseEvent): void;
1290
2320
  }
1291
2321
 
1292
2322
  export declare interface SuggestionPillsProps {
1293
- items?: SuggestionPillItem[];
1294
2323
  /**
1295
2324
  * model:showAll
1296
2325
  */
@@ -1311,16 +2340,12 @@ export declare interface SuggestionPillsProps {
1311
2340
  overflowMode?: 'expand' | 'scroll';
1312
2341
  /**
1313
2342
  * 鼠标悬停时是否自动滚动到可见区域
1314
- * @default false
1315
2343
  */
1316
- autoScrollOnHover?: boolean;
2344
+ autoScrollOn?: 'mouseenter' | 'click';
1317
2345
  }
1318
2346
 
1319
- /**
1320
- * @deprecated
1321
- */
1322
2347
  export declare interface SuggestionPillsSlots {
1323
- default?: () => VNode | VNode[];
2348
+ default?: () => VNode[];
1324
2349
  }
1325
2350
 
1326
2351
  export declare interface SuggestionPopoverEmits {
@@ -1385,9 +2410,14 @@ export declare interface SuggestionPopoverProps<T = Record<string, unknown>> {
1385
2410
  }
1386
2411
 
1387
2412
  export declare interface SuggestionPopoverSlots {
1388
- default?: () => unknown;
1389
- loading?: () => unknown;
1390
- 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[];
1391
2421
  }
1392
2422
 
1393
2423
  export declare interface SuggestionTextPart {