@aitronos/freddy-plugins 0.4.52 → 0.4.55
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/CHANGELOG.md +28 -0
- package/dist/freddy-plugins.css +1 -1
- package/dist/icons-BGgr1l_8.cjs +2 -0
- package/dist/icons-BGgr1l_8.cjs.map +1 -0
- package/dist/{icons-BeZGWK3s.js → icons-ChDgG5_V.js} +1729 -2297
- package/dist/icons-ChDgG5_V.js.map +1 -0
- package/dist/index.cjs +48 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1264 -243
- package/dist/index.js +4093 -1853
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/icons-BeZGWK3s.js.map +0 -1
- package/dist/icons-DQqi52kz.cjs +0 -2
- package/dist/icons-DQqi52kz.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,30 +3,33 @@ import { Component } from 'vue';
|
|
|
3
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
4
|
import { ComponentProvideOptions } from 'vue';
|
|
5
5
|
import { ComputedRef } from 'vue';
|
|
6
|
+
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
6
7
|
import { DefineComponent } from 'vue';
|
|
7
8
|
import { Directive } from 'vue';
|
|
8
9
|
import { DirectiveBinding } from 'vue';
|
|
9
10
|
import { ExtractPropTypes } from 'vue';
|
|
11
|
+
import { GlobalComponents } from 'vue';
|
|
12
|
+
import { GlobalDirectives } from 'vue';
|
|
10
13
|
import { default as ModalBox } from './ModalBox.vue';
|
|
11
14
|
import { PublicProps } from 'vue';
|
|
12
15
|
import { Ref } from 'vue';
|
|
13
16
|
|
|
14
17
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
18
|
|
|
16
|
-
declare const __VLS_component_2: DefineComponent<
|
|
19
|
+
declare const __VLS_component_2: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
20
|
select: (value: Option_2) => any;
|
|
18
21
|
toggle: (value: Option_2) => any;
|
|
19
|
-
}, string, PublicProps, Readonly<
|
|
22
|
+
}, string, PublicProps, Readonly<Props_11> & Readonly<{
|
|
20
23
|
onSelect?: ((value: Option_2) => any) | undefined;
|
|
21
24
|
onToggle?: ((value: Option_2) => any) | undefined;
|
|
22
25
|
}>, {
|
|
23
|
-
size: "s" | "sm" | "md" | "lg" | "xl";
|
|
24
26
|
label: string;
|
|
27
|
+
size: "s" | "sm" | "md" | "lg" | "xl";
|
|
28
|
+
searchPlaceholder: string;
|
|
25
29
|
iconOnly: boolean;
|
|
26
30
|
variant: "primary" | "secondary" | "blanc";
|
|
27
31
|
options: Option_2[];
|
|
28
32
|
searchable: boolean;
|
|
29
|
-
searchPlaceholder: string;
|
|
30
33
|
openUp: boolean;
|
|
31
34
|
chevronRight: boolean;
|
|
32
35
|
showIcon: boolean;
|
|
@@ -40,7 +43,7 @@ openBackground: string;
|
|
|
40
43
|
stayOpen: boolean;
|
|
41
44
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
42
45
|
|
|
43
|
-
declare const __VLS_component_3: DefineComponent<
|
|
46
|
+
declare const __VLS_component_3: DefineComponent<Props_13, {
|
|
44
47
|
inputId: ComputedRef<string>;
|
|
45
48
|
containerClasses: ComputedRef< {
|
|
46
49
|
[x: string]: boolean;
|
|
@@ -54,18 +57,18 @@ focusInput: () => void;
|
|
|
54
57
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
55
58
|
blur: (event: FocusEvent) => any;
|
|
56
59
|
focus: (event: FocusEvent) => any;
|
|
57
|
-
}, string, PublicProps, Readonly<
|
|
60
|
+
}, string, PublicProps, Readonly<Props_13> & Readonly<{
|
|
58
61
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
59
62
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
60
63
|
}>, {
|
|
61
|
-
size: InputFieldSize;
|
|
62
64
|
label: string;
|
|
63
65
|
disabled: boolean;
|
|
64
|
-
state: InputFieldState;
|
|
65
66
|
required: boolean;
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
size: InputFieldSize;
|
|
68
|
+
state: InputFieldState;
|
|
68
69
|
hintText: string;
|
|
70
|
+
destructive: boolean;
|
|
71
|
+
colorStyle: InputFieldColorStyle;
|
|
69
72
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
70
73
|
|
|
71
74
|
declare const __VLS_component_4: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -98,6 +101,12 @@ declare type __VLS_Props = {
|
|
|
98
101
|
largeModel: boolean;
|
|
99
102
|
};
|
|
100
103
|
|
|
104
|
+
declare type __VLS_Props_10 = {
|
|
105
|
+
modelValue: boolean;
|
|
106
|
+
disabled?: boolean;
|
|
107
|
+
size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
|
|
108
|
+
};
|
|
109
|
+
|
|
101
110
|
declare type __VLS_Props_2 = {
|
|
102
111
|
code: string;
|
|
103
112
|
language: string;
|
|
@@ -130,19 +139,21 @@ declare type __VLS_Props_6 = {
|
|
|
130
139
|
};
|
|
131
140
|
|
|
132
141
|
declare type __VLS_Props_7 = {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
142
|
+
placeholder?: string;
|
|
143
|
+
messages?: IChatMessage[];
|
|
144
|
+
enableAI?: boolean;
|
|
145
|
+
openaiApiKey?: string;
|
|
146
|
+
textBoxContent?: string;
|
|
136
147
|
};
|
|
137
148
|
|
|
138
149
|
declare type __VLS_Props_8 = {
|
|
139
|
-
|
|
150
|
+
type: ISkeletonType;
|
|
151
|
+
hasHeader?: boolean;
|
|
152
|
+
count?: number;
|
|
140
153
|
};
|
|
141
154
|
|
|
142
155
|
declare type __VLS_Props_9 = {
|
|
143
|
-
|
|
144
|
-
disabled?: boolean;
|
|
145
|
-
size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
|
|
156
|
+
customClass?: string;
|
|
146
157
|
};
|
|
147
158
|
|
|
148
159
|
declare function __VLS_template(): {
|
|
@@ -307,105 +318,173 @@ export declare interface ApiResponseChoice {
|
|
|
307
318
|
};
|
|
308
319
|
}
|
|
309
320
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
321
|
+
export declare const AssistantField: DefineComponent<AssistantFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
322
|
+
assistantFieldClick: (event: MouseEvent) => any;
|
|
323
|
+
}, string, PublicProps, Readonly<AssistantFieldProps> & Readonly<{
|
|
324
|
+
onAssistantFieldClick?: ((event: MouseEvent) => any) | undefined;
|
|
325
|
+
}>, {
|
|
326
|
+
name: string;
|
|
327
|
+
date: string;
|
|
328
|
+
assistantId: string;
|
|
329
|
+
isDefault: boolean;
|
|
330
|
+
isSelected: boolean;
|
|
331
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
332
|
+
|
|
313
333
|
export declare interface AssistantFieldEvents {
|
|
314
|
-
/**
|
|
315
|
-
* Emitted when the assistant field is clicked
|
|
316
|
-
*/
|
|
317
334
|
assistantFieldClick: [event: MouseEvent];
|
|
318
335
|
}
|
|
319
336
|
|
|
320
|
-
/**
|
|
321
|
-
* Props interface for AssistantField component
|
|
322
|
-
*/
|
|
323
337
|
export declare interface AssistantFieldProps {
|
|
324
|
-
/**
|
|
325
|
-
* The name of the assistant
|
|
326
|
-
* @default "Name of the assistant"
|
|
327
|
-
*/
|
|
328
338
|
name?: string;
|
|
329
|
-
/**
|
|
330
|
-
* The date information for the assistant
|
|
331
|
-
* @default "mar 2024"
|
|
332
|
-
*/
|
|
333
339
|
date?: string;
|
|
334
|
-
/**
|
|
335
|
-
* The unique identifier for the assistant
|
|
336
|
-
* @default "Ass_id.asdasddas"
|
|
337
|
-
*/
|
|
338
340
|
assistantId?: string;
|
|
339
|
-
/**
|
|
340
|
-
* Whether this is a default assistant (controls privacy icon visibility)
|
|
341
|
-
* @default false
|
|
342
|
-
*/
|
|
343
341
|
isDefault?: boolean;
|
|
344
|
-
/**
|
|
345
|
-
* Whether this assistant field is selected
|
|
346
|
-
* @default false
|
|
347
|
-
*/
|
|
348
342
|
isSelected?: boolean;
|
|
349
343
|
}
|
|
350
344
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
345
|
+
export declare interface AssistantFieldSlots {
|
|
346
|
+
default?: never;
|
|
347
|
+
name?: never;
|
|
348
|
+
date?: never;
|
|
349
|
+
assistantId?: never;
|
|
350
|
+
privacyIcon?: never;
|
|
351
|
+
}
|
|
352
|
+
|
|
354
353
|
export declare interface AssistantItem {
|
|
355
|
-
/**
|
|
356
|
-
* Unique identifier for the assistant
|
|
357
|
-
*/
|
|
358
354
|
id?: string;
|
|
359
|
-
/**
|
|
360
|
-
* The name of the assistant
|
|
361
|
-
*/
|
|
362
355
|
name: string;
|
|
363
|
-
/**
|
|
364
|
-
* The date information for the assistant
|
|
365
|
-
*/
|
|
366
356
|
date: string;
|
|
367
|
-
/**
|
|
368
|
-
* The unique identifier for the assistant
|
|
369
|
-
*/
|
|
370
357
|
assistantId: string;
|
|
371
|
-
/**
|
|
372
|
-
* Whether this is a default assistant (controls privacy icon visibility)
|
|
373
|
-
*/
|
|
374
358
|
isDefault: boolean;
|
|
375
|
-
/**
|
|
376
|
-
* Whether this assistant is selected
|
|
377
|
-
*/
|
|
378
359
|
isSelected?: boolean;
|
|
379
360
|
}
|
|
380
361
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
362
|
+
export declare const AssistantList: DefineComponent<AssistantListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
363
|
+
assistantClick: (assistant: AssistantItem, event: MouseEvent) => any;
|
|
364
|
+
}, string, PublicProps, Readonly<AssistantListProps> & Readonly<{
|
|
365
|
+
onAssistantClick?: ((assistant: AssistantItem, event: MouseEvent) => any) | undefined;
|
|
366
|
+
}>, {
|
|
367
|
+
assistants: AssistantItem[];
|
|
368
|
+
selectedAssistantId: string | null;
|
|
369
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
370
|
+
|
|
384
371
|
export declare interface AssistantListEvents {
|
|
385
|
-
/**
|
|
386
|
-
* Emitted when an assistant is clicked
|
|
387
|
-
* @param assistant The clicked assistant item
|
|
388
|
-
* @param event The mouse event
|
|
389
|
-
*/
|
|
390
372
|
assistantClick: [assistant: AssistantItem, event: MouseEvent];
|
|
391
373
|
}
|
|
392
374
|
|
|
393
|
-
/**
|
|
394
|
-
* Props interface for AssistantList component
|
|
395
|
-
*/
|
|
396
375
|
export declare interface AssistantListProps {
|
|
397
|
-
/**
|
|
398
|
-
* Array of assistant items to display
|
|
399
|
-
* @default []
|
|
400
|
-
*/
|
|
401
376
|
assistants?: AssistantItem[];
|
|
402
|
-
/**
|
|
403
|
-
* AssistantId of the currently selected assistant
|
|
404
|
-
* @default null
|
|
405
|
-
*/
|
|
406
377
|
selectedAssistantId?: string | null;
|
|
407
378
|
}
|
|
408
379
|
|
|
380
|
+
export declare interface AssistantListSlots {
|
|
381
|
+
default?: never;
|
|
382
|
+
assistantField?: {
|
|
383
|
+
assistant: AssistantItem;
|
|
384
|
+
index: number;
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export declare const AssistantsHeader: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
389
|
+
edit: (event: MouseEvent) => any;
|
|
390
|
+
playground: (event: MouseEvent) => any;
|
|
391
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
392
|
+
onEdit?: ((event: MouseEvent) => any) | undefined;
|
|
393
|
+
onPlayground?: ((event: MouseEvent) => any) | undefined;
|
|
394
|
+
}>, {
|
|
395
|
+
assistantId: string;
|
|
396
|
+
assistantImage: string;
|
|
397
|
+
assistantIcon: string;
|
|
398
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
399
|
+
|
|
400
|
+
export declare interface AssistantsHeaderEmits {
|
|
401
|
+
edit: [event: MouseEvent];
|
|
402
|
+
playground: [event: MouseEvent];
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export declare interface AssistantsHeaderExpose {
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export declare interface AssistantsHeaderProps {
|
|
409
|
+
assistantImage?: string;
|
|
410
|
+
assistantIcon: string;
|
|
411
|
+
assistantId?: string;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export declare interface Avatar {
|
|
415
|
+
id: string | number;
|
|
416
|
+
url: string;
|
|
417
|
+
name: string;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
declare interface Avatar_2 {
|
|
421
|
+
id: string | number;
|
|
422
|
+
url: string;
|
|
423
|
+
name: string;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export declare const AvatarChoosing: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
427
|
+
click: (event: MouseEvent) => any;
|
|
428
|
+
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
429
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
430
|
+
}>, {
|
|
431
|
+
isSelected: boolean;
|
|
432
|
+
altText: string;
|
|
433
|
+
backgroundColor: string;
|
|
434
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
435
|
+
|
|
436
|
+
export declare interface AvatarChoosingEmits {
|
|
437
|
+
click: [event: MouseEvent];
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export declare interface AvatarChoosingExpose {
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export declare interface AvatarChoosingProps {
|
|
444
|
+
imageUrl: string;
|
|
445
|
+
isSelected?: boolean;
|
|
446
|
+
altText?: string;
|
|
447
|
+
backgroundColor?: string;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export declare const AvatarList: DefineComponent<Props_3, {
|
|
451
|
+
selectedAvatarId: Ref<string | number | null, string | number | null>;
|
|
452
|
+
selectedAvatar: ComputedRef<Avatar_2 | null>;
|
|
453
|
+
selectAvatar: (id: string | number) => void;
|
|
454
|
+
clearSelection: () => void;
|
|
455
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
456
|
+
selectionChange: (selectedId: string | number | null) => any;
|
|
457
|
+
avatarClick: (avatarId: string | number, isSelected: boolean) => any;
|
|
458
|
+
}, string, PublicProps, Readonly<Props_3> & Readonly<{
|
|
459
|
+
onSelectionChange?: ((selectedId: string | number | null) => any) | undefined;
|
|
460
|
+
onAvatarClick?: ((avatarId: string | number, isSelected: boolean) => any) | undefined;
|
|
461
|
+
}>, {
|
|
462
|
+
title: string;
|
|
463
|
+
showSelectedInfo: boolean;
|
|
464
|
+
allowDeselect: boolean;
|
|
465
|
+
multiple: boolean;
|
|
466
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
467
|
+
|
|
468
|
+
export declare interface AvatarListEmits {
|
|
469
|
+
selectionChange: [selectedId: string | number | null];
|
|
470
|
+
avatarClick: [avatarId: string | number, isSelected: boolean];
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export declare interface AvatarListExpose {
|
|
474
|
+
selectedAvatarId: Ref<string | number | null>;
|
|
475
|
+
selectedAvatar: ComputedRef<Avatar | null>;
|
|
476
|
+
selectAvatar: (id: string | number) => void;
|
|
477
|
+
clearSelection: () => void;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export declare interface AvatarListProps {
|
|
481
|
+
avatars: Avatar[];
|
|
482
|
+
title?: string;
|
|
483
|
+
showSelectedInfo?: boolean;
|
|
484
|
+
allowDeselect?: boolean;
|
|
485
|
+
multiple?: boolean;
|
|
486
|
+
}
|
|
487
|
+
|
|
409
488
|
export declare const BaseButton: DefineComponent<BaseButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
410
489
|
click: (event: MouseEvent) => any;
|
|
411
490
|
leftIconClick: (event: MouseEvent) => any;
|
|
@@ -415,10 +494,10 @@ onClick?: ((event: MouseEvent) => any) | undefined;
|
|
|
415
494
|
onLeftIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
416
495
|
onRightIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
417
496
|
}>, {
|
|
418
|
-
size: "s" | "sm" | "md" | "lg" | "xl";
|
|
419
497
|
label: string;
|
|
420
498
|
disabled: boolean;
|
|
421
499
|
loading: boolean;
|
|
500
|
+
size: "s" | "sm" | "md" | "lg" | "xl";
|
|
422
501
|
hierarchy: "primary" | "secondary" | "tertiary" | "link";
|
|
423
502
|
state: "default" | "hover" | "focused" | "disabled" | "loading";
|
|
424
503
|
errorState: boolean;
|
|
@@ -589,7 +668,7 @@ export declare interface ButtonStateSpecs {
|
|
|
589
668
|
*/
|
|
590
669
|
export declare const calculatePercentage: (partialValue: number, totalValue: number) => string;
|
|
591
670
|
|
|
592
|
-
export declare const CardInput: DefineComponent<
|
|
671
|
+
export declare const CardInput: DefineComponent<Props_14, {
|
|
593
672
|
focus: () => void;
|
|
594
673
|
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
595
674
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -618,7 +697,7 @@ keydown: (event: KeyboardEvent) => any;
|
|
|
618
697
|
"max-tags-reached": () => any;
|
|
619
698
|
"copy-success": (text: string) => any;
|
|
620
699
|
"copy-error": (error: Error) => any;
|
|
621
|
-
}, string, PublicProps, Readonly<
|
|
700
|
+
}, string, PublicProps, Readonly<Props_14> & Readonly<{
|
|
622
701
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
623
702
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
624
703
|
onInput?: ((value: string) => any) | undefined;
|
|
@@ -645,20 +724,20 @@ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
|
645
724
|
"onCopy-success"?: ((text: string) => any) | undefined;
|
|
646
725
|
"onCopy-error"?: ((error: Error) => any) | undefined;
|
|
647
726
|
}>, {
|
|
648
|
-
size: InputFieldSize;
|
|
649
727
|
label: string;
|
|
650
728
|
placeholder: string;
|
|
651
729
|
disabled: boolean;
|
|
652
|
-
state: InputFieldState;
|
|
653
|
-
required: boolean;
|
|
654
730
|
cardNumber: string;
|
|
655
731
|
cardType: CardType;
|
|
656
732
|
maskInput: boolean;
|
|
657
733
|
showCardIcon: boolean;
|
|
658
734
|
readonly: boolean;
|
|
659
|
-
|
|
660
|
-
|
|
735
|
+
required: boolean;
|
|
736
|
+
size: InputFieldSize;
|
|
737
|
+
state: InputFieldState;
|
|
661
738
|
hintText: string;
|
|
739
|
+
destructive: boolean;
|
|
740
|
+
colorStyle: InputFieldColorStyle;
|
|
662
741
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
663
742
|
inputRef: HTMLInputElement;
|
|
664
743
|
}, HTMLDivElement>;
|
|
@@ -698,6 +777,94 @@ export declare interface CardInputProps extends BaseInputProps {
|
|
|
698
777
|
|
|
699
778
|
export declare type CardType = 'visa' | 'mastercard' | 'amex' | 'discover' | 'unknown';
|
|
700
779
|
|
|
780
|
+
export declare const ChooseAssistantAvatar: DefineComponent<Props_4, {
|
|
781
|
+
selectedIconId: Ref<string | number | null, string | number | null>;
|
|
782
|
+
selectedFaceId: Ref<string | number | null, string | number | null>;
|
|
783
|
+
selectedVoiceId: Ref<string | number | null, string | number | null>;
|
|
784
|
+
resetSelections: () => void;
|
|
785
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
786
|
+
cancel: () => any;
|
|
787
|
+
close: () => any;
|
|
788
|
+
save: (data: {
|
|
789
|
+
selectedIconId: string | number | null;
|
|
790
|
+
selectedFaceId: string | number | null;
|
|
791
|
+
selectedVoiceId: string | number | null;
|
|
792
|
+
}) => any;
|
|
793
|
+
iconSelect: (icon: Icon_2) => any;
|
|
794
|
+
faceSelect: (face: Face_2) => any;
|
|
795
|
+
voiceSelect: (voice: Voice_2) => any;
|
|
796
|
+
searchInput: (query: string) => any;
|
|
797
|
+
searchClick: () => any;
|
|
798
|
+
uploadClick: () => any;
|
|
799
|
+
}, string, PublicProps, Readonly<Props_4> & Readonly<{
|
|
800
|
+
onCancel?: (() => any) | undefined;
|
|
801
|
+
onClose?: (() => any) | undefined;
|
|
802
|
+
onSave?: ((data: {
|
|
803
|
+
selectedIconId: string | number | null;
|
|
804
|
+
selectedFaceId: string | number | null;
|
|
805
|
+
selectedVoiceId: string | number | null;
|
|
806
|
+
}) => any) | undefined;
|
|
807
|
+
onIconSelect?: ((icon: Icon_2) => any) | undefined;
|
|
808
|
+
onFaceSelect?: ((face: Face_2) => any) | undefined;
|
|
809
|
+
onVoiceSelect?: ((voice: Voice_2) => any) | undefined;
|
|
810
|
+
onSearchInput?: ((query: string) => any) | undefined;
|
|
811
|
+
onSearchClick?: (() => any) | undefined;
|
|
812
|
+
onUploadClick?: (() => any) | undefined;
|
|
813
|
+
}>, {
|
|
814
|
+
title: string;
|
|
815
|
+
description: string;
|
|
816
|
+
icons: Icon_2[];
|
|
817
|
+
faces: Face_2[];
|
|
818
|
+
voices: Voice_2[];
|
|
819
|
+
searchPlaceholder: string;
|
|
820
|
+
cancelButtonText: string;
|
|
821
|
+
saveButtonText: string;
|
|
822
|
+
closeButtonAriaLabel: string;
|
|
823
|
+
searchButtonAriaLabel: string;
|
|
824
|
+
uploadButtonAriaLabel: string;
|
|
825
|
+
allowMultipleSelection: boolean;
|
|
826
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
827
|
+
|
|
828
|
+
export declare interface ChooseAssistantAvatarEmits {
|
|
829
|
+
close: [];
|
|
830
|
+
cancel: [];
|
|
831
|
+
save: [
|
|
832
|
+
data: {
|
|
833
|
+
selectedIconId: string | number | null;
|
|
834
|
+
selectedFaceId: string | number | null;
|
|
835
|
+
selectedVoiceId: string | number | null;
|
|
836
|
+
}
|
|
837
|
+
];
|
|
838
|
+
iconSelect: [icon: Icon];
|
|
839
|
+
faceSelect: [face: Face];
|
|
840
|
+
voiceSelect: [voice: Voice];
|
|
841
|
+
searchInput: [query: string];
|
|
842
|
+
searchClick: [];
|
|
843
|
+
uploadClick: [];
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export declare interface ChooseAssistantAvatarExpose {
|
|
847
|
+
selectedIconId: Ref<string | number | null>;
|
|
848
|
+
selectedFaceId: Ref<string | number | null>;
|
|
849
|
+
selectedVoiceId: Ref<string | number | null>;
|
|
850
|
+
resetSelections: () => void;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export declare interface ChooseAssistantAvatarProps {
|
|
854
|
+
title?: string;
|
|
855
|
+
description?: string;
|
|
856
|
+
icons?: Icon[];
|
|
857
|
+
faces?: Face[];
|
|
858
|
+
voices?: Voice[];
|
|
859
|
+
searchPlaceholder?: string;
|
|
860
|
+
cancelButtonText?: string;
|
|
861
|
+
saveButtonText?: string;
|
|
862
|
+
closeButtonAriaLabel?: string;
|
|
863
|
+
searchButtonAriaLabel?: string;
|
|
864
|
+
uploadButtonAriaLabel?: string;
|
|
865
|
+
allowMultipleSelection?: boolean;
|
|
866
|
+
}
|
|
867
|
+
|
|
701
868
|
export declare function cloneDeepSafe<T>(value: T): T;
|
|
702
869
|
|
|
703
870
|
export declare const CodeBlock: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLPreElement>;
|
|
@@ -873,7 +1040,7 @@ export declare function deepEqual<T>(a: T, b: T): boolean;
|
|
|
873
1040
|
|
|
874
1041
|
export declare const defaultImageSrc = "https://img.freepik.com/premium-vector/default-image-icon-vector-missing-picture-page-website-design-mobile-app-no-photo-available_87543-11093.jpg";
|
|
875
1042
|
|
|
876
|
-
export declare const DefaultInput: DefineComponent<
|
|
1043
|
+
export declare const DefaultInput: DefineComponent<Props_15, {
|
|
877
1044
|
focus: () => void;
|
|
878
1045
|
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
879
1046
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -884,7 +1051,7 @@ keydown: (event: KeyboardEvent) => any;
|
|
|
884
1051
|
"update:modelValue": (value: string) => any;
|
|
885
1052
|
"trailing-icon-click": (event: MouseEvent) => any;
|
|
886
1053
|
"leading-icon-click": (event: MouseEvent) => any;
|
|
887
|
-
}, string, PublicProps, Readonly<
|
|
1054
|
+
}, string, PublicProps, Readonly<Props_15> & Readonly<{
|
|
888
1055
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
889
1056
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
890
1057
|
onInput?: ((value: string) => any) | undefined;
|
|
@@ -893,18 +1060,18 @@ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
|
893
1060
|
"onTrailing-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
894
1061
|
"onLeading-icon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
895
1062
|
}>, {
|
|
896
|
-
size: InputFieldSize;
|
|
897
1063
|
label: string;
|
|
898
1064
|
placeholder: string;
|
|
899
1065
|
disabled: boolean;
|
|
900
|
-
state: InputFieldState;
|
|
901
|
-
required: boolean;
|
|
902
1066
|
inputType: string;
|
|
903
1067
|
modelValue: string;
|
|
904
1068
|
readonly: boolean;
|
|
905
|
-
|
|
906
|
-
|
|
1069
|
+
required: boolean;
|
|
1070
|
+
size: InputFieldSize;
|
|
1071
|
+
state: InputFieldState;
|
|
907
1072
|
hintText: string;
|
|
1073
|
+
destructive: boolean;
|
|
1074
|
+
colorStyle: InputFieldColorStyle;
|
|
908
1075
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
909
1076
|
inputRef: HTMLInputElement;
|
|
910
1077
|
}, HTMLDivElement>;
|
|
@@ -957,6 +1124,64 @@ onConfirmDeletion?: ((...args: any[]) => any) | undefined;
|
|
|
957
1124
|
description: string;
|
|
958
1125
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
959
1126
|
|
|
1127
|
+
export declare const Descriptions: DefineComponent<Props_10, {
|
|
1128
|
+
focus: () => void;
|
|
1129
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1130
|
+
blur: (event: FocusEvent) => any;
|
|
1131
|
+
focus: (event: FocusEvent) => any;
|
|
1132
|
+
input: (value: string) => any;
|
|
1133
|
+
"update:modelValue": (value: string) => any;
|
|
1134
|
+
"ask-ai": (content: string) => any;
|
|
1135
|
+
expand: (content: string) => any;
|
|
1136
|
+
"remove-tag": (index: number) => any;
|
|
1137
|
+
"tooltip-click": () => any;
|
|
1138
|
+
"add-tag": (tag: string) => any;
|
|
1139
|
+
"tags-click": () => any;
|
|
1140
|
+
}, string, PublicProps, Readonly<Props_10> & Readonly<{
|
|
1141
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1142
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1143
|
+
onInput?: ((value: string) => any) | undefined;
|
|
1144
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1145
|
+
"onAsk-ai"?: ((content: string) => any) | undefined;
|
|
1146
|
+
onExpand?: ((content: string) => any) | undefined;
|
|
1147
|
+
"onRemove-tag"?: ((index: number) => any) | undefined;
|
|
1148
|
+
"onTooltip-click"?: (() => any) | undefined;
|
|
1149
|
+
"onAdd-tag"?: ((tag: string) => any) | undefined;
|
|
1150
|
+
"onTags-click"?: (() => any) | undefined;
|
|
1151
|
+
}>, {
|
|
1152
|
+
label: string;
|
|
1153
|
+
type: DescriptionType;
|
|
1154
|
+
placeholder: string;
|
|
1155
|
+
disabled: boolean;
|
|
1156
|
+
tags: string[];
|
|
1157
|
+
tooltipText: string;
|
|
1158
|
+
modelValue: string;
|
|
1159
|
+
readonly: boolean;
|
|
1160
|
+
required: boolean;
|
|
1161
|
+
openaiApiKey: string;
|
|
1162
|
+
openaiModel: string;
|
|
1163
|
+
openaiOrganization: string;
|
|
1164
|
+
showTooltip: boolean;
|
|
1165
|
+
showAiButton: boolean;
|
|
1166
|
+
hintText: string;
|
|
1167
|
+
errorMessage: string;
|
|
1168
|
+
modalTitle: string;
|
|
1169
|
+
modalDescription: string;
|
|
1170
|
+
showUnderlines: boolean;
|
|
1171
|
+
dynamicTitle: string;
|
|
1172
|
+
showHint: boolean;
|
|
1173
|
+
diffMode: boolean;
|
|
1174
|
+
oldText: string;
|
|
1175
|
+
newText: string;
|
|
1176
|
+
tagsOnly: boolean;
|
|
1177
|
+
stage: DescriptionStage;
|
|
1178
|
+
destructive: boolean;
|
|
1179
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1180
|
+
|
|
1181
|
+
declare type DescriptionStage = 'placeholder' | 'default' | 'focused' | 'disabled' | 'error';
|
|
1182
|
+
|
|
1183
|
+
declare type DescriptionType = 'default' | 'tags';
|
|
1184
|
+
|
|
960
1185
|
declare interface DiffProps {
|
|
961
1186
|
modelValue: string;
|
|
962
1187
|
placeholder?: string;
|
|
@@ -981,64 +1206,238 @@ textareaRef: HTMLTextAreaElement;
|
|
|
981
1206
|
|
|
982
1207
|
export declare const Dropdown: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
983
1208
|
|
|
984
|
-
export declare const
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
onVerify?: ((code: string) => any) | undefined;
|
|
989
|
-
onResend?: (() => any) | undefined;
|
|
990
|
-
}>, {
|
|
991
|
-
error: string;
|
|
992
|
-
loading: boolean;
|
|
993
|
-
brand: "contentplate" | "flowplate" | "freddy";
|
|
994
|
-
resendCooldown: number;
|
|
995
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
996
|
-
|
|
997
|
-
export declare interface ErrorDetails {
|
|
998
|
-
message: string;
|
|
999
|
-
code?: string | number;
|
|
1000
|
-
stack?: string;
|
|
1001
|
-
timestamp: string;
|
|
1002
|
-
context?: Record<string, unknown>;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
/**
|
|
1006
|
-
* Extract statistics from API response
|
|
1007
|
-
* @param apiResponse - Raw API response
|
|
1008
|
-
* @returns Statistics object with added/removed counts
|
|
1009
|
-
*/
|
|
1010
|
-
export declare const extractStats: (apiResponse: any) => {
|
|
1011
|
-
added: number;
|
|
1012
|
-
removed: number;
|
|
1209
|
+
export declare const EditFeaturedExcerptModal: DefineComponent<ExtractPropTypes< {
|
|
1210
|
+
isVisible: {
|
|
1211
|
+
type: BooleanConstructor;
|
|
1212
|
+
required: true;
|
|
1013
1213
|
};
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
* @param bytes - The file size in bytes.
|
|
1018
|
-
* @param decimals - The number of decimal places to include.
|
|
1019
|
-
* @returns The formatted file size string.
|
|
1020
|
-
*/
|
|
1021
|
-
export declare const fileSizeFormatter: (bytes: number, decimals?: number) => string;
|
|
1022
|
-
|
|
1023
|
-
/**
|
|
1024
|
-
* Fills missing days in a month's data with a default value of 0.
|
|
1025
|
-
* @param month - The month number (1-12).
|
|
1026
|
-
* @param dayData - An array of objects containing day-value pairs.
|
|
1027
|
-
* @returns An object with all days of the month filled.
|
|
1028
|
-
*/
|
|
1029
|
-
export declare const fillMissingDays: (month: number, dayData: Array<{
|
|
1030
|
-
[key: number]: number;
|
|
1031
|
-
}>) => {
|
|
1032
|
-
[k: string]: number;
|
|
1214
|
+
title: {
|
|
1215
|
+
type: StringConstructor;
|
|
1216
|
+
default: string;
|
|
1033
1217
|
};
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1218
|
+
description: {
|
|
1219
|
+
type: StringConstructor;
|
|
1220
|
+
default: string;
|
|
1221
|
+
};
|
|
1222
|
+
initialContent: {
|
|
1223
|
+
type: StringConstructor;
|
|
1224
|
+
default: string;
|
|
1225
|
+
};
|
|
1226
|
+
openaiApiKey: {
|
|
1227
|
+
type: StringConstructor;
|
|
1228
|
+
default: string;
|
|
1229
|
+
};
|
|
1230
|
+
openaiModel: {
|
|
1231
|
+
type: StringConstructor;
|
|
1232
|
+
default: string;
|
|
1233
|
+
};
|
|
1234
|
+
openaiOrganization: {
|
|
1235
|
+
type: StringConstructor;
|
|
1236
|
+
default: string;
|
|
1237
|
+
};
|
|
1238
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1239
|
+
cancel: (...args: any[]) => void;
|
|
1240
|
+
close: (...args: any[]) => void;
|
|
1241
|
+
save: (...args: any[]) => void;
|
|
1242
|
+
askAI: (...args: any[]) => void;
|
|
1243
|
+
toggleAI: (...args: any[]) => void;
|
|
1244
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1245
|
+
isVisible: {
|
|
1246
|
+
type: BooleanConstructor;
|
|
1247
|
+
required: true;
|
|
1248
|
+
};
|
|
1249
|
+
title: {
|
|
1250
|
+
type: StringConstructor;
|
|
1251
|
+
default: string;
|
|
1252
|
+
};
|
|
1253
|
+
description: {
|
|
1254
|
+
type: StringConstructor;
|
|
1255
|
+
default: string;
|
|
1256
|
+
};
|
|
1257
|
+
initialContent: {
|
|
1258
|
+
type: StringConstructor;
|
|
1259
|
+
default: string;
|
|
1260
|
+
};
|
|
1261
|
+
openaiApiKey: {
|
|
1262
|
+
type: StringConstructor;
|
|
1263
|
+
default: string;
|
|
1264
|
+
};
|
|
1265
|
+
openaiModel: {
|
|
1266
|
+
type: StringConstructor;
|
|
1267
|
+
default: string;
|
|
1268
|
+
};
|
|
1269
|
+
openaiOrganization: {
|
|
1270
|
+
type: StringConstructor;
|
|
1271
|
+
default: string;
|
|
1272
|
+
};
|
|
1273
|
+
}>> & Readonly<{
|
|
1274
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1275
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1276
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
1277
|
+
onAskAI?: ((...args: any[]) => any) | undefined;
|
|
1278
|
+
onToggleAI?: ((...args: any[]) => any) | undefined;
|
|
1279
|
+
}>, {
|
|
1280
|
+
title: string;
|
|
1281
|
+
description: string;
|
|
1282
|
+
openaiApiKey: string;
|
|
1283
|
+
initialContent: string;
|
|
1284
|
+
openaiModel: string;
|
|
1285
|
+
openaiOrganization: string;
|
|
1286
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1287
|
+
chatRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1288
|
+
placeholder?: string;
|
|
1289
|
+
messages?: IChatMessage[];
|
|
1290
|
+
enableAI?: boolean;
|
|
1291
|
+
openaiApiKey?: string;
|
|
1292
|
+
textBoxContent?: string;
|
|
1293
|
+
}> & Readonly<{
|
|
1294
|
+
onSend?: ((message: string) => any) | undefined;
|
|
1295
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
1296
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
1297
|
+
onTextReplacement?: ((data: {
|
|
1298
|
+
original?: string;
|
|
1299
|
+
improved: string;
|
|
1300
|
+
stats?: any;
|
|
1301
|
+
}) => any) | undefined;
|
|
1302
|
+
onTextCompletion?: ((data: {
|
|
1303
|
+
original?: string;
|
|
1304
|
+
completion: string;
|
|
1305
|
+
}) => any) | undefined;
|
|
1306
|
+
}>, {
|
|
1307
|
+
addAIResponse: (content: string, changes?: {
|
|
1308
|
+
title?: string;
|
|
1309
|
+
description: string;
|
|
1310
|
+
added: number;
|
|
1311
|
+
removed: number;
|
|
1312
|
+
data?: any;
|
|
1313
|
+
}) => void;
|
|
1314
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
1315
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1316
|
+
send: (message: string) => any;
|
|
1317
|
+
acceptChanges: (message: IChatMessage) => any;
|
|
1318
|
+
denyChanges: (message: IChatMessage) => any;
|
|
1319
|
+
textReplacement: (data: {
|
|
1320
|
+
original?: string;
|
|
1321
|
+
improved: string;
|
|
1322
|
+
stats?: any;
|
|
1323
|
+
}) => any;
|
|
1324
|
+
textCompletion: (data: {
|
|
1325
|
+
original?: string;
|
|
1326
|
+
completion: string;
|
|
1327
|
+
}) => any;
|
|
1328
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
1329
|
+
messagesContainer: HTMLDivElement;
|
|
1330
|
+
inputRef: HTMLTextAreaElement;
|
|
1331
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
1332
|
+
P: {};
|
|
1333
|
+
B: {};
|
|
1334
|
+
D: {};
|
|
1335
|
+
C: {};
|
|
1336
|
+
M: {};
|
|
1337
|
+
Defaults: {};
|
|
1338
|
+
}, Readonly<{
|
|
1339
|
+
placeholder?: string;
|
|
1340
|
+
messages?: IChatMessage[];
|
|
1341
|
+
enableAI?: boolean;
|
|
1342
|
+
openaiApiKey?: string;
|
|
1343
|
+
textBoxContent?: string;
|
|
1344
|
+
}> & Readonly<{
|
|
1345
|
+
onSend?: ((message: string) => any) | undefined;
|
|
1346
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
1347
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
1348
|
+
onTextReplacement?: ((data: {
|
|
1349
|
+
original?: string;
|
|
1350
|
+
improved: string;
|
|
1351
|
+
stats?: any;
|
|
1352
|
+
}) => any) | undefined;
|
|
1353
|
+
onTextCompletion?: ((data: {
|
|
1354
|
+
original?: string;
|
|
1355
|
+
completion: string;
|
|
1356
|
+
}) => any) | undefined;
|
|
1357
|
+
}>, {
|
|
1358
|
+
addAIResponse: (content: string, changes?: {
|
|
1359
|
+
title?: string;
|
|
1360
|
+
description: string;
|
|
1361
|
+
added: number;
|
|
1362
|
+
removed: number;
|
|
1363
|
+
data?: any;
|
|
1364
|
+
}) => void;
|
|
1365
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
1366
|
+
}, {}, {}, {}, {}> | null;
|
|
1367
|
+
}, any>;
|
|
1368
|
+
|
|
1369
|
+
export declare const EmailCodeVerification: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1370
|
+
verify: (code: string) => any;
|
|
1371
|
+
resend: () => any;
|
|
1372
|
+
}, string, PublicProps, Readonly<Props_12> & Readonly<{
|
|
1373
|
+
onVerify?: ((code: string) => any) | undefined;
|
|
1374
|
+
onResend?: (() => any) | undefined;
|
|
1375
|
+
}>, {
|
|
1376
|
+
error: string;
|
|
1377
|
+
loading: boolean;
|
|
1378
|
+
brand: "contentplate" | "flowplate" | "freddy";
|
|
1379
|
+
resendCooldown: number;
|
|
1380
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1381
|
+
|
|
1382
|
+
export declare interface ErrorDetails {
|
|
1383
|
+
message: string;
|
|
1384
|
+
code?: string | number;
|
|
1385
|
+
stack?: string;
|
|
1386
|
+
timestamp: string;
|
|
1387
|
+
context?: Record<string, unknown>;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* Extract statistics from API response
|
|
1392
|
+
* @param apiResponse - Raw API response
|
|
1393
|
+
* @returns Statistics object with added/removed counts
|
|
1394
|
+
*/
|
|
1395
|
+
export declare const extractStats: (apiResponse: any) => {
|
|
1396
|
+
added: number;
|
|
1397
|
+
removed: number;
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
export declare interface Face {
|
|
1401
|
+
id: string | number;
|
|
1402
|
+
imageUrl: string;
|
|
1403
|
+
altText?: string;
|
|
1404
|
+
backgroundColor?: string;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
declare interface Face_2 {
|
|
1408
|
+
id: string | number;
|
|
1409
|
+
imageUrl: string;
|
|
1410
|
+
altText?: string;
|
|
1411
|
+
backgroundColor?: string;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* Formats a file size in bytes into a human-readable string.
|
|
1416
|
+
* @param bytes - The file size in bytes.
|
|
1417
|
+
* @param decimals - The number of decimal places to include.
|
|
1418
|
+
* @returns The formatted file size string.
|
|
1419
|
+
*/
|
|
1420
|
+
export declare const fileSizeFormatter: (bytes: number, decimals?: number) => string;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* Fills missing days in a month's data with a default value of 0.
|
|
1424
|
+
* @param month - The month number (1-12).
|
|
1425
|
+
* @param dayData - An array of objects containing day-value pairs.
|
|
1426
|
+
* @returns An object with all days of the month filled.
|
|
1427
|
+
*/
|
|
1428
|
+
export declare const fillMissingDays: (month: number, dayData: Array<{
|
|
1429
|
+
[key: number]: number;
|
|
1430
|
+
}>) => {
|
|
1431
|
+
[k: string]: number;
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* Formats a date to a relative format (e.g., "Yesterday" or "DD MMM YYYY").
|
|
1436
|
+
* @param inputDate - The date string or Date object to format.
|
|
1437
|
+
* @returns The formatted date string.
|
|
1438
|
+
*/
|
|
1439
|
+
export declare function formatDate(inputDate: Date | string): string;
|
|
1440
|
+
|
|
1042
1441
|
/**
|
|
1043
1442
|
* Formats a date string or Date object to a locale string.
|
|
1044
1443
|
* @param dateString - The date string or Date object to format.
|
|
@@ -1325,6 +1724,20 @@ export declare interface IColorValidationResult {
|
|
|
1325
1724
|
suggestions?: string[];
|
|
1326
1725
|
}
|
|
1327
1726
|
|
|
1727
|
+
export declare interface Icon {
|
|
1728
|
+
id: string | number;
|
|
1729
|
+
name?: string;
|
|
1730
|
+
iconName?: string;
|
|
1731
|
+
component?: any;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
declare interface Icon_2 {
|
|
1735
|
+
id: string | number;
|
|
1736
|
+
name?: string;
|
|
1737
|
+
iconName?: string;
|
|
1738
|
+
component?: any;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1328
1741
|
export declare const IconAddFileSystem: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
1329
1742
|
|
|
1330
1743
|
export declare const IconAddPeople: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -1891,7 +2304,7 @@ export declare interface INotificationProps {
|
|
|
1891
2304
|
persistent?: boolean;
|
|
1892
2305
|
}
|
|
1893
2306
|
|
|
1894
|
-
export declare const InputField: DefineComponent<
|
|
2307
|
+
export declare const InputField: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1895
2308
|
blur: (event: FocusEvent) => any;
|
|
1896
2309
|
focus: (event: FocusEvent) => any;
|
|
1897
2310
|
input: (value: string) => any;
|
|
@@ -1917,7 +2330,7 @@ keydown: (event: KeyboardEvent) => any;
|
|
|
1917
2330
|
"max-tags-reached": () => any;
|
|
1918
2331
|
"copy-success": (text: string) => any;
|
|
1919
2332
|
"copy-error": (error: Error) => any;
|
|
1920
|
-
}, string, PublicProps, Readonly<
|
|
2333
|
+
}, string, PublicProps, Readonly<Props_16> & Readonly<{
|
|
1921
2334
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1922
2335
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1923
2336
|
onInput?: ((value: string) => any) | undefined;
|
|
@@ -1944,22 +2357,22 @@ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
|
1944
2357
|
"onCopy-success"?: ((text: string) => any) | undefined;
|
|
1945
2358
|
"onCopy-error"?: ((error: Error) => any) | undefined;
|
|
1946
2359
|
}>, {
|
|
1947
|
-
size: InputFieldSize;
|
|
1948
2360
|
label: string;
|
|
1949
2361
|
type: InputFieldVariant;
|
|
1950
2362
|
placeholder: string;
|
|
1951
2363
|
disabled: boolean;
|
|
1952
|
-
state: InputFieldState;
|
|
1953
|
-
required: boolean;
|
|
1954
2364
|
countryCode: string;
|
|
1955
2365
|
phoneNumber: string;
|
|
1956
2366
|
inputType: string;
|
|
1957
2367
|
modelValue: string;
|
|
1958
2368
|
readonly: boolean;
|
|
2369
|
+
required: boolean;
|
|
2370
|
+
size: InputFieldSize;
|
|
2371
|
+
state: InputFieldState;
|
|
1959
2372
|
variant: InputFieldVariant;
|
|
1960
|
-
colorStyle: InputFieldColorStyle;
|
|
1961
|
-
destructive: boolean;
|
|
1962
2373
|
hintText: string;
|
|
2374
|
+
destructive: boolean;
|
|
2375
|
+
colorStyle: InputFieldColorStyle;
|
|
1963
2376
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1964
2377
|
|
|
1965
2378
|
export declare type InputFieldColorStyle = 'freddy' | 'contentplate';
|
|
@@ -2319,8 +2732,8 @@ select: (option: ModelOption) => any;
|
|
|
2319
2732
|
onSelect?: ((option: ModelOption) => any) | undefined;
|
|
2320
2733
|
}>, {
|
|
2321
2734
|
size: "sm" | "md" | "lg";
|
|
2322
|
-
searchable: boolean;
|
|
2323
2735
|
searchPlaceholder: string;
|
|
2736
|
+
searchable: boolean;
|
|
2324
2737
|
modelPlaceholder: string;
|
|
2325
2738
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2326
2739
|
|
|
@@ -2361,6 +2774,67 @@ declare interface Option_2 {
|
|
|
2361
2774
|
refData?: any;
|
|
2362
2775
|
}
|
|
2363
2776
|
|
|
2777
|
+
export declare const OutputModeModal: DefineComponent<ExtractPropTypes< {
|
|
2778
|
+
isVisible: {
|
|
2779
|
+
type: BooleanConstructor;
|
|
2780
|
+
required: true;
|
|
2781
|
+
};
|
|
2782
|
+
initialJsonContent: {
|
|
2783
|
+
type: StringConstructor;
|
|
2784
|
+
default: string;
|
|
2785
|
+
};
|
|
2786
|
+
openaiApiKey: {
|
|
2787
|
+
type: StringConstructor;
|
|
2788
|
+
default: string;
|
|
2789
|
+
};
|
|
2790
|
+
openaiModel: {
|
|
2791
|
+
type: StringConstructor;
|
|
2792
|
+
default: string;
|
|
2793
|
+
};
|
|
2794
|
+
openaiOrganization: {
|
|
2795
|
+
type: StringConstructor;
|
|
2796
|
+
default: string;
|
|
2797
|
+
};
|
|
2798
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2799
|
+
cancel: (...args: any[]) => void;
|
|
2800
|
+
close: (...args: any[]) => void;
|
|
2801
|
+
save: (...args: any[]) => void;
|
|
2802
|
+
askAI: (...args: any[]) => void;
|
|
2803
|
+
toggleAI: (...args: any[]) => void;
|
|
2804
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2805
|
+
isVisible: {
|
|
2806
|
+
type: BooleanConstructor;
|
|
2807
|
+
required: true;
|
|
2808
|
+
};
|
|
2809
|
+
initialJsonContent: {
|
|
2810
|
+
type: StringConstructor;
|
|
2811
|
+
default: string;
|
|
2812
|
+
};
|
|
2813
|
+
openaiApiKey: {
|
|
2814
|
+
type: StringConstructor;
|
|
2815
|
+
default: string;
|
|
2816
|
+
};
|
|
2817
|
+
openaiModel: {
|
|
2818
|
+
type: StringConstructor;
|
|
2819
|
+
default: string;
|
|
2820
|
+
};
|
|
2821
|
+
openaiOrganization: {
|
|
2822
|
+
type: StringConstructor;
|
|
2823
|
+
default: string;
|
|
2824
|
+
};
|
|
2825
|
+
}>> & Readonly<{
|
|
2826
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
2827
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2828
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
2829
|
+
onAskAI?: ((...args: any[]) => any) | undefined;
|
|
2830
|
+
onToggleAI?: ((...args: any[]) => any) | undefined;
|
|
2831
|
+
}>, {
|
|
2832
|
+
openaiApiKey: string;
|
|
2833
|
+
openaiModel: string;
|
|
2834
|
+
openaiOrganization: string;
|
|
2835
|
+
initialJsonContent: string;
|
|
2836
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2837
|
+
|
|
2364
2838
|
export declare const Pagination: DefineComponent<ExtractPropTypes< {
|
|
2365
2839
|
totalItems: {
|
|
2366
2840
|
type: NumberConstructor;
|
|
@@ -2398,9 +2872,9 @@ default: number;
|
|
|
2398
2872
|
}>> & Readonly<{
|
|
2399
2873
|
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
2400
2874
|
}>, {
|
|
2875
|
+
currentPage: number;
|
|
2401
2876
|
totalItems: number;
|
|
2402
2877
|
itemsPerPage: number;
|
|
2403
|
-
currentPage: number;
|
|
2404
2878
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2405
2879
|
|
|
2406
2880
|
/**
|
|
@@ -2436,7 +2910,7 @@ export declare interface PerformanceMetrics {
|
|
|
2436
2910
|
timestamp: string;
|
|
2437
2911
|
}
|
|
2438
2912
|
|
|
2439
|
-
export declare const PhoneInput: DefineComponent<
|
|
2913
|
+
export declare const PhoneInput: DefineComponent<Props_17, {
|
|
2440
2914
|
focus: () => void;
|
|
2441
2915
|
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
2442
2916
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -2465,7 +2939,7 @@ keydown: (event: KeyboardEvent) => any;
|
|
|
2465
2939
|
"max-tags-reached": () => any;
|
|
2466
2940
|
"copy-success": (text: string) => any;
|
|
2467
2941
|
"copy-error": (error: Error) => any;
|
|
2468
|
-
}, string, PublicProps, Readonly<
|
|
2942
|
+
}, string, PublicProps, Readonly<Props_17> & Readonly<{
|
|
2469
2943
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
2470
2944
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
2471
2945
|
onInput?: ((value: string) => any) | undefined;
|
|
@@ -2492,18 +2966,18 @@ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
|
2492
2966
|
"onCopy-success"?: ((text: string) => any) | undefined;
|
|
2493
2967
|
"onCopy-error"?: ((error: Error) => any) | undefined;
|
|
2494
2968
|
}>, {
|
|
2495
|
-
size: InputFieldSize;
|
|
2496
2969
|
label: string;
|
|
2497
2970
|
placeholder: string;
|
|
2498
2971
|
disabled: boolean;
|
|
2499
|
-
state: InputFieldState;
|
|
2500
|
-
required: boolean;
|
|
2501
2972
|
countryCode: string;
|
|
2502
2973
|
phoneNumber: string;
|
|
2503
2974
|
readonly: boolean;
|
|
2504
|
-
|
|
2505
|
-
|
|
2975
|
+
required: boolean;
|
|
2976
|
+
size: InputFieldSize;
|
|
2977
|
+
state: InputFieldState;
|
|
2506
2978
|
hintText: string;
|
|
2979
|
+
destructive: boolean;
|
|
2980
|
+
colorStyle: InputFieldColorStyle;
|
|
2507
2981
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2508
2982
|
inputRef: HTMLInputElement;
|
|
2509
2983
|
}, HTMLDivElement>;
|
|
@@ -2562,6 +3036,42 @@ export declare interface Project {
|
|
|
2562
3036
|
}
|
|
2563
3037
|
|
|
2564
3038
|
declare interface Props {
|
|
3039
|
+
assistantImage?: string;
|
|
3040
|
+
assistantIcon: string;
|
|
3041
|
+
assistantId?: string;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
declare interface Props_10 {
|
|
3045
|
+
modelValue?: string;
|
|
3046
|
+
label?: string;
|
|
3047
|
+
placeholder?: string;
|
|
3048
|
+
disabled?: boolean;
|
|
3049
|
+
readonly?: boolean;
|
|
3050
|
+
required?: boolean;
|
|
3051
|
+
showTooltip?: boolean;
|
|
3052
|
+
tooltipText?: string;
|
|
3053
|
+
showAiButton?: boolean;
|
|
3054
|
+
stage?: DescriptionStage;
|
|
3055
|
+
type?: DescriptionType;
|
|
3056
|
+
destructive?: boolean;
|
|
3057
|
+
tags?: string[];
|
|
3058
|
+
hintText?: string;
|
|
3059
|
+
errorMessage?: string;
|
|
3060
|
+
modalTitle?: string;
|
|
3061
|
+
modalDescription?: string;
|
|
3062
|
+
openaiApiKey?: string;
|
|
3063
|
+
openaiModel?: string;
|
|
3064
|
+
openaiOrganization?: string;
|
|
3065
|
+
showUnderlines?: boolean;
|
|
3066
|
+
dynamicTitle?: string;
|
|
3067
|
+
showHint?: boolean;
|
|
3068
|
+
diffMode?: boolean;
|
|
3069
|
+
oldText?: string;
|
|
3070
|
+
newText?: string;
|
|
3071
|
+
tagsOnly?: boolean;
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
declare interface Props_11 {
|
|
2565
3075
|
label?: string;
|
|
2566
3076
|
size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2567
3077
|
iconOnly?: boolean;
|
|
@@ -2582,7 +3092,7 @@ declare interface Props {
|
|
|
2582
3092
|
stayOpen?: boolean;
|
|
2583
3093
|
}
|
|
2584
3094
|
|
|
2585
|
-
declare interface
|
|
3095
|
+
declare interface Props_12 {
|
|
2586
3096
|
email: string;
|
|
2587
3097
|
brand?: 'contentplate' | 'flowplate' | 'freddy';
|
|
2588
3098
|
loading?: boolean;
|
|
@@ -2590,19 +3100,113 @@ declare interface Props_2 {
|
|
|
2590
3100
|
resendCooldown?: number;
|
|
2591
3101
|
}
|
|
2592
3102
|
|
|
2593
|
-
declare interface
|
|
3103
|
+
declare interface Props_13 extends BaseInputProps {
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
declare interface Props_14 extends CardInputProps {
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
declare interface Props_15 extends DefaultInputProps {
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
declare interface Props_16 extends UnifiedInputFieldProps {
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
declare interface Props_17 extends PhoneInputProps {
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
declare interface Props_18 {
|
|
3119
|
+
modelValue?: string;
|
|
3120
|
+
label?: string;
|
|
3121
|
+
placeholder?: string;
|
|
3122
|
+
disabled?: boolean;
|
|
3123
|
+
readonly?: boolean;
|
|
3124
|
+
required?: boolean;
|
|
3125
|
+
showTooltip?: boolean;
|
|
3126
|
+
tooltipText?: string;
|
|
3127
|
+
showAiButton?: boolean;
|
|
3128
|
+
showTags?: boolean;
|
|
3129
|
+
tags?: string[];
|
|
3130
|
+
showAddTagsPlaceholder?: boolean;
|
|
3131
|
+
addTagsPlaceholder?: string;
|
|
3132
|
+
hintText?: string;
|
|
3133
|
+
hasError?: boolean;
|
|
3134
|
+
errorMessage?: string;
|
|
3135
|
+
modalTitle?: string;
|
|
3136
|
+
modalDescription?: string;
|
|
3137
|
+
openaiApiKey?: string;
|
|
3138
|
+
openaiModel?: string;
|
|
3139
|
+
openaiOrganization?: string;
|
|
3140
|
+
showUnderlines?: boolean;
|
|
3141
|
+
dynamicTitle?: string;
|
|
3142
|
+
showHint?: boolean;
|
|
3143
|
+
diffMode?: boolean;
|
|
3144
|
+
oldText?: string;
|
|
3145
|
+
newText?: string;
|
|
3146
|
+
tagsOnly?: boolean;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
declare interface Props_2 {
|
|
3150
|
+
imageUrl: string;
|
|
3151
|
+
isSelected?: boolean;
|
|
3152
|
+
altText?: string;
|
|
3153
|
+
backgroundColor?: string;
|
|
2594
3154
|
}
|
|
2595
3155
|
|
|
2596
|
-
declare interface
|
|
3156
|
+
declare interface Props_3 {
|
|
3157
|
+
avatars: Avatar_2[];
|
|
3158
|
+
title?: string;
|
|
3159
|
+
showSelectedInfo?: boolean;
|
|
3160
|
+
allowDeselect?: boolean;
|
|
3161
|
+
multiple?: boolean;
|
|
2597
3162
|
}
|
|
2598
3163
|
|
|
2599
|
-
declare interface
|
|
3164
|
+
declare interface Props_4 {
|
|
3165
|
+
title?: string;
|
|
3166
|
+
description?: string;
|
|
3167
|
+
icons?: Icon_2[];
|
|
3168
|
+
faces?: Face_2[];
|
|
3169
|
+
voices?: Voice_2[];
|
|
3170
|
+
searchPlaceholder?: string;
|
|
3171
|
+
cancelButtonText?: string;
|
|
3172
|
+
saveButtonText?: string;
|
|
3173
|
+
closeButtonAriaLabel?: string;
|
|
3174
|
+
searchButtonAriaLabel?: string;
|
|
3175
|
+
uploadButtonAriaLabel?: string;
|
|
3176
|
+
allowMultipleSelection?: boolean;
|
|
2600
3177
|
}
|
|
2601
3178
|
|
|
2602
|
-
declare interface
|
|
3179
|
+
declare interface Props_5 {
|
|
3180
|
+
rules?: Rule[];
|
|
3181
|
+
tabs?: RuleTab[];
|
|
3182
|
+
initialTab?: string;
|
|
3183
|
+
totalPages?: number;
|
|
2603
3184
|
}
|
|
2604
3185
|
|
|
2605
|
-
declare interface
|
|
3186
|
+
declare interface Props_6 {
|
|
3187
|
+
title?: string;
|
|
3188
|
+
badgeText?: string;
|
|
3189
|
+
isSelected?: boolean;
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
declare interface Props_7 {
|
|
3193
|
+
title?: string;
|
|
3194
|
+
dbCount?: number;
|
|
3195
|
+
searchPlaceholder?: string;
|
|
3196
|
+
frames?: VectorFrameData_2[];
|
|
3197
|
+
maxDisplayed?: number;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
declare interface Props_8 {
|
|
3201
|
+
voices: Voice_3[];
|
|
3202
|
+
title?: string;
|
|
3203
|
+
showSelectedInfo?: boolean;
|
|
3204
|
+
allowDeselect?: boolean;
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
|
+
declare interface Props_9 {
|
|
3208
|
+
voiceName: string;
|
|
3209
|
+
isSelected?: boolean;
|
|
2606
3210
|
}
|
|
2607
3211
|
|
|
2608
3212
|
/**
|
|
@@ -2626,69 +3230,74 @@ export declare interface Reference {
|
|
|
2626
3230
|
metadata?: Record<string, unknown>;
|
|
2627
3231
|
}
|
|
2628
3232
|
|
|
2629
|
-
/**
|
|
2630
|
-
* Rule interface for RulesManagement component
|
|
2631
|
-
*/
|
|
2632
3233
|
export declare interface Rule {
|
|
2633
|
-
|
|
2634
|
-
* Unique identifier for the rule
|
|
2635
|
-
*/
|
|
2636
|
-
id: string;
|
|
2637
|
-
/**
|
|
2638
|
-
* Rule title
|
|
2639
|
-
*/
|
|
3234
|
+
id: string | number;
|
|
2640
3235
|
title: string;
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
description: string;
|
|
2645
|
-
/**
|
|
2646
|
-
* Rule status (Active or Inactive)
|
|
2647
|
-
*/
|
|
2648
|
-
status: 'Active' | 'Inactive';
|
|
2649
|
-
/**
|
|
2650
|
-
* Number of dependent rules
|
|
2651
|
-
*/
|
|
3236
|
+
description?: string;
|
|
3237
|
+
isActive?: boolean;
|
|
3238
|
+
status: string;
|
|
2652
3239
|
dependencies: number;
|
|
2653
|
-
/**
|
|
2654
|
-
* Creator information
|
|
2655
|
-
*/
|
|
2656
3240
|
creator: RuleCreator;
|
|
2657
3241
|
}
|
|
2658
3242
|
|
|
2659
|
-
/**
|
|
2660
|
-
* Creator information for a rule
|
|
2661
|
-
*/
|
|
2662
3243
|
export declare interface RuleCreator {
|
|
2663
|
-
|
|
2664
|
-
* Creator's display name
|
|
2665
|
-
*/
|
|
3244
|
+
avatar: string;
|
|
2666
3245
|
name: string;
|
|
2667
|
-
/**
|
|
2668
|
-
* Creator's username
|
|
2669
|
-
*/
|
|
2670
3246
|
username: string;
|
|
2671
|
-
/**
|
|
2672
|
-
* Creator's avatar URL
|
|
2673
|
-
*/
|
|
2674
|
-
avatar: string;
|
|
2675
3247
|
}
|
|
2676
3248
|
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
3249
|
+
export declare const RulesManagement: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
3250
|
+
view: (rule: Rule) => any;
|
|
3251
|
+
search: (query: string) => any;
|
|
3252
|
+
edit: (rule: Rule) => any;
|
|
3253
|
+
createRule: () => any;
|
|
3254
|
+
tabChange: (tabId: string) => any;
|
|
3255
|
+
pageChange: (page: number) => any;
|
|
3256
|
+
}, string, PublicProps, Readonly<Props_5> & Readonly<{
|
|
3257
|
+
onView?: ((rule: Rule) => any) | undefined;
|
|
3258
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
3259
|
+
onEdit?: ((rule: Rule) => any) | undefined;
|
|
3260
|
+
onCreateRule?: (() => any) | undefined;
|
|
3261
|
+
onTabChange?: ((tabId: string) => any) | undefined;
|
|
3262
|
+
onPageChange?: ((page: number) => any) | undefined;
|
|
3263
|
+
}>, {
|
|
3264
|
+
rules: Rule[];
|
|
3265
|
+
tabs: RuleTab[];
|
|
3266
|
+
initialTab: string;
|
|
3267
|
+
totalPages: number;
|
|
3268
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3269
|
+
|
|
3270
|
+
export declare interface RulesManagementEmits {
|
|
3271
|
+
addRule: [];
|
|
3272
|
+
editRule: [rule: Rule];
|
|
3273
|
+
deleteRule: [ruleId: string | number];
|
|
3274
|
+
toggleRule: [ruleId: string | number, isActive: boolean];
|
|
3275
|
+
searchInput: [query: string];
|
|
3276
|
+
search: [query: string];
|
|
3277
|
+
createRule: [];
|
|
3278
|
+
tabChange: [tabId: string];
|
|
3279
|
+
edit: [rule: Rule];
|
|
3280
|
+
view: [rule: Rule];
|
|
3281
|
+
pageChange: [page: number];
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
export declare interface RulesManagementExpose {
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
export declare interface RulesManagementProps {
|
|
3288
|
+
rules?: Rule[];
|
|
3289
|
+
tabs?: RuleTab[];
|
|
3290
|
+
initialTab?: string;
|
|
3291
|
+
totalPages?: number;
|
|
3292
|
+
title?: string;
|
|
3293
|
+
addButtonText?: string;
|
|
3294
|
+
emptyStateText?: string;
|
|
3295
|
+
searchPlaceholder?: string;
|
|
3296
|
+
}
|
|
3297
|
+
|
|
2680
3298
|
export declare interface RuleTab {
|
|
2681
|
-
/**
|
|
2682
|
-
* Unique identifier for the tab
|
|
2683
|
-
*/
|
|
2684
3299
|
id: string;
|
|
2685
|
-
/**
|
|
2686
|
-
* Tab label
|
|
2687
|
-
*/
|
|
2688
3300
|
label: string;
|
|
2689
|
-
/**
|
|
2690
|
-
* Count of items in this tab
|
|
2691
|
-
*/
|
|
2692
3301
|
count: number;
|
|
2693
3302
|
}
|
|
2694
3303
|
|
|
@@ -2734,7 +3343,47 @@ declare interface SearchInputProps {
|
|
|
2734
3343
|
|
|
2735
3344
|
export declare const SendButton: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2736
3345
|
|
|
2737
|
-
export declare const
|
|
3346
|
+
export declare const SimpleChatInterface: DefineComponent<__VLS_Props_7, {
|
|
3347
|
+
addAIResponse: (content: string, changes?: {
|
|
3348
|
+
title?: string;
|
|
3349
|
+
description: string;
|
|
3350
|
+
added: number;
|
|
3351
|
+
removed: number;
|
|
3352
|
+
data?: any;
|
|
3353
|
+
}) => void;
|
|
3354
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
3355
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3356
|
+
send: (message: string) => any;
|
|
3357
|
+
acceptChanges: (message: IChatMessage) => any;
|
|
3358
|
+
denyChanges: (message: IChatMessage) => any;
|
|
3359
|
+
textReplacement: (data: {
|
|
3360
|
+
original?: string;
|
|
3361
|
+
improved: string;
|
|
3362
|
+
stats?: any;
|
|
3363
|
+
}) => any;
|
|
3364
|
+
textCompletion: (data: {
|
|
3365
|
+
original?: string;
|
|
3366
|
+
completion: string;
|
|
3367
|
+
}) => any;
|
|
3368
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
3369
|
+
onSend?: ((message: string) => any) | undefined;
|
|
3370
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
3371
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
3372
|
+
onTextReplacement?: ((data: {
|
|
3373
|
+
original?: string;
|
|
3374
|
+
improved: string;
|
|
3375
|
+
stats?: any;
|
|
3376
|
+
}) => any) | undefined;
|
|
3377
|
+
onTextCompletion?: ((data: {
|
|
3378
|
+
original?: string;
|
|
3379
|
+
completion: string;
|
|
3380
|
+
}) => any) | undefined;
|
|
3381
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3382
|
+
messagesContainer: HTMLDivElement;
|
|
3383
|
+
inputRef: HTMLTextAreaElement;
|
|
3384
|
+
}, HTMLDivElement>;
|
|
3385
|
+
|
|
3386
|
+
export declare const SkeletonLoader: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2738
3387
|
|
|
2739
3388
|
export declare const Slider: DefineComponent<SliderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2740
3389
|
"update:modelValue": (value: number) => any;
|
|
@@ -2744,11 +3393,11 @@ export declare const Slider: DefineComponent<SliderProps, {}, {}, {}, {}, Compon
|
|
|
2744
3393
|
"onUpdate:rangeValue"?: ((range: [number, number]) => any) | undefined;
|
|
2745
3394
|
}>, {
|
|
2746
3395
|
disabled: boolean;
|
|
2747
|
-
tooltipPlacement: "top" | "bottom" | "left" | "right";
|
|
2748
3396
|
range: boolean;
|
|
3397
|
+
step: number;
|
|
3398
|
+
tooltipPlacement: "top" | "bottom" | "left" | "right";
|
|
2749
3399
|
min: number;
|
|
2750
3400
|
max: number;
|
|
2751
|
-
step: number;
|
|
2752
3401
|
showValue: boolean;
|
|
2753
3402
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2754
3403
|
sliderTrack: HTMLDivElement;
|
|
@@ -2939,8 +3588,8 @@ click: (provider: SocialProvider, event: MouseEvent) => any;
|
|
|
2939
3588
|
}, string, PublicProps, Readonly<SocialButtonGroupProps> & Readonly<{
|
|
2940
3589
|
onClick?: ((provider: SocialProvider, event: MouseEvent) => any) | undefined;
|
|
2941
3590
|
}>, {
|
|
2942
|
-
size: SocialButtonSize;
|
|
2943
3591
|
disabled: boolean;
|
|
3592
|
+
size: SocialButtonSize;
|
|
2944
3593
|
iconOnly: boolean;
|
|
2945
3594
|
variant: SocialButtonVariant;
|
|
2946
3595
|
layout: SocialButtonLayout;
|
|
@@ -2988,11 +3637,11 @@ declare interface SpacemanLogoProps {
|
|
|
2988
3637
|
customStyle?: string | Record<string, string>;
|
|
2989
3638
|
}
|
|
2990
3639
|
|
|
2991
|
-
export declare const Spinner: DefineComponent<
|
|
3640
|
+
export declare const Spinner: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2992
3641
|
|
|
2993
|
-
export declare const Switch: DefineComponent<
|
|
3642
|
+
export declare const Switch: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2994
3643
|
"update:modelValue": (...args: any[]) => void;
|
|
2995
|
-
}, string, PublicProps, Readonly<
|
|
3644
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
2996
3645
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2997
3646
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
2998
3647
|
|
|
@@ -3096,6 +3745,242 @@ export declare type TestResult = {
|
|
|
3096
3745
|
pass: boolean;
|
|
3097
3746
|
};
|
|
3098
3747
|
|
|
3748
|
+
export declare const TextAreaInputField: DefineComponent<Props_18, {
|
|
3749
|
+
focus: () => void;
|
|
3750
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3751
|
+
blur: (event: FocusEvent) => any;
|
|
3752
|
+
focus: (event: FocusEvent) => any;
|
|
3753
|
+
input: (value: string) => any;
|
|
3754
|
+
"update:modelValue": (value: string) => any;
|
|
3755
|
+
"ask-ai": (content: string) => any;
|
|
3756
|
+
expand: (content: string) => any;
|
|
3757
|
+
"remove-tag": (index: number) => any;
|
|
3758
|
+
"tooltip-click": () => any;
|
|
3759
|
+
"add-tag": (tag: string) => any;
|
|
3760
|
+
"tags-click": () => any;
|
|
3761
|
+
}, string, PublicProps, Readonly<Props_18> & Readonly<{
|
|
3762
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
3763
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
3764
|
+
onInput?: ((value: string) => any) | undefined;
|
|
3765
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3766
|
+
"onAsk-ai"?: ((content: string) => any) | undefined;
|
|
3767
|
+
onExpand?: ((content: string) => any) | undefined;
|
|
3768
|
+
"onRemove-tag"?: ((index: number) => any) | undefined;
|
|
3769
|
+
"onTooltip-click"?: (() => any) | undefined;
|
|
3770
|
+
"onAdd-tag"?: ((tag: string) => any) | undefined;
|
|
3771
|
+
"onTags-click"?: (() => any) | undefined;
|
|
3772
|
+
}>, {
|
|
3773
|
+
label: string;
|
|
3774
|
+
placeholder: string;
|
|
3775
|
+
disabled: boolean;
|
|
3776
|
+
tags: string[];
|
|
3777
|
+
tooltipText: string;
|
|
3778
|
+
modelValue: string;
|
|
3779
|
+
readonly: boolean;
|
|
3780
|
+
required: boolean;
|
|
3781
|
+
openaiApiKey: string;
|
|
3782
|
+
openaiModel: string;
|
|
3783
|
+
openaiOrganization: string;
|
|
3784
|
+
showTooltip: boolean;
|
|
3785
|
+
showAiButton: boolean;
|
|
3786
|
+
showTags: boolean;
|
|
3787
|
+
showAddTagsPlaceholder: boolean;
|
|
3788
|
+
addTagsPlaceholder: string;
|
|
3789
|
+
hintText: string;
|
|
3790
|
+
hasError: boolean;
|
|
3791
|
+
errorMessage: string;
|
|
3792
|
+
modalTitle: string;
|
|
3793
|
+
modalDescription: string;
|
|
3794
|
+
showUnderlines: boolean;
|
|
3795
|
+
dynamicTitle: string;
|
|
3796
|
+
showHint: boolean;
|
|
3797
|
+
diffMode: boolean;
|
|
3798
|
+
oldText: string;
|
|
3799
|
+
newText: string;
|
|
3800
|
+
tagsOnly: boolean;
|
|
3801
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3802
|
+
textareaRef: HTMLTextAreaElement;
|
|
3803
|
+
aiModalRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
3804
|
+
isVisible: {
|
|
3805
|
+
type: BooleanConstructor;
|
|
3806
|
+
required: true;
|
|
3807
|
+
};
|
|
3808
|
+
title: {
|
|
3809
|
+
type: StringConstructor;
|
|
3810
|
+
default: string;
|
|
3811
|
+
};
|
|
3812
|
+
description: {
|
|
3813
|
+
type: StringConstructor;
|
|
3814
|
+
default: string;
|
|
3815
|
+
};
|
|
3816
|
+
initialContent: {
|
|
3817
|
+
type: StringConstructor;
|
|
3818
|
+
default: string;
|
|
3819
|
+
};
|
|
3820
|
+
openaiApiKey: {
|
|
3821
|
+
type: StringConstructor;
|
|
3822
|
+
default: string;
|
|
3823
|
+
};
|
|
3824
|
+
openaiModel: {
|
|
3825
|
+
type: StringConstructor;
|
|
3826
|
+
default: string;
|
|
3827
|
+
};
|
|
3828
|
+
openaiOrganization: {
|
|
3829
|
+
type: StringConstructor;
|
|
3830
|
+
default: string;
|
|
3831
|
+
};
|
|
3832
|
+
}>> & Readonly<{
|
|
3833
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
3834
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
3835
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
3836
|
+
onAskAI?: ((...args: any[]) => any) | undefined;
|
|
3837
|
+
onToggleAI?: ((...args: any[]) => any) | undefined;
|
|
3838
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3839
|
+
cancel: (...args: any[]) => void;
|
|
3840
|
+
close: (...args: any[]) => void;
|
|
3841
|
+
save: (...args: any[]) => void;
|
|
3842
|
+
askAI: (...args: any[]) => void;
|
|
3843
|
+
toggleAI: (...args: any[]) => void;
|
|
3844
|
+
}, PublicProps, {
|
|
3845
|
+
title: string;
|
|
3846
|
+
description: string;
|
|
3847
|
+
openaiApiKey: string;
|
|
3848
|
+
initialContent: string;
|
|
3849
|
+
openaiModel: string;
|
|
3850
|
+
openaiOrganization: string;
|
|
3851
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3852
|
+
chatRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3853
|
+
placeholder?: string;
|
|
3854
|
+
messages?: IChatMessage[];
|
|
3855
|
+
enableAI?: boolean;
|
|
3856
|
+
openaiApiKey?: string;
|
|
3857
|
+
textBoxContent?: string;
|
|
3858
|
+
}> & Readonly<{
|
|
3859
|
+
onSend?: ((message: string) => any) | undefined;
|
|
3860
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
3861
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
3862
|
+
onTextReplacement?: ((data: {
|
|
3863
|
+
original?: string;
|
|
3864
|
+
improved: string;
|
|
3865
|
+
stats?: any;
|
|
3866
|
+
}) => any) | undefined;
|
|
3867
|
+
onTextCompletion?: ((data: {
|
|
3868
|
+
original?: string;
|
|
3869
|
+
completion: string;
|
|
3870
|
+
}) => any) | undefined;
|
|
3871
|
+
}>, {
|
|
3872
|
+
addAIResponse: (content: string, changes?: {
|
|
3873
|
+
title?: string;
|
|
3874
|
+
description: string;
|
|
3875
|
+
added: number;
|
|
3876
|
+
removed: number;
|
|
3877
|
+
data?: any;
|
|
3878
|
+
}) => void;
|
|
3879
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
3880
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3881
|
+
send: (message: string) => any;
|
|
3882
|
+
acceptChanges: (message: IChatMessage) => any;
|
|
3883
|
+
denyChanges: (message: IChatMessage) => any;
|
|
3884
|
+
textReplacement: (data: {
|
|
3885
|
+
original?: string;
|
|
3886
|
+
improved: string;
|
|
3887
|
+
stats?: any;
|
|
3888
|
+
}) => any;
|
|
3889
|
+
textCompletion: (data: {
|
|
3890
|
+
original?: string;
|
|
3891
|
+
completion: string;
|
|
3892
|
+
}) => any;
|
|
3893
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
3894
|
+
messagesContainer: HTMLDivElement;
|
|
3895
|
+
inputRef: HTMLTextAreaElement;
|
|
3896
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
3897
|
+
P: {};
|
|
3898
|
+
B: {};
|
|
3899
|
+
D: {};
|
|
3900
|
+
C: {};
|
|
3901
|
+
M: {};
|
|
3902
|
+
Defaults: {};
|
|
3903
|
+
}, Readonly<{
|
|
3904
|
+
placeholder?: string;
|
|
3905
|
+
messages?: IChatMessage[];
|
|
3906
|
+
enableAI?: boolean;
|
|
3907
|
+
openaiApiKey?: string;
|
|
3908
|
+
textBoxContent?: string;
|
|
3909
|
+
}> & Readonly<{
|
|
3910
|
+
onSend?: ((message: string) => any) | undefined;
|
|
3911
|
+
onAcceptChanges?: ((message: IChatMessage) => any) | undefined;
|
|
3912
|
+
onDenyChanges?: ((message: IChatMessage) => any) | undefined;
|
|
3913
|
+
onTextReplacement?: ((data: {
|
|
3914
|
+
original?: string;
|
|
3915
|
+
improved: string;
|
|
3916
|
+
stats?: any;
|
|
3917
|
+
}) => any) | undefined;
|
|
3918
|
+
onTextCompletion?: ((data: {
|
|
3919
|
+
original?: string;
|
|
3920
|
+
completion: string;
|
|
3921
|
+
}) => any) | undefined;
|
|
3922
|
+
}>, {
|
|
3923
|
+
addAIResponse: (content: string, changes?: {
|
|
3924
|
+
title?: string;
|
|
3925
|
+
description: string;
|
|
3926
|
+
added: number;
|
|
3927
|
+
removed: number;
|
|
3928
|
+
data?: any;
|
|
3929
|
+
}) => void;
|
|
3930
|
+
addAIResponseFromApi: (apiResponse: any) => void;
|
|
3931
|
+
}, {}, {}, {}, {}> | null;
|
|
3932
|
+
}, any, ComponentProvideOptions, {
|
|
3933
|
+
P: {};
|
|
3934
|
+
B: {};
|
|
3935
|
+
D: {};
|
|
3936
|
+
C: {};
|
|
3937
|
+
M: {};
|
|
3938
|
+
Defaults: {};
|
|
3939
|
+
}, Readonly<ExtractPropTypes< {
|
|
3940
|
+
isVisible: {
|
|
3941
|
+
type: BooleanConstructor;
|
|
3942
|
+
required: true;
|
|
3943
|
+
};
|
|
3944
|
+
title: {
|
|
3945
|
+
type: StringConstructor;
|
|
3946
|
+
default: string;
|
|
3947
|
+
};
|
|
3948
|
+
description: {
|
|
3949
|
+
type: StringConstructor;
|
|
3950
|
+
default: string;
|
|
3951
|
+
};
|
|
3952
|
+
initialContent: {
|
|
3953
|
+
type: StringConstructor;
|
|
3954
|
+
default: string;
|
|
3955
|
+
};
|
|
3956
|
+
openaiApiKey: {
|
|
3957
|
+
type: StringConstructor;
|
|
3958
|
+
default: string;
|
|
3959
|
+
};
|
|
3960
|
+
openaiModel: {
|
|
3961
|
+
type: StringConstructor;
|
|
3962
|
+
default: string;
|
|
3963
|
+
};
|
|
3964
|
+
openaiOrganization: {
|
|
3965
|
+
type: StringConstructor;
|
|
3966
|
+
default: string;
|
|
3967
|
+
};
|
|
3968
|
+
}>> & Readonly<{
|
|
3969
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
3970
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
3971
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
3972
|
+
onAskAI?: ((...args: any[]) => any) | undefined;
|
|
3973
|
+
onToggleAI?: ((...args: any[]) => any) | undefined;
|
|
3974
|
+
}>, {}, {}, {}, {}, {
|
|
3975
|
+
title: string;
|
|
3976
|
+
description: string;
|
|
3977
|
+
openaiApiKey: string;
|
|
3978
|
+
initialContent: string;
|
|
3979
|
+
openaiModel: string;
|
|
3980
|
+
openaiOrganization: string;
|
|
3981
|
+
}> | null;
|
|
3982
|
+
}, HTMLDivElement>;
|
|
3983
|
+
|
|
3099
3984
|
declare interface Toast {
|
|
3100
3985
|
message: string;
|
|
3101
3986
|
toastType: "success" | "danger" | "info";
|
|
@@ -3349,6 +4234,79 @@ export declare const useToast: () => {
|
|
|
3349
4234
|
hasToasts: ComputedRef<boolean>;
|
|
3350
4235
|
};
|
|
3351
4236
|
|
|
4237
|
+
export declare const VectorFrame: DefineComponent<Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4238
|
+
click: (event: MouseEvent) => any;
|
|
4239
|
+
}, string, PublicProps, Readonly<Props_6> & Readonly<{
|
|
4240
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
4241
|
+
}>, {
|
|
4242
|
+
title: string;
|
|
4243
|
+
isSelected: boolean;
|
|
4244
|
+
badgeText: string;
|
|
4245
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4246
|
+
|
|
4247
|
+
export declare interface VectorFrameData {
|
|
4248
|
+
id?: string | number;
|
|
4249
|
+
title: string;
|
|
4250
|
+
badgeText?: string;
|
|
4251
|
+
isSelected?: boolean;
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4254
|
+
declare interface VectorFrameData_2 {
|
|
4255
|
+
id?: string | number;
|
|
4256
|
+
title: string;
|
|
4257
|
+
badgeText?: string;
|
|
4258
|
+
isSelected?: boolean;
|
|
4259
|
+
}
|
|
4260
|
+
|
|
4261
|
+
export declare interface VectorFrameEmits {
|
|
4262
|
+
click: [event: MouseEvent];
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
export declare interface VectorFrameExpose {
|
|
4266
|
+
}
|
|
4267
|
+
|
|
4268
|
+
export declare interface VectorFrameProps {
|
|
4269
|
+
title?: string;
|
|
4270
|
+
badgeText?: string;
|
|
4271
|
+
isSelected?: boolean;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
export declare const VectorSection: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4275
|
+
searchInput: (query: string) => any;
|
|
4276
|
+
frameClick: (frame: VectorFrameData_2, index: number) => any;
|
|
4277
|
+
addVectorStore: () => any;
|
|
4278
|
+
showMore: () => any;
|
|
4279
|
+
}, string, PublicProps, Readonly<Props_7> & Readonly<{
|
|
4280
|
+
onSearchInput?: ((query: string) => any) | undefined;
|
|
4281
|
+
onFrameClick?: ((frame: VectorFrameData_2, index: number) => any) | undefined;
|
|
4282
|
+
onAddVectorStore?: (() => any) | undefined;
|
|
4283
|
+
onShowMore?: (() => any) | undefined;
|
|
4284
|
+
}>, {
|
|
4285
|
+
title: string;
|
|
4286
|
+
searchPlaceholder: string;
|
|
4287
|
+
dbCount: number;
|
|
4288
|
+
frames: VectorFrameData_2[];
|
|
4289
|
+
maxDisplayed: number;
|
|
4290
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4291
|
+
|
|
4292
|
+
export declare interface VectorSectionEmits {
|
|
4293
|
+
frameClick: [frame: VectorFrameData, index: number];
|
|
4294
|
+
addVectorStore: [];
|
|
4295
|
+
showMore: [];
|
|
4296
|
+
searchInput: [query: string];
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
export declare interface VectorSectionExpose {
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
export declare interface VectorSectionProps {
|
|
4303
|
+
title?: string;
|
|
4304
|
+
dbCount?: number;
|
|
4305
|
+
searchPlaceholder?: string;
|
|
4306
|
+
frames?: VectorFrameData[];
|
|
4307
|
+
maxDisplayed?: number;
|
|
4308
|
+
}
|
|
4309
|
+
|
|
3352
4310
|
export declare type VerticalTabSize = 'sm' | 'md';
|
|
3353
4311
|
|
|
3354
4312
|
export declare type VerticalTabType = 'button-primary' | 'button-gray' | 'button-border' | 'line';
|
|
@@ -3358,12 +4316,75 @@ export declare const vFrSanitize: {
|
|
|
3358
4316
|
updated(el: HTMLElement, binding: DirectiveBinding): void;
|
|
3359
4317
|
};
|
|
3360
4318
|
|
|
4319
|
+
export declare interface Voice {
|
|
4320
|
+
id: string | number;
|
|
4321
|
+
name: string;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
declare interface Voice_2 {
|
|
4325
|
+
id: string | number;
|
|
4326
|
+
name: string;
|
|
4327
|
+
}
|
|
4328
|
+
|
|
4329
|
+
declare interface Voice_3 {
|
|
4330
|
+
id: string | number;
|
|
4331
|
+
name: string;
|
|
4332
|
+
}
|
|
4333
|
+
|
|
4334
|
+
export declare const VoiceList: DefineComponent<Props_8, {
|
|
4335
|
+
selectedVoiceId: Ref<string | number | null, string | number | null>;
|
|
4336
|
+
selectedVoice: ComputedRef<Voice_3 | null>;
|
|
4337
|
+
selectVoice: (id: string | number) => void;
|
|
4338
|
+
clearSelection: () => void;
|
|
4339
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4340
|
+
selectionChange: (selectedId: string | number | null) => any;
|
|
4341
|
+
voiceClick: (voiceId: string | number, isSelected: boolean) => any;
|
|
4342
|
+
}, string, PublicProps, Readonly<Props_8> & Readonly<{
|
|
4343
|
+
onSelectionChange?: ((selectedId: string | number | null) => any) | undefined;
|
|
4344
|
+
onVoiceClick?: ((voiceId: string | number, isSelected: boolean) => any) | undefined;
|
|
4345
|
+
}>, {
|
|
4346
|
+
title: string;
|
|
4347
|
+
showSelectedInfo: boolean;
|
|
4348
|
+
allowDeselect: boolean;
|
|
4349
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4350
|
+
|
|
4351
|
+
export declare interface VoiceListEmits {
|
|
4352
|
+
selectionChange: [selectedId: string | number | null];
|
|
4353
|
+
voiceClick: [voiceId: string | number, isSelected: boolean];
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
export declare interface VoiceListExpose {
|
|
4357
|
+
selectedVoiceId: Ref<string | number | null>;
|
|
4358
|
+
selectedVoice: ComputedRef<Voice | null>;
|
|
4359
|
+
selectVoice: (id: string | number) => void;
|
|
4360
|
+
clearSelection: () => void;
|
|
4361
|
+
}
|
|
4362
|
+
|
|
4363
|
+
export declare interface VoiceListProps {
|
|
4364
|
+
voices: Voice[];
|
|
4365
|
+
title?: string;
|
|
4366
|
+
showSelectedInfo?: boolean;
|
|
4367
|
+
allowDeselect?: boolean;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
export declare const VoiceSelection: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4371
|
+
handleClick: (event: MouseEvent) => any;
|
|
4372
|
+
}, string, PublicProps, Readonly<Props_9> & Readonly<{
|
|
4373
|
+
onHandleClick?: ((event: MouseEvent) => any) | undefined;
|
|
4374
|
+
}>, {
|
|
4375
|
+
isSelected: boolean;
|
|
4376
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4377
|
+
|
|
4378
|
+
export declare interface VoiceSelectionEmits {
|
|
4379
|
+
handleClick: [event: MouseEvent];
|
|
4380
|
+
}
|
|
4381
|
+
|
|
4382
|
+
export declare interface VoiceSelectionExpose {
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
export declare interface VoiceSelectionProps {
|
|
4386
|
+
voiceName: string;
|
|
4387
|
+
isSelected?: boolean;
|
|
4388
|
+
}
|
|
4389
|
+
|
|
3361
4390
|
export { }
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
declare module '@vue/runtime-core' {
|
|
3365
|
-
interface ComponentCustomProperties {
|
|
3366
|
-
$themeService: ReturnType<typeof useThemeService>;
|
|
3367
|
-
$theme: ReturnType<typeof useThemeService>;
|
|
3368
|
-
}
|
|
3369
|
-
}
|