@aitronos/freddy-plugins 0.4.16 → 0.4.18

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
@@ -3,20 +3,50 @@ 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 { DirectiveBinding } from 'vue';
8
9
  import { ExtractPropTypes } from 'vue';
9
10
  import { FlowplateEnvironmentConfig } from '../../config/environments';
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';
16
+ import { Reference as Reference_2 } from '../..';
13
17
 
14
18
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
19
 
16
- declare const __VLS_component_2: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
+ declare const __VLS_component_2: DefineComponent<Props, {
21
+ execute: (customData?: any) => Promise<void>;
22
+ retry: () => void;
23
+ loading: ComputedRef<boolean>;
24
+ error: ComputedRef<string | null>;
25
+ success: ComputedRef<boolean>;
26
+ data: ComputedRef<any>;
27
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
28
+ success: (data: any) => any;
29
+ loading: (loading: boolean) => any;
30
+ error: (error: string) => any;
31
+ complete: () => any;
32
+ }, string, PublicProps, Readonly<Props> & Readonly<{
33
+ onSuccess?: ((data: any) => any) | undefined;
34
+ onLoading?: ((loading: boolean) => any) | undefined;
35
+ onError?: ((error: string) => any) | undefined;
36
+ onComplete?: (() => any) | undefined;
37
+ }>, {
38
+ size: "sm" | "md" | "lg";
39
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
40
+ showRetry: boolean;
41
+ showSuccess: boolean;
42
+ autoExecute: boolean;
43
+ variant: "default" | "card" | "minimal";
44
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
45
+
46
+ declare const __VLS_component_3: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
47
  click: (event: MouseEvent) => any;
18
48
  hoverIconClick: (event: MouseEvent) => any;
19
- }, string, PublicProps, Readonly<Props> & Readonly<{
49
+ }, string, PublicProps, Readonly<Props_2> & Readonly<{
20
50
  onClick?: ((event: MouseEvent) => any) | undefined;
21
51
  onHoverIconClick?: ((event: MouseEvent) => any) | undefined;
22
52
  }>, {
@@ -36,16 +66,39 @@ declare const __VLS_component_2: DefineComponent<Props, {}, {}, {}, {}, Componen
36
66
  tooltipPlacement: "top" | "bottom" | "left" | "right";
37
67
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
38
68
 
39
- declare const __VLS_component_3: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
69
+ declare const __VLS_component_4: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
70
+ error: (details: {
71
+ message: string;
72
+ stack?: string;
73
+ componentName: string;
74
+ errorInfo: string;
75
+ timestamp: string;
76
+ }) => any;
77
+ retry: () => any;
78
+ }, string, PublicProps, Readonly<Props_5> & Readonly<{
79
+ onError?: ((details: {
80
+ message: string;
81
+ stack?: string;
82
+ componentName: string;
83
+ errorInfo: string;
84
+ timestamp: string;
85
+ }) => any) | undefined;
86
+ onRetry?: (() => any) | undefined;
87
+ }>, {
88
+ fallbackMessage: string;
89
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
90
+
91
+ declare const __VLS_component_5: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
40
92
  select: (value: Option_2) => any;
41
93
  toggle: (value: Option_2) => any;
42
- }, string, PublicProps, Readonly<Props_2> & Readonly<{
94
+ }, string, PublicProps, Readonly<Props_7> & Readonly<{
43
95
  onSelect?: ((value: Option_2) => any) | undefined;
44
96
  onToggle?: ((value: Option_2) => any) | undefined;
45
97
  }>, {
46
98
  size: "s" | "sm" | "md" | "lg" | "xl";
47
99
  label: string;
48
100
  iconOnly: boolean;
101
+ variant: "primary" | "secondary" | "blanc";
49
102
  options: Option_2[];
50
103
  searchable: boolean;
51
104
  searchPlaceholder: string;
@@ -59,17 +112,24 @@ declare const __VLS_component_3: DefineComponent<Props_2, {}, {}, {}, {}, Compon
59
112
  borderRadius: string;
60
113
  activeBackground: string;
61
114
  openBackground: string;
62
- variant: "primary" | "secondary" | "blanc";
63
115
  stayOpen: boolean;
64
116
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
65
117
 
66
- declare const __VLS_component_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
118
+ declare const __VLS_component_6: DefineComponent<Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_13> & Readonly<{}>, {
119
+ brand: "contentplate" | "flowplate" | "freddy";
120
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
121
+
122
+ declare const __VLS_component_7: DefineComponent<Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_14> & Readonly<{}>, {
123
+ brand: "contentplate" | "flowplate" | "freddy";
124
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
125
+
126
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
67
127
  close: (...args: any[]) => void;
68
- }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
128
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
69
129
  onClose?: ((...args: any[]) => any) | undefined;
70
130
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
71
131
 
72
- declare const __VLS_component_5: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
132
+ declare const __VLS_component_9: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
73
133
  tooltipWrapper: HTMLDivElement;
74
134
  }, HTMLDivElement>;
75
135
 
@@ -78,12 +138,40 @@ declare type __VLS_Props = {
78
138
  largeModel: boolean;
79
139
  };
80
140
 
141
+ declare type __VLS_Props_10 = {
142
+ customClass?: string;
143
+ };
144
+
145
+ declare type __VLS_Props_11 = {
146
+ modelValue: boolean;
147
+ disabled?: boolean;
148
+ size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
149
+ };
150
+
81
151
  declare type __VLS_Props_2 = {
152
+ messages: IMessage[];
153
+ };
154
+
155
+ declare type __VLS_Props_3 = {
156
+ references?: Reference[];
157
+ reference?: Reference;
158
+ variant?: "dropdown" | "preview";
159
+ size?: "s" | "sm" | "md" | "lg" | "xl";
160
+ readonly?: boolean;
161
+ };
162
+
163
+ declare type __VLS_Props_4 = {
164
+ contextData?: Reference[];
165
+ readonly?: boolean;
166
+ size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
167
+ };
168
+
169
+ declare type __VLS_Props_5 = {
82
170
  code: string;
83
171
  language: string;
84
172
  };
85
173
 
86
- declare type __VLS_Props_3 = {
174
+ declare type __VLS_Props_6 = {
87
175
  isChecked: boolean;
88
176
  isDashInput?: boolean;
89
177
  blueCheckbox?: boolean;
@@ -91,34 +179,24 @@ declare type __VLS_Props_3 = {
91
179
  ariaLabel?: string;
92
180
  };
93
181
 
94
- declare type __VLS_Props_4 = {
182
+ declare type __VLS_Props_7 = {
95
183
  modalTitle: string;
96
184
  headerClass: string;
97
185
  disableClickOutside?: boolean;
98
186
  };
99
187
 
100
- declare type __VLS_Props_5 = {
188
+ declare type __VLS_Props_8 = {
101
189
  disabled?: boolean;
102
190
  active?: boolean;
103
191
  size?: "s" | "sm" | "md" | "lg" | "xl";
104
192
  };
105
193
 
106
- declare type __VLS_Props_6 = {
194
+ declare type __VLS_Props_9 = {
107
195
  type: SkeletonType;
108
196
  hasHeader?: boolean;
109
197
  count?: number;
110
198
  };
111
199
 
112
- declare type __VLS_Props_7 = {
113
- customClass?: string;
114
- };
115
-
116
- declare type __VLS_Props_8 = {
117
- modelValue: boolean;
118
- disabled?: boolean;
119
- size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
120
- };
121
-
122
200
  declare function __VLS_template(): {
123
201
  attrs: Partial<{}>;
124
202
  slots: {
@@ -131,6 +209,15 @@ declare function __VLS_template(): {
131
209
  };
132
210
 
133
211
  declare function __VLS_template_2(): {
212
+ attrs: Partial<{}>;
213
+ slots: {
214
+ default?(_: {}): any;
215
+ };
216
+ refs: {};
217
+ rootEl: HTMLDivElement;
218
+ };
219
+
220
+ declare function __VLS_template_3(): {
134
221
  attrs: Partial<{}>;
135
222
  slots: {
136
223
  default?(_: {}): any;
@@ -142,7 +229,16 @@ declare function __VLS_template_2(): {
142
229
  rootEl: any;
143
230
  };
144
231
 
145
- declare function __VLS_template_3(): {
232
+ declare function __VLS_template_4(): {
233
+ attrs: Partial<{}>;
234
+ slots: {
235
+ default?(_: {}): any;
236
+ };
237
+ refs: {};
238
+ rootEl: any;
239
+ };
240
+
241
+ declare function __VLS_template_5(): {
146
242
  attrs: Partial<{}>;
147
243
  slots: {
148
244
  button?(_: {}): any;
@@ -152,7 +248,25 @@ declare function __VLS_template_3(): {
152
248
  rootEl: HTMLDivElement;
153
249
  };
154
250
 
155
- declare function __VLS_template_4(): {
251
+ declare function __VLS_template_6(): {
252
+ attrs: Partial<{}>;
253
+ slots: {
254
+ default?(_: {}): any;
255
+ };
256
+ refs: {};
257
+ rootEl: HTMLDivElement;
258
+ };
259
+
260
+ declare function __VLS_template_7(): {
261
+ attrs: Partial<{}>;
262
+ slots: {
263
+ default?(_: {}): any;
264
+ };
265
+ refs: {};
266
+ rootEl: HTMLDivElement;
267
+ };
268
+
269
+ declare function __VLS_template_8(): {
156
270
  attrs: Partial<{}>;
157
271
  slots: {
158
272
  content?(_: {}): any;
@@ -161,7 +275,7 @@ declare function __VLS_template_4(): {
161
275
  rootEl: HTMLDivElement;
162
276
  };
163
277
 
164
- declare function __VLS_template_5(): {
278
+ declare function __VLS_template_9(): {
165
279
  attrs: Partial<{}>;
166
280
  slots: {
167
281
  default?(_: {}): any;
@@ -183,6 +297,14 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
183
297
 
184
298
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
185
299
 
300
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
301
+
302
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
303
+
304
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
305
+
306
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
307
+
186
308
  declare type __VLS_WithTemplateSlots<T, S> = T & {
187
309
  new (): {
188
310
  $slots: S;
@@ -213,10 +335,51 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
213
335
  };
214
336
  };
215
337
 
338
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
339
+ new (): {
340
+ $slots: S;
341
+ };
342
+ };
343
+
344
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
345
+ new (): {
346
+ $slots: S;
347
+ };
348
+ };
349
+
350
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
351
+ new (): {
352
+ $slots: S;
353
+ };
354
+ };
355
+
356
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
357
+ new (): {
358
+ $slots: S;
359
+ };
360
+ };
361
+
216
362
  export declare const AdvancedModal: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
217
363
 
218
364
  export declare const AnimeSpaceman: DefineComponent<SpacemanLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SpacemanLogoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
219
365
 
366
+ export declare const ApiInteraction: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
367
+
368
+ export declare const AuthCard: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
369
+
370
+ export declare const AuthContainer: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
371
+
372
+ export declare const AuthManager: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
373
+ "login-success": (email: string) => any;
374
+ "register-success": (email: string) => any;
375
+ }, string, PublicProps, Readonly<Props_10> & Readonly<{
376
+ "onLogin-success"?: ((email: string) => any) | undefined;
377
+ "onRegister-success"?: ((email: string) => any) | undefined;
378
+ }>, {
379
+ initialEmail: string;
380
+ initialView: "login" | "register";
381
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
382
+
220
383
  export declare abstract class BaseFlowplateApiService {
221
384
  protected baseUrl: string;
222
385
  protected timeout: number;
@@ -238,7 +401,7 @@ export declare abstract class BaseFlowplateApiService {
238
401
  }>): Promise<IFlowplateApiResponse[]>;
239
402
  }
240
403
 
241
- export declare const Button: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
404
+ export declare const Button: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
242
405
 
243
406
  /**
244
407
  * Calculates the percentage of a partial value relative to a total value.
@@ -248,9 +411,502 @@ export declare const Button: __VLS_WithTemplateSlots_2<typeof __VLS_component_2,
248
411
  */
249
412
  export declare const calculatePercentage: (partialValue: number, totalValue: number) => string;
250
413
 
414
+ export declare const ChatInput: DefineComponent<ExtractPropTypes< {
415
+ placeholder: {
416
+ type: StringConstructor;
417
+ default: () => string;
418
+ };
419
+ disabled: {
420
+ type: BooleanConstructor;
421
+ default: () => boolean;
422
+ };
423
+ minLength: {
424
+ type: NumberConstructor;
425
+ default: () => number;
426
+ };
427
+ size: {
428
+ type: () => "s" | "sm" | "md" | "lg" | "xl";
429
+ default: () => string;
430
+ };
431
+ assistants: {
432
+ type: () => Array<{
433
+ name: string;
434
+ id: string;
435
+ description?: string;
436
+ default?: boolean;
437
+ }>;
438
+ default: () => never[];
439
+ };
440
+ models: {
441
+ type: () => Array<{
442
+ name: string;
443
+ id: string;
444
+ description?: string;
445
+ default?: boolean;
446
+ }>;
447
+ default: () => never[];
448
+ };
449
+ contextData: {
450
+ type: () => Reference[];
451
+ default: () => {
452
+ id: string;
453
+ type: string;
454
+ name: string;
455
+ path: string;
456
+ }[];
457
+ };
458
+ }>, {
459
+ focus: () => void;
460
+ showErrorBanner: (message: string) => void;
461
+ hideError: () => void;
462
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
463
+ "update:modelValue": (value: string) => any;
464
+ send: (message: string) => any;
465
+ sendWithContext: (message: string, context: Reference[]) => any;
466
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
467
+ placeholder: {
468
+ type: StringConstructor;
469
+ default: () => string;
470
+ };
471
+ disabled: {
472
+ type: BooleanConstructor;
473
+ default: () => boolean;
474
+ };
475
+ minLength: {
476
+ type: NumberConstructor;
477
+ default: () => number;
478
+ };
479
+ size: {
480
+ type: () => "s" | "sm" | "md" | "lg" | "xl";
481
+ default: () => string;
482
+ };
483
+ assistants: {
484
+ type: () => Array<{
485
+ name: string;
486
+ id: string;
487
+ description?: string;
488
+ default?: boolean;
489
+ }>;
490
+ default: () => never[];
491
+ };
492
+ models: {
493
+ type: () => Array<{
494
+ name: string;
495
+ id: string;
496
+ description?: string;
497
+ default?: boolean;
498
+ }>;
499
+ default: () => never[];
500
+ };
501
+ contextData: {
502
+ type: () => Reference[];
503
+ default: () => {
504
+ id: string;
505
+ type: string;
506
+ name: string;
507
+ path: string;
508
+ }[];
509
+ };
510
+ }>> & Readonly<{
511
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
512
+ onSend?: ((message: string) => any) | undefined;
513
+ onSendWithContext?: ((message: string, context: Reference[]) => any) | undefined;
514
+ }>, {
515
+ size: "s" | "sm" | "md" | "lg" | "xl";
516
+ placeholder: string;
517
+ disabled: boolean;
518
+ contextData: Reference[];
519
+ minLength: number;
520
+ assistants: {
521
+ name: string;
522
+ id: string;
523
+ description?: string;
524
+ default?: boolean;
525
+ }[];
526
+ models: {
527
+ name: string;
528
+ id: string;
529
+ description?: string;
530
+ default?: boolean;
531
+ }[];
532
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
533
+ contextManagerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
534
+ contextData?: Reference[];
535
+ readonly?: boolean;
536
+ size?: "s" | "sm" | "md" | "lg" | "xl";
537
+ }> & Readonly<{}>, {
538
+ selectedReferences: Ref< {
539
+ id: string;
540
+ title?: string | undefined;
541
+ name?: string | undefined;
542
+ description?: string | undefined;
543
+ url?: string | undefined;
544
+ type?: string | undefined;
545
+ path?: string | undefined;
546
+ metadata?: Record<string, unknown> | undefined;
547
+ }[], Reference[] | {
548
+ id: string;
549
+ title?: string | undefined;
550
+ name?: string | undefined;
551
+ description?: string | undefined;
552
+ url?: string | undefined;
553
+ type?: string | undefined;
554
+ path?: string | undefined;
555
+ metadata?: Record<string, unknown> | undefined;
556
+ }[]>;
557
+ filteredAvailableReferences: ComputedRef< {
558
+ id: string;
559
+ title?: string | undefined;
560
+ name?: string | undefined;
561
+ description?: string | undefined;
562
+ url?: string | undefined;
563
+ type?: string | undefined;
564
+ path?: string | undefined;
565
+ metadata?: Record<string, unknown> | undefined;
566
+ }[]>;
567
+ handleSelect: (ref: Reference) => void;
568
+ handleRemove: (ref: Reference) => void;
569
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
570
+ P: {};
571
+ B: {};
572
+ D: {};
573
+ C: {};
574
+ M: {};
575
+ Defaults: {};
576
+ }, Readonly<{
577
+ contextData?: Reference[];
578
+ readonly?: boolean;
579
+ size?: "s" | "sm" | "md" | "lg" | "xl";
580
+ }> & Readonly<{}>, {
581
+ selectedReferences: Ref< {
582
+ id: string;
583
+ title?: string | undefined;
584
+ name?: string | undefined;
585
+ description?: string | undefined;
586
+ url?: string | undefined;
587
+ type?: string | undefined;
588
+ path?: string | undefined;
589
+ metadata?: Record<string, unknown> | undefined;
590
+ }[], Reference[] | {
591
+ id: string;
592
+ title?: string | undefined;
593
+ name?: string | undefined;
594
+ description?: string | undefined;
595
+ url?: string | undefined;
596
+ type?: string | undefined;
597
+ path?: string | undefined;
598
+ metadata?: Record<string, unknown> | undefined;
599
+ }[]>;
600
+ filteredAvailableReferences: ComputedRef< {
601
+ id: string;
602
+ title?: string | undefined;
603
+ name?: string | undefined;
604
+ description?: string | undefined;
605
+ url?: string | undefined;
606
+ type?: string | undefined;
607
+ path?: string | undefined;
608
+ metadata?: Record<string, unknown> | undefined;
609
+ }[]>;
610
+ handleSelect: (ref: Reference) => void;
611
+ handleRemove: (ref: Reference) => void;
612
+ }, {}, {}, {}, {}> | null;
613
+ chatInput: HTMLTextAreaElement;
614
+ }, HTMLDivElement>;
615
+
616
+ export declare const ChatInterface: DefineComponent<IChatInterfaceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
617
+ send: (message: string) => any;
618
+ sendWithContext: (message: string, context: string[]) => any;
619
+ }, string, PublicProps, Readonly<IChatInterfaceProps> & Readonly<{
620
+ onSend?: ((message: string) => any) | undefined;
621
+ onSendWithContext?: ((message: string, context: string[]) => any) | undefined;
622
+ }>, {
623
+ size: "s" | "sm" | "md" | "lg" | "xl";
624
+ placeholder: string;
625
+ messages: IMessage[];
626
+ fileSearch: boolean;
627
+ webSearch: boolean;
628
+ apiKey: string;
629
+ apiBaseUrl: string;
630
+ organizationId: string;
631
+ debugMode: boolean;
632
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
633
+ messagesContainer: HTMLDivElement;
634
+ chatInputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
635
+ placeholder: {
636
+ type: StringConstructor;
637
+ default: () => string;
638
+ };
639
+ disabled: {
640
+ type: BooleanConstructor;
641
+ default: () => boolean;
642
+ };
643
+ minLength: {
644
+ type: NumberConstructor;
645
+ default: () => number;
646
+ };
647
+ size: {
648
+ type: () => "s" | "sm" | "md" | "lg" | "xl";
649
+ default: () => string;
650
+ };
651
+ assistants: {
652
+ type: () => Array<{
653
+ name: string;
654
+ id: string;
655
+ description?: string;
656
+ default?: boolean;
657
+ }>;
658
+ default: () => never[];
659
+ };
660
+ models: {
661
+ type: () => Array<{
662
+ name: string;
663
+ id: string;
664
+ description?: string;
665
+ default?: boolean;
666
+ }>;
667
+ default: () => never[];
668
+ };
669
+ contextData: {
670
+ type: () => Reference_2[];
671
+ default: () => {
672
+ id: string;
673
+ type: string;
674
+ name: string;
675
+ path: string;
676
+ }[];
677
+ };
678
+ }>> & Readonly<{
679
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
680
+ onSend?: ((message: string) => any) | undefined;
681
+ onSendWithContext?: ((message: string, context: Reference_2[]) => any) | undefined;
682
+ }>, {
683
+ focus: () => void;
684
+ showErrorBanner: (message: string) => void;
685
+ hideError: () => void;
686
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
687
+ "update:modelValue": (value: string) => any;
688
+ send: (message: string) => any;
689
+ sendWithContext: (message: string, context: Reference_2[]) => any;
690
+ }, PublicProps, {
691
+ size: "s" | "sm" | "md" | "lg" | "xl";
692
+ placeholder: string;
693
+ disabled: boolean;
694
+ contextData: Reference_2[];
695
+ minLength: number;
696
+ assistants: {
697
+ name: string;
698
+ id: string;
699
+ description?: string;
700
+ default?: boolean;
701
+ }[];
702
+ models: {
703
+ name: string;
704
+ id: string;
705
+ description?: string;
706
+ default?: boolean;
707
+ }[];
708
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
709
+ contextManagerRef: CreateComponentPublicInstanceWithMixins<Readonly<{
710
+ contextData?: Reference_2[];
711
+ readonly?: boolean;
712
+ size?: "s" | "sm" | "md" | "lg" | "xl";
713
+ }> & Readonly<{}>, {
714
+ selectedReferences: Ref< {
715
+ id: string;
716
+ title?: string | undefined;
717
+ name?: string | undefined;
718
+ description?: string | undefined;
719
+ url?: string | undefined;
720
+ type?: string | undefined;
721
+ path?: string | undefined;
722
+ metadata?: Record<string, unknown> | undefined;
723
+ }[], Reference_2[] | {
724
+ id: string;
725
+ title?: string | undefined;
726
+ name?: string | undefined;
727
+ description?: string | undefined;
728
+ url?: string | undefined;
729
+ type?: string | undefined;
730
+ path?: string | undefined;
731
+ metadata?: Record<string, unknown> | undefined;
732
+ }[]>;
733
+ filteredAvailableReferences: ComputedRef< {
734
+ id: string;
735
+ title?: string | undefined;
736
+ name?: string | undefined;
737
+ description?: string | undefined;
738
+ url?: string | undefined;
739
+ type?: string | undefined;
740
+ path?: string | undefined;
741
+ metadata?: Record<string, unknown> | undefined;
742
+ }[]>;
743
+ handleSelect: (ref: Reference_2) => void;
744
+ handleRemove: (ref: Reference_2) => void;
745
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
746
+ P: {};
747
+ B: {};
748
+ D: {};
749
+ C: {};
750
+ M: {};
751
+ Defaults: {};
752
+ }, Readonly<{
753
+ contextData?: Reference_2[];
754
+ readonly?: boolean;
755
+ size?: "s" | "sm" | "md" | "lg" | "xl";
756
+ }> & Readonly<{}>, {
757
+ selectedReferences: Ref< {
758
+ id: string;
759
+ title?: string | undefined;
760
+ name?: string | undefined;
761
+ description?: string | undefined;
762
+ url?: string | undefined;
763
+ type?: string | undefined;
764
+ path?: string | undefined;
765
+ metadata?: Record<string, unknown> | undefined;
766
+ }[], Reference_2[] | {
767
+ id: string;
768
+ title?: string | undefined;
769
+ name?: string | undefined;
770
+ description?: string | undefined;
771
+ url?: string | undefined;
772
+ type?: string | undefined;
773
+ path?: string | undefined;
774
+ metadata?: Record<string, unknown> | undefined;
775
+ }[]>;
776
+ filteredAvailableReferences: ComputedRef< {
777
+ id: string;
778
+ title?: string | undefined;
779
+ name?: string | undefined;
780
+ description?: string | undefined;
781
+ url?: string | undefined;
782
+ type?: string | undefined;
783
+ path?: string | undefined;
784
+ metadata?: Record<string, unknown> | undefined;
785
+ }[]>;
786
+ handleSelect: (ref: Reference_2) => void;
787
+ handleRemove: (ref: Reference_2) => void;
788
+ }, {}, {}, {}, {}> | null;
789
+ chatInput: HTMLTextAreaElement;
790
+ }, HTMLDivElement, ComponentProvideOptions, {
791
+ P: {};
792
+ B: {};
793
+ D: {};
794
+ C: {};
795
+ M: {};
796
+ Defaults: {};
797
+ }, Readonly<ExtractPropTypes< {
798
+ placeholder: {
799
+ type: StringConstructor;
800
+ default: () => string;
801
+ };
802
+ disabled: {
803
+ type: BooleanConstructor;
804
+ default: () => boolean;
805
+ };
806
+ minLength: {
807
+ type: NumberConstructor;
808
+ default: () => number;
809
+ };
810
+ size: {
811
+ type: () => "s" | "sm" | "md" | "lg" | "xl";
812
+ default: () => string;
813
+ };
814
+ assistants: {
815
+ type: () => Array<{
816
+ name: string;
817
+ id: string;
818
+ description?: string;
819
+ default?: boolean;
820
+ }>;
821
+ default: () => never[];
822
+ };
823
+ models: {
824
+ type: () => Array<{
825
+ name: string;
826
+ id: string;
827
+ description?: string;
828
+ default?: boolean;
829
+ }>;
830
+ default: () => never[];
831
+ };
832
+ contextData: {
833
+ type: () => Reference_2[];
834
+ default: () => {
835
+ id: string;
836
+ type: string;
837
+ name: string;
838
+ path: string;
839
+ }[];
840
+ };
841
+ }>> & Readonly<{
842
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
843
+ onSend?: ((message: string) => any) | undefined;
844
+ onSendWithContext?: ((message: string, context: Reference_2[]) => any) | undefined;
845
+ }>, {
846
+ focus: () => void;
847
+ showErrorBanner: (message: string) => void;
848
+ hideError: () => void;
849
+ }, {}, {}, {}, {
850
+ size: "s" | "sm" | "md" | "lg" | "xl";
851
+ placeholder: string;
852
+ disabled: boolean;
853
+ contextData: Reference_2[];
854
+ minLength: number;
855
+ assistants: {
856
+ name: string;
857
+ id: string;
858
+ description?: string;
859
+ default?: boolean;
860
+ }[];
861
+ models: {
862
+ name: string;
863
+ id: string;
864
+ description?: string;
865
+ default?: boolean;
866
+ }[];
867
+ }> | null;
868
+ }, HTMLDivElement>;
869
+
870
+ export declare const ChatMessage: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
871
+ codeCopy: (code: string) => any;
872
+ codeClick: (code: string) => any;
873
+ }, string, PublicProps, Readonly<Props_3> & Readonly<{
874
+ onCodeCopy?: ((code: string) => any) | undefined;
875
+ onCodeClick?: ((code: string) => any) | undefined;
876
+ }>, {
877
+ size: "s" | "sm" | "md" | "lg" | "xl";
878
+ variant: string;
879
+ markdown: boolean;
880
+ content: MessageContent;
881
+ context: string[];
882
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
883
+
884
+ export declare const ChatMessages: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
885
+ container: HTMLDivElement;
886
+ }, HTMLDivElement>;
887
+
251
888
  export declare function cloneDeepSafe<T>(value: T): T;
252
889
 
253
- export declare const CodeBlock: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLPreElement>;
890
+ export declare const CodeBlock: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLPreElement>;
891
+
892
+ declare interface CodeContent {
893
+ type: 'code';
894
+ code: string;
895
+ language?: string;
896
+ }
897
+
898
+ export declare const CodeSnippet: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
899
+ click: (code: string) => any;
900
+ copy: (code: string) => any;
901
+ }, string, PublicProps, Readonly<Props_4> & Readonly<{
902
+ onClick?: ((code: string) => any) | undefined;
903
+ onCopy?: ((code: string) => any) | undefined;
904
+ }>, {
905
+ variant: string;
906
+ language: string;
907
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
908
+
909
+ export declare const ColorComparison: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
254
910
 
255
911
  export declare interface ColorConfig {
256
912
  name: string;
@@ -289,6 +945,8 @@ export declare interface ColorSection {
289
945
  colors: Record<string, ColorInfo>;
290
946
  }
291
947
 
948
+ export declare const ColorValidation: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
949
+
292
950
  export declare interface ComparisonItem {
293
951
  colorName: string;
294
952
  color1: string;
@@ -314,6 +972,8 @@ export declare interface Configuration {
314
972
  projects: Project[];
315
973
  }
316
974
 
975
+ export declare const ConfigurationDashboard: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
976
+
317
977
  export declare const ConfirmationModal: DefineComponent<ExtractPropTypes< {
318
978
  title: {
319
979
  type: StringConstructor;
@@ -342,15 +1002,57 @@ export declare const ConfirmationModal: DefineComponent<ExtractPropTypes< {
342
1002
  description: string;
343
1003
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
344
1004
 
1005
+ export declare const ContextItem: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1006
+ select: (reference: Reference) => any;
1007
+ remove: (reference: Reference) => any;
1008
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
1009
+ onSelect?: ((reference: Reference) => any) | undefined;
1010
+ onRemove?: ((reference: Reference) => any) | undefined;
1011
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1012
+
1013
+ export declare const ContextManager: DefineComponent<__VLS_Props_4, {
1014
+ selectedReferences: Ref< {
1015
+ id: string;
1016
+ title?: string | undefined;
1017
+ name?: string | undefined;
1018
+ description?: string | undefined;
1019
+ url?: string | undefined;
1020
+ type?: string | undefined;
1021
+ path?: string | undefined;
1022
+ metadata?: Record<string, unknown> | undefined;
1023
+ }[], Reference[] | {
1024
+ id: string;
1025
+ title?: string | undefined;
1026
+ name?: string | undefined;
1027
+ description?: string | undefined;
1028
+ url?: string | undefined;
1029
+ type?: string | undefined;
1030
+ path?: string | undefined;
1031
+ metadata?: Record<string, unknown> | undefined;
1032
+ }[]>;
1033
+ filteredAvailableReferences: ComputedRef< {
1034
+ id: string;
1035
+ title?: string | undefined;
1036
+ name?: string | undefined;
1037
+ description?: string | undefined;
1038
+ url?: string | undefined;
1039
+ type?: string | undefined;
1040
+ path?: string | undefined;
1041
+ metadata?: Record<string, unknown> | undefined;
1042
+ }[]>;
1043
+ handleSelect: typeof handleSelect;
1044
+ handleRemove: typeof handleRemove;
1045
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1046
+
345
1047
  /**
346
1048
  * Copies the provided text to the clipboard and shows a toast notification.
347
1049
  * @param textToCopy - The text to copy to the clipboard.
348
1050
  */
349
1051
  export declare const copyToClipboard: (textToCopy: string) => Promise<void>;
350
1052
 
351
- export declare const CustomCheckbox: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1053
+ export declare const CustomCheckbox: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
352
1054
  "update:isChecked": (value: boolean) => any;
353
- }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
1055
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
354
1056
  "onUpdate:isChecked"?: ((value: boolean) => any) | undefined;
355
1057
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
356
1058
 
@@ -415,12 +1117,12 @@ export declare const DeleteConfirmationModal: DefineComponent<ExtractPropTypes<
415
1117
  description: string;
416
1118
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
417
1119
 
418
- export declare const Dropdown: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
1120
+ export declare const Dropdown: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
419
1121
 
420
- export declare const EmailCodeVerification: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1122
+ export declare const EmailCodeVerification: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
421
1123
  verify: (code: string) => any;
422
1124
  resend: () => any;
423
- }, string, PublicProps, Readonly<Props_3> & Readonly<{
1125
+ }, string, PublicProps, Readonly<Props_8> & Readonly<{
424
1126
  onVerify?: ((code: string) => any) | undefined;
425
1127
  onResend?: (() => any) | undefined;
426
1128
  }>, {
@@ -430,6 +1132,8 @@ export declare const EmailCodeVerification: DefineComponent<Props_3, {}, {}, {},
430
1132
  resendCooldown: number;
431
1133
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
432
1134
 
1135
+ export declare const ErrorBoundary: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1136
+
433
1137
  export declare interface ErrorDetails {
434
1138
  message: string;
435
1139
  code?: string | number;
@@ -767,6 +1471,10 @@ export declare function getFileNameFromUrl(url: string): string | null;
767
1471
  */
768
1472
  export declare const getShortMonthName: (monthNumber: number) => string;
769
1473
 
1474
+ declare function handleRemove(ref: Reference): void;
1475
+
1476
+ declare function handleSelect(ref: Reference): void;
1477
+
770
1478
  /**
771
1479
  * Checks if an element has overflow content.
772
1480
  * @param el - The HTML element to check.
@@ -774,6 +1482,18 @@ export declare const getShortMonthName: (monthNumber: number) => string;
774
1482
  */
775
1483
  export declare function hasOverflow(el: HTMLElement): boolean;
776
1484
 
1485
+ declare interface IChatInterfaceProps {
1486
+ placeholder?: string;
1487
+ messages?: IMessage[];
1488
+ size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
1489
+ apiKey?: string;
1490
+ apiBaseUrl?: string;
1491
+ organizationId?: string;
1492
+ fileSearch?: boolean;
1493
+ webSearch?: boolean;
1494
+ debugMode?: boolean;
1495
+ }
1496
+
777
1497
  export declare const IconAddPeople: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
778
1498
 
779
1499
  export declare const IconAitronos: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -1100,6 +1820,37 @@ export declare interface IMenuListItem {
1100
1820
  title: string;
1101
1821
  }
1102
1822
 
1823
+ /**
1824
+ * ChatInterface component interfaces
1825
+ */
1826
+ declare interface IMessage {
1827
+ id: string;
1828
+ content: string | {
1829
+ type: 'text';
1830
+ text: string;
1831
+ markdown?: boolean;
1832
+ } | {
1833
+ type: 'code';
1834
+ code: string;
1835
+ language?: string;
1836
+ } | {
1837
+ type: 'mixed';
1838
+ items: Array<{
1839
+ type: 'text';
1840
+ text: string;
1841
+ markdown?: boolean;
1842
+ } | {
1843
+ type: 'code';
1844
+ code: string;
1845
+ language?: string;
1846
+ }>;
1847
+ };
1848
+ sender: 'user' | 'assistant';
1849
+ timestamp: Date;
1850
+ type: 'text' | 'code' | 'mixed';
1851
+ context?: string[];
1852
+ }
1853
+
1103
1854
  export declare interface IMfaDisableRequest {
1104
1855
  mfaCode?: string;
1105
1856
  mfaRecoveryCode?: string;
@@ -1127,17 +1878,17 @@ declare interface INewVerificationRequest {
1127
1878
  email: string;
1128
1879
  }
1129
1880
 
1130
- export declare const InputField: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1881
+ export declare const InputField: DefineComponent<Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1131
1882
  input: (value: string) => any;
1883
+ "update:modelValue": (value: string) => any;
1132
1884
  blur: (event: FocusEvent) => any;
1133
1885
  focus: (event: FocusEvent) => any;
1134
- "update:modelValue": (value: string) => any;
1135
1886
  "trailing-button-click": (event: MouseEvent) => any;
1136
- }, string, PublicProps, Readonly<Props_4> & Readonly<{
1887
+ }, string, PublicProps, Readonly<Props_9> & Readonly<{
1137
1888
  onInput?: ((value: string) => any) | undefined;
1889
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1138
1890
  onBlur?: ((event: FocusEvent) => any) | undefined;
1139
1891
  onFocus?: ((event: FocusEvent) => any) | undefined;
1140
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1141
1892
  "onTrailing-button-click"?: ((event: MouseEvent) => any) | undefined;
1142
1893
  }>, {
1143
1894
  value: string;
@@ -1149,6 +1900,7 @@ export declare const InputField: DefineComponent<Props_4, {}, {}, {}, {}, Compon
1149
1900
  destructive: boolean;
1150
1901
  required: boolean;
1151
1902
  modelValue: string;
1903
+ readonly: boolean;
1152
1904
  colorStyle: "freddy" | "contentplate";
1153
1905
  state: "placeholder" | "filled" | "focused" | "disabled" | "loading" | "success" | "error";
1154
1906
  iconLeading: boolean;
@@ -1157,7 +1909,6 @@ export declare const InputField: DefineComponent<Props_4, {}, {}, {}, {}, Compon
1157
1909
  helpIcon: boolean;
1158
1910
  helpText: string;
1159
1911
  inputType: string;
1160
- readonly: boolean;
1161
1912
  leadingDropdownText: string;
1162
1913
  trailingDropdownText: string;
1163
1914
  leadingText: string;
@@ -1209,9 +1960,37 @@ export declare interface IVerifyLoginRequest {
1209
1960
  emailKey?: string;
1210
1961
  }
1211
1962
 
1963
+ export declare const LoginForm: DefineComponent<Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1964
+ submit: (email: string, password: string) => any;
1965
+ "switch-to-register": () => any;
1966
+ }, string, PublicProps, Readonly<Props_15> & Readonly<{
1967
+ onSubmit?: ((email: string, password: string) => any) | undefined;
1968
+ "onSwitch-to-register"?: (() => any) | undefined;
1969
+ }>, {
1970
+ loading: boolean;
1971
+ error: string;
1972
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1973
+
1974
+ export declare const LoginPage: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1975
+ "switch-to-register": () => any;
1976
+ "login-success": (email: string) => any;
1977
+ }, string, PublicProps, Readonly<Props_11> & Readonly<{
1978
+ "onSwitch-to-register"?: (() => any) | undefined;
1979
+ "onLogin-success"?: ((email: string) => any) | undefined;
1980
+ }>, {
1981
+ initialEmail: string;
1982
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1983
+
1984
+ declare type MessageContent = string | TextContent | CodeContent | MixedContent;
1985
+
1986
+ declare interface MixedContent {
1987
+ type: 'mixed';
1988
+ items: (TextContent | CodeContent)[];
1989
+ }
1990
+
1212
1991
  export { ModalBox }
1213
1992
 
1214
- export declare const ModalOverlay: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1993
+ export declare const ModalOverlay: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1215
1994
 
1216
1995
  export declare function openConfirmBoxModal(title: string, description: string): Promise<boolean>;
1217
1996
 
@@ -1285,6 +2064,56 @@ export declare interface Project {
1285
2064
  }
1286
2065
 
1287
2066
  declare interface Props {
2067
+ endpoint?: string;
2068
+ method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
2069
+ headers?: Record<string, string>;
2070
+ body?: any;
2071
+ loadingText?: string;
2072
+ errorTitle?: string;
2073
+ successTitle?: string;
2074
+ successMessage?: string;
2075
+ showRetry?: boolean;
2076
+ showSuccess?: boolean;
2077
+ autoExecute?: boolean;
2078
+ size?: 'sm' | 'md' | 'lg';
2079
+ variant?: 'default' | 'card' | 'minimal';
2080
+ onSuccess?: (data: any) => void;
2081
+ onError?: (error: string) => void;
2082
+ onComplete?: () => void;
2083
+ }
2084
+
2085
+ declare interface Props_10 {
2086
+ initialView?: 'login' | 'register';
2087
+ initialEmail?: string;
2088
+ }
2089
+
2090
+ declare interface Props_11 {
2091
+ initialEmail?: string;
2092
+ }
2093
+
2094
+ declare interface Props_12 {
2095
+ initialEmail?: string;
2096
+ }
2097
+
2098
+ declare interface Props_13 {
2099
+ brand?: 'contentplate' | 'flowplate' | 'freddy';
2100
+ }
2101
+
2102
+ declare interface Props_14 {
2103
+ brand?: 'contentplate' | 'flowplate' | 'freddy';
2104
+ }
2105
+
2106
+ declare interface Props_15 {
2107
+ loading?: boolean;
2108
+ error?: string;
2109
+ }
2110
+
2111
+ declare interface Props_16 {
2112
+ loading?: boolean;
2113
+ error?: string;
2114
+ }
2115
+
2116
+ declare interface Props_2 {
1288
2117
  size?: "s" | "sm" | "md" | "lg" | "xl";
1289
2118
  disabled?: boolean;
1290
2119
  loading?: boolean;
@@ -1301,7 +2130,33 @@ declare interface Props {
1301
2130
  tooltipPlacement?: "top" | "bottom" | "left" | "right";
1302
2131
  }
1303
2132
 
1304
- declare interface Props_2 {
2133
+ declare interface Props_3 {
2134
+ content: MessageContent;
2135
+ variant?: string;
2136
+ size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
2137
+ markdown?: boolean;
2138
+ context?: string[];
2139
+ }
2140
+
2141
+ declare interface Props_4 {
2142
+ code: string;
2143
+ language?: string;
2144
+ variant?: string;
2145
+ }
2146
+
2147
+ declare interface Props_5 {
2148
+ fallbackMessage?: string;
2149
+ }
2150
+
2151
+ declare interface Props_6 {
2152
+ text: string;
2153
+ markdown?: boolean;
2154
+ variant?: string;
2155
+ size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
2156
+ isHtml?: boolean;
2157
+ }
2158
+
2159
+ declare interface Props_7 {
1305
2160
  label?: string;
1306
2161
  size?: 's' | 'sm' | 'md' | 'lg' | 'xl';
1307
2162
  iconOnly?: boolean;
@@ -1322,7 +2177,7 @@ declare interface Props_2 {
1322
2177
  stayOpen?: boolean;
1323
2178
  }
1324
2179
 
1325
- declare interface Props_3 {
2180
+ declare interface Props_8 {
1326
2181
  email: string;
1327
2182
  brand?: 'contentplate' | 'flowplate' | 'freddy';
1328
2183
  loading?: boolean;
@@ -1330,7 +2185,7 @@ declare interface Props_3 {
1330
2185
  resendCooldown?: number;
1331
2186
  }
1332
2187
 
1333
- declare interface Props_4 {
2188
+ declare interface Props_9 {
1334
2189
  size?: "sm" | "md" | "lg";
1335
2190
  colorStyle?: "freddy" | "contentplate";
1336
2191
  type?: "default" | "leading-dropdown" | "trailing-dropdown" | "leading-text" | "payment" | "trailing-button" | "clear" | "freddy-input";
@@ -1373,6 +2228,27 @@ export declare interface Reference {
1373
2228
  metadata?: Record<string, unknown>;
1374
2229
  }
1375
2230
 
2231
+ export declare const RegisterForm: DefineComponent<Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2232
+ submit: (fullName: string, email: string, password: string) => any;
2233
+ "switch-to-login": () => any;
2234
+ }, string, PublicProps, Readonly<Props_16> & Readonly<{
2235
+ onSubmit?: ((fullName: string, email: string, password: string) => any) | undefined;
2236
+ "onSwitch-to-login"?: (() => any) | undefined;
2237
+ }>, {
2238
+ loading: boolean;
2239
+ error: string;
2240
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2241
+
2242
+ export declare const RegisterPage: DefineComponent<Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2243
+ "switch-to-login": () => any;
2244
+ "register-success": (email: string) => any;
2245
+ }, string, PublicProps, Readonly<Props_12> & Readonly<{
2246
+ "onSwitch-to-login"?: (() => any) | undefined;
2247
+ "onRegister-success"?: ((email: string) => any) | undefined;
2248
+ }>, {
2249
+ initialEmail: string;
2250
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2251
+
1376
2252
  /**
1377
2253
  * Scrolls a container element to its bottom.
1378
2254
  * @param containerElement - The container element or its ID to scroll to bottom.
@@ -1408,9 +2284,9 @@ declare interface SearchInputProps {
1408
2284
  maxCharLimit?: number;
1409
2285
  }
1410
2286
 
1411
- export declare const SendButton: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
2287
+ export declare const SendButton: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
1412
2288
 
1413
- export declare const SkeletonLoader: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2289
+ export declare const SkeletonLoader: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1414
2290
 
1415
2291
  declare type SkeletonType = "card" | "paragraph" | "table" | "single-box" | "single-paragraph";
1416
2292
 
@@ -1431,11 +2307,11 @@ declare interface SpacemanLogoProps {
1431
2307
  customStyle?: string | Record<string, string>;
1432
2308
  }
1433
2309
 
1434
- export declare const Spinner: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2310
+ export declare const Spinner: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1435
2311
 
1436
- export declare const Switch: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2312
+ export declare const Switch: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1437
2313
  "update:modelValue": (...args: any[]) => void;
1438
- }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
2314
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
1439
2315
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1440
2316
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
1441
2317
 
@@ -1458,6 +2334,26 @@ export declare type TestResult = {
1458
2334
  pass: boolean;
1459
2335
  };
1460
2336
 
2337
+ declare const Text_2: DefineComponent<Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_6> & Readonly<{}>, {
2338
+ size: "s" | "sm" | "md" | "lg" | "xl";
2339
+ variant: string;
2340
+ markdown: boolean;
2341
+ isHtml: boolean;
2342
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2343
+ export { Text_2 as Text }
2344
+
2345
+ declare interface TextContent {
2346
+ type: 'text';
2347
+ text: string;
2348
+ markdown?: boolean;
2349
+ }
2350
+
2351
+ export declare const Themable: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2352
+
2353
+ export declare const ThemableOverviewDashboard: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2354
+
2355
+ export declare const ThemeSwitcher: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2356
+
1461
2357
  declare interface Toast {
1462
2358
  message: string;
1463
2359
  toastType: "success" | "danger" | "info";
@@ -1468,7 +2364,7 @@ export declare const ToastMessage: DefineComponent< {}, {}, {}, {}, {}, Compo
1468
2364
 
1469
2365
  declare type ToastType = "success" | "danger" | "info";
1470
2366
 
1471
- export declare const Tooltip: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2367
+ export declare const Tooltip: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1472
2368
 
1473
2369
  declare interface TooltipProps {
1474
2370
  /** The text content to display in the tooltip */