@tylertech/forge-ai 0.2.0 → 0.3.1
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/custom-elements.json +400 -218
- package/dist/ai-actions-toolbar/ai-actions-toolbar.d.ts +3 -3
- package/dist/ai-chat-interface/ai-chat-interface.d.ts +2 -8
- package/dist/ai-chat-interface/ai-chat-interface.mjs +9 -92
- package/dist/ai-chat-interface/ai-chat-interface.scss.mjs +1 -1
- package/dist/ai-dialog/ai-dialog.d.ts +1 -0
- package/dist/ai-dialog/ai-dialog.mjs +30 -3
- package/dist/ai-dialog/ai-dialog.scss.mjs +1 -1
- package/dist/ai-dropdown-menu/ai-dropdown-menu.d.ts +0 -1
- package/dist/ai-dropdown-menu/ai-dropdown-menu.mjs +5 -7
- package/dist/ai-file-picker/ai-file-picker.d.ts +5 -5
- package/dist/ai-file-picker/ai-file-picker.mjs +16 -16
- package/dist/ai-file-picker/index.d.ts +1 -1
- package/dist/ai-file-picker/index.mjs +2 -2
- package/dist/ai-prompt/ai-prompt.d.ts +34 -6
- package/dist/ai-prompt/ai-prompt.mjs +109 -25
- package/dist/ai-prompt/ai-prompt.scss.mjs +1 -1
- package/dist/ai-response-message/ai-response-message.d.ts +3 -4
- package/dist/ai-response-message/ai-response-message.mjs +1 -6
- package/dist/ai-response-message/ai-response-message.scss.mjs +1 -1
- package/dist/ai-sidebar/ai-sidebar.d.ts +4 -0
- package/dist/ai-sidebar/ai-sidebar.mjs +32 -13
- package/dist/ai-sidebar/ai-sidebar.scss.mjs +1 -1
- package/dist/ai-suggestions/ai-suggestions.d.ts +3 -3
- package/dist/ai-suggestions/ai-suggestions.mjs +2 -2
- package/dist/ai-thinking-indicator/ai-thinking-indicator.d.ts +22 -0
- package/dist/ai-thinking-indicator/ai-thinking-indicator.mjs +41 -0
- package/dist/ai-thinking-indicator/ai-thinking-indicator.scss.mjs +4 -0
- package/dist/ai-thinking-indicator/index.d.ts +1 -0
- package/dist/ai-thinking-indicator/index.mjs +5 -0
- package/dist/ai-threads/ai-threads.d.ts +3 -3
- package/dist/ai-voice-input/ai-voice-input.d.ts +1 -1
- package/dist/core/overlay/overlay.scss.mjs +1 -1
- package/dist/core/popover/popover.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"events": [
|
|
97
97
|
{
|
|
98
98
|
"type": {
|
|
99
|
-
"text": "CustomEvent<
|
|
99
|
+
"text": "CustomEvent<ForgeAiActionsToolbarActionEventData>"
|
|
100
100
|
},
|
|
101
101
|
"description": "Fired when an action button is clicked. The detail contains the action type.",
|
|
102
102
|
"name": "forge-ai-actions-toolbar-action"
|
|
@@ -288,171 +288,6 @@
|
|
|
288
288
|
}
|
|
289
289
|
]
|
|
290
290
|
},
|
|
291
|
-
{
|
|
292
|
-
"kind": "javascript-module",
|
|
293
|
-
"path": "src/lib/ai-chat-header/ai-chat-header.ts",
|
|
294
|
-
"declarations": [
|
|
295
|
-
{
|
|
296
|
-
"kind": "variable",
|
|
297
|
-
"name": "AiChatHeaderComponentTagName",
|
|
298
|
-
"type": {
|
|
299
|
-
"text": "keyof HTMLElementTagNameMap"
|
|
300
|
-
},
|
|
301
|
-
"default": "'forge-ai-chat-header'"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"kind": "class",
|
|
305
|
-
"description": "",
|
|
306
|
-
"name": "AiChatHeaderComponent",
|
|
307
|
-
"slots": [
|
|
308
|
-
{
|
|
309
|
-
"description": "Slot for custom title text (default: \"AI Assistant\")",
|
|
310
|
-
"name": "title"
|
|
311
|
-
}
|
|
312
|
-
],
|
|
313
|
-
"members": [
|
|
314
|
-
{
|
|
315
|
-
"kind": "field",
|
|
316
|
-
"name": "showExpandButton",
|
|
317
|
-
"type": {
|
|
318
|
-
"text": "boolean"
|
|
319
|
-
},
|
|
320
|
-
"privacy": "public",
|
|
321
|
-
"default": "false",
|
|
322
|
-
"description": "Controls whether the expand button is visible",
|
|
323
|
-
"attribute": "show-expand-button"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"kind": "field",
|
|
327
|
-
"name": "showMinimizeButton",
|
|
328
|
-
"type": {
|
|
329
|
-
"text": "boolean"
|
|
330
|
-
},
|
|
331
|
-
"privacy": "public",
|
|
332
|
-
"default": "false",
|
|
333
|
-
"description": "Controls whether the minimize button is visible",
|
|
334
|
-
"attribute": "show-minimize-button"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"kind": "field",
|
|
338
|
-
"name": "expanded",
|
|
339
|
-
"type": {
|
|
340
|
-
"text": "boolean"
|
|
341
|
-
},
|
|
342
|
-
"privacy": "public",
|
|
343
|
-
"default": "false",
|
|
344
|
-
"description": "Indicates the current expanded state for displaying the appropriate expand/collapse icon",
|
|
345
|
-
"attribute": "expanded"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"kind": "field",
|
|
349
|
-
"name": "minimizeIcon",
|
|
350
|
-
"type": {
|
|
351
|
-
"text": "MinimizeIconType"
|
|
352
|
-
},
|
|
353
|
-
"privacy": "public",
|
|
354
|
-
"default": "'default'",
|
|
355
|
-
"description": "Controls which minimize icon to display",
|
|
356
|
-
"attribute": "minimize-icon"
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
"events": [
|
|
360
|
-
{
|
|
361
|
-
"name": "forge-ai-chat-header-clear",
|
|
362
|
-
"type": {
|
|
363
|
-
"text": "CustomEvent"
|
|
364
|
-
},
|
|
365
|
-
"description": "Fired when the clear chat option is selected"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"name": "forge-ai-chat-header-info",
|
|
369
|
-
"type": {
|
|
370
|
-
"text": "CustomEvent"
|
|
371
|
-
},
|
|
372
|
-
"description": "Fired when the info option is selected"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"description": "Fired when the expand button is clicked",
|
|
376
|
-
"name": "forge-ai-chat-header-expand"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"description": "Fired when the minimize button is clicked",
|
|
380
|
-
"name": "forge-ai-chat-header-minimize"
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"attributes": [
|
|
384
|
-
{
|
|
385
|
-
"name": "show-expand-button",
|
|
386
|
-
"type": {
|
|
387
|
-
"text": "boolean"
|
|
388
|
-
},
|
|
389
|
-
"default": "false",
|
|
390
|
-
"description": "Controls whether the expand button is visible",
|
|
391
|
-
"fieldName": "showExpandButton"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"name": "show-minimize-button",
|
|
395
|
-
"type": {
|
|
396
|
-
"text": "boolean"
|
|
397
|
-
},
|
|
398
|
-
"default": "false",
|
|
399
|
-
"description": "Controls whether the minimize button is visible",
|
|
400
|
-
"fieldName": "showMinimizeButton"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"name": "expanded",
|
|
404
|
-
"type": {
|
|
405
|
-
"text": "boolean"
|
|
406
|
-
},
|
|
407
|
-
"default": "false",
|
|
408
|
-
"description": "Indicates the current expanded state for displaying the appropriate expand/collapse icon",
|
|
409
|
-
"fieldName": "expanded"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"name": "minimize-icon",
|
|
413
|
-
"type": {
|
|
414
|
-
"text": "MinimizeIconType"
|
|
415
|
-
},
|
|
416
|
-
"default": "'default'",
|
|
417
|
-
"description": "Controls which minimize icon to display",
|
|
418
|
-
"fieldName": "minimizeIcon"
|
|
419
|
-
}
|
|
420
|
-
],
|
|
421
|
-
"superclass": {
|
|
422
|
-
"name": "LitElement",
|
|
423
|
-
"package": "lit"
|
|
424
|
-
},
|
|
425
|
-
"tagName": "forge-ai-chat-header",
|
|
426
|
-
"customElement": true,
|
|
427
|
-
"summary": "AI chat header component with accessible tooltips"
|
|
428
|
-
}
|
|
429
|
-
],
|
|
430
|
-
"exports": [
|
|
431
|
-
{
|
|
432
|
-
"kind": "js",
|
|
433
|
-
"name": "AiChatHeaderComponentTagName",
|
|
434
|
-
"declaration": {
|
|
435
|
-
"name": "AiChatHeaderComponentTagName",
|
|
436
|
-
"module": "src/lib/ai-chat-header/ai-chat-header.ts"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"kind": "js",
|
|
441
|
-
"name": "AiChatHeaderComponent",
|
|
442
|
-
"declaration": {
|
|
443
|
-
"name": "AiChatHeaderComponent",
|
|
444
|
-
"module": "src/lib/ai-chat-header/ai-chat-header.ts"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"kind": "custom-element-definition",
|
|
449
|
-
"declaration": {
|
|
450
|
-
"name": "AiChatHeaderComponent",
|
|
451
|
-
"module": "src/lib/ai-chat-header/ai-chat-header.ts"
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
]
|
|
455
|
-
},
|
|
456
291
|
{
|
|
457
292
|
"kind": "javascript-module",
|
|
458
293
|
"path": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts",
|
|
@@ -724,14 +559,14 @@
|
|
|
724
559
|
"members": [
|
|
725
560
|
{
|
|
726
561
|
"kind": "method",
|
|
727
|
-
"name": "
|
|
562
|
+
"name": "scrollToBottom",
|
|
728
563
|
"privacy": "public",
|
|
729
564
|
"return": {
|
|
730
565
|
"type": {
|
|
731
566
|
"text": "void"
|
|
732
567
|
}
|
|
733
568
|
},
|
|
734
|
-
"description": "Scrolls the messages container to the bottom
|
|
569
|
+
"description": "Scrolls the messages container to the bottom with smooth animation"
|
|
735
570
|
}
|
|
736
571
|
],
|
|
737
572
|
"superclass": {
|
|
@@ -768,6 +603,171 @@
|
|
|
768
603
|
}
|
|
769
604
|
]
|
|
770
605
|
},
|
|
606
|
+
{
|
|
607
|
+
"kind": "javascript-module",
|
|
608
|
+
"path": "src/lib/ai-chat-header/ai-chat-header.ts",
|
|
609
|
+
"declarations": [
|
|
610
|
+
{
|
|
611
|
+
"kind": "variable",
|
|
612
|
+
"name": "AiChatHeaderComponentTagName",
|
|
613
|
+
"type": {
|
|
614
|
+
"text": "keyof HTMLElementTagNameMap"
|
|
615
|
+
},
|
|
616
|
+
"default": "'forge-ai-chat-header'"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"kind": "class",
|
|
620
|
+
"description": "",
|
|
621
|
+
"name": "AiChatHeaderComponent",
|
|
622
|
+
"slots": [
|
|
623
|
+
{
|
|
624
|
+
"description": "Slot for custom title text (default: \"AI Assistant\")",
|
|
625
|
+
"name": "title"
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"members": [
|
|
629
|
+
{
|
|
630
|
+
"kind": "field",
|
|
631
|
+
"name": "showExpandButton",
|
|
632
|
+
"type": {
|
|
633
|
+
"text": "boolean"
|
|
634
|
+
},
|
|
635
|
+
"privacy": "public",
|
|
636
|
+
"default": "false",
|
|
637
|
+
"description": "Controls whether the expand button is visible",
|
|
638
|
+
"attribute": "show-expand-button"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"kind": "field",
|
|
642
|
+
"name": "showMinimizeButton",
|
|
643
|
+
"type": {
|
|
644
|
+
"text": "boolean"
|
|
645
|
+
},
|
|
646
|
+
"privacy": "public",
|
|
647
|
+
"default": "false",
|
|
648
|
+
"description": "Controls whether the minimize button is visible",
|
|
649
|
+
"attribute": "show-minimize-button"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"kind": "field",
|
|
653
|
+
"name": "expanded",
|
|
654
|
+
"type": {
|
|
655
|
+
"text": "boolean"
|
|
656
|
+
},
|
|
657
|
+
"privacy": "public",
|
|
658
|
+
"default": "false",
|
|
659
|
+
"description": "Indicates the current expanded state for displaying the appropriate expand/collapse icon",
|
|
660
|
+
"attribute": "expanded"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"kind": "field",
|
|
664
|
+
"name": "minimizeIcon",
|
|
665
|
+
"type": {
|
|
666
|
+
"text": "MinimizeIconType"
|
|
667
|
+
},
|
|
668
|
+
"privacy": "public",
|
|
669
|
+
"default": "'default'",
|
|
670
|
+
"description": "Controls which minimize icon to display",
|
|
671
|
+
"attribute": "minimize-icon"
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
"events": [
|
|
675
|
+
{
|
|
676
|
+
"name": "forge-ai-chat-header-clear",
|
|
677
|
+
"type": {
|
|
678
|
+
"text": "CustomEvent"
|
|
679
|
+
},
|
|
680
|
+
"description": "Fired when the clear chat option is selected"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "forge-ai-chat-header-info",
|
|
684
|
+
"type": {
|
|
685
|
+
"text": "CustomEvent"
|
|
686
|
+
},
|
|
687
|
+
"description": "Fired when the info option is selected"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"description": "Fired when the expand button is clicked",
|
|
691
|
+
"name": "forge-ai-chat-header-expand"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"description": "Fired when the minimize button is clicked",
|
|
695
|
+
"name": "forge-ai-chat-header-minimize"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"attributes": [
|
|
699
|
+
{
|
|
700
|
+
"name": "show-expand-button",
|
|
701
|
+
"type": {
|
|
702
|
+
"text": "boolean"
|
|
703
|
+
},
|
|
704
|
+
"default": "false",
|
|
705
|
+
"description": "Controls whether the expand button is visible",
|
|
706
|
+
"fieldName": "showExpandButton"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "show-minimize-button",
|
|
710
|
+
"type": {
|
|
711
|
+
"text": "boolean"
|
|
712
|
+
},
|
|
713
|
+
"default": "false",
|
|
714
|
+
"description": "Controls whether the minimize button is visible",
|
|
715
|
+
"fieldName": "showMinimizeButton"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "expanded",
|
|
719
|
+
"type": {
|
|
720
|
+
"text": "boolean"
|
|
721
|
+
},
|
|
722
|
+
"default": "false",
|
|
723
|
+
"description": "Indicates the current expanded state for displaying the appropriate expand/collapse icon",
|
|
724
|
+
"fieldName": "expanded"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "minimize-icon",
|
|
728
|
+
"type": {
|
|
729
|
+
"text": "MinimizeIconType"
|
|
730
|
+
},
|
|
731
|
+
"default": "'default'",
|
|
732
|
+
"description": "Controls which minimize icon to display",
|
|
733
|
+
"fieldName": "minimizeIcon"
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"superclass": {
|
|
737
|
+
"name": "LitElement",
|
|
738
|
+
"package": "lit"
|
|
739
|
+
},
|
|
740
|
+
"tagName": "forge-ai-chat-header",
|
|
741
|
+
"customElement": true,
|
|
742
|
+
"summary": "AI chat header component with accessible tooltips"
|
|
743
|
+
}
|
|
744
|
+
],
|
|
745
|
+
"exports": [
|
|
746
|
+
{
|
|
747
|
+
"kind": "js",
|
|
748
|
+
"name": "AiChatHeaderComponentTagName",
|
|
749
|
+
"declaration": {
|
|
750
|
+
"name": "AiChatHeaderComponentTagName",
|
|
751
|
+
"module": "src/lib/ai-chat-header/ai-chat-header.ts"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"kind": "js",
|
|
756
|
+
"name": "AiChatHeaderComponent",
|
|
757
|
+
"declaration": {
|
|
758
|
+
"name": "AiChatHeaderComponent",
|
|
759
|
+
"module": "src/lib/ai-chat-header/ai-chat-header.ts"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"kind": "custom-element-definition",
|
|
764
|
+
"declaration": {
|
|
765
|
+
"name": "AiChatHeaderComponent",
|
|
766
|
+
"module": "src/lib/ai-chat-header/ai-chat-header.ts"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
]
|
|
770
|
+
},
|
|
771
771
|
{
|
|
772
772
|
"kind": "javascript-module",
|
|
773
773
|
"path": "src/lib/ai-dropdown-menu/ai-dropdown-menu-item-group.ts",
|
|
@@ -1853,7 +1853,7 @@
|
|
|
1853
1853
|
{
|
|
1854
1854
|
"kind": "class",
|
|
1855
1855
|
"description": "",
|
|
1856
|
-
"name": "
|
|
1856
|
+
"name": "AiFilePickerComponent",
|
|
1857
1857
|
"cssProperties": [
|
|
1858
1858
|
{
|
|
1859
1859
|
"description": "The width of the file picker button.",
|
|
@@ -1925,7 +1925,7 @@
|
|
|
1925
1925
|
{
|
|
1926
1926
|
"name": "forge-ai-file-picker-change",
|
|
1927
1927
|
"type": {
|
|
1928
|
-
"text": "CustomEvent<
|
|
1928
|
+
"text": "CustomEvent<ForgeAiFilePickerChangeEventData>"
|
|
1929
1929
|
},
|
|
1930
1930
|
"description": "Fired when a file is selected via click or drag & drop. The event detail contains the selected file and timestamp."
|
|
1931
1931
|
}
|
|
@@ -1980,9 +1980,9 @@
|
|
|
1980
1980
|
"exports": [
|
|
1981
1981
|
{
|
|
1982
1982
|
"kind": "js",
|
|
1983
|
-
"name": "
|
|
1983
|
+
"name": "AiFilePickerComponent",
|
|
1984
1984
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1985
|
+
"name": "AiFilePickerComponent",
|
|
1986
1986
|
"module": "src/lib/ai-file-picker/ai-file-picker.ts"
|
|
1987
1987
|
}
|
|
1988
1988
|
},
|
|
@@ -1990,7 +1990,7 @@
|
|
|
1990
1990
|
"kind": "custom-element-definition",
|
|
1991
1991
|
"name": "forge-ai-file-picker",
|
|
1992
1992
|
"declaration": {
|
|
1993
|
-
"name": "
|
|
1993
|
+
"name": "AiFilePickerComponent",
|
|
1994
1994
|
"module": "src/lib/ai-file-picker/ai-file-picker.ts"
|
|
1995
1995
|
}
|
|
1996
1996
|
}
|
|
@@ -2514,7 +2514,7 @@
|
|
|
2514
2514
|
},
|
|
2515
2515
|
"privacy": "public",
|
|
2516
2516
|
"default": "'Ask a question...'",
|
|
2517
|
-
"description": "Placeholder text for the
|
|
2517
|
+
"description": "Placeholder text for the textarea field",
|
|
2518
2518
|
"attribute": "placeholder"
|
|
2519
2519
|
},
|
|
2520
2520
|
{
|
|
@@ -2525,7 +2525,7 @@
|
|
|
2525
2525
|
},
|
|
2526
2526
|
"privacy": "public",
|
|
2527
2527
|
"default": "''",
|
|
2528
|
-
"description": "Current value of the
|
|
2528
|
+
"description": "Current value of the textarea field",
|
|
2529
2529
|
"attribute": "value"
|
|
2530
2530
|
},
|
|
2531
2531
|
{
|
|
@@ -2538,15 +2538,102 @@
|
|
|
2538
2538
|
"default": "'stacked'",
|
|
2539
2539
|
"description": "Layout variant for the prompt component",
|
|
2540
2540
|
"attribute": "variant"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"kind": "field",
|
|
2544
|
+
"name": "sendDisabled",
|
|
2545
|
+
"type": {
|
|
2546
|
+
"text": "boolean"
|
|
2547
|
+
},
|
|
2548
|
+
"privacy": "public",
|
|
2549
|
+
"default": "false",
|
|
2550
|
+
"description": "Whether the send button is disabled",
|
|
2551
|
+
"attribute": "send-disabled"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "field",
|
|
2555
|
+
"name": "autofocus",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "boolean"
|
|
2558
|
+
},
|
|
2559
|
+
"privacy": "public",
|
|
2560
|
+
"default": "false",
|
|
2561
|
+
"description": "Whether to autofocus the textarea field when the component renders",
|
|
2562
|
+
"attribute": "autofocus"
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"kind": "field",
|
|
2566
|
+
"name": "inputDisabled",
|
|
2567
|
+
"type": {
|
|
2568
|
+
"text": "boolean"
|
|
2569
|
+
},
|
|
2570
|
+
"privacy": "public",
|
|
2571
|
+
"default": "false",
|
|
2572
|
+
"description": "Whether the textarea field is disabled",
|
|
2573
|
+
"attribute": "input-disabled"
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "field",
|
|
2577
|
+
"name": "cancelOnEscape",
|
|
2578
|
+
"type": {
|
|
2579
|
+
"text": "boolean"
|
|
2580
|
+
},
|
|
2581
|
+
"privacy": "public",
|
|
2582
|
+
"default": "true",
|
|
2583
|
+
"description": "Whether to dispatch escape events when Escape key is pressed",
|
|
2584
|
+
"attribute": "cancel-on-escape"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"kind": "field",
|
|
2588
|
+
"name": "running",
|
|
2589
|
+
"type": {
|
|
2590
|
+
"text": "boolean"
|
|
2591
|
+
},
|
|
2592
|
+
"privacy": "public",
|
|
2593
|
+
"default": "false",
|
|
2594
|
+
"description": "Whether the component is in running state (shows stop button instead of send button)",
|
|
2595
|
+
"attribute": "running"
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "method",
|
|
2599
|
+
"name": "focus",
|
|
2600
|
+
"privacy": "public",
|
|
2601
|
+
"return": {
|
|
2602
|
+
"type": {
|
|
2603
|
+
"text": "void"
|
|
2604
|
+
}
|
|
2605
|
+
},
|
|
2606
|
+
"description": "Focuses the textarea element"
|
|
2541
2607
|
}
|
|
2542
2608
|
],
|
|
2543
2609
|
"events": [
|
|
2544
2610
|
{
|
|
2545
2611
|
"type": {
|
|
2546
|
-
"text": "CustomEvent<
|
|
2612
|
+
"text": "CustomEvent<ForgeAiPromptSendEventData>"
|
|
2547
2613
|
},
|
|
2548
|
-
"description": "Fired when the send button is clicked or Enter is pressed.",
|
|
2614
|
+
"description": "Fired when the send button is clicked or Enter is pressed (without Shift). Cancelable - if cancelled, running state is not set and input is not cleared.",
|
|
2549
2615
|
"name": "forge-ai-prompt-send"
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
"type": {
|
|
2619
|
+
"text": "CustomEvent<void>"
|
|
2620
|
+
},
|
|
2621
|
+
"description": "Fired when the Escape key is pressed (if cancelOnEscape is true).",
|
|
2622
|
+
"name": "forge-ai-prompt-cancel"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "CustomEvent<ForgeAiPromptAttachmentEventData>"
|
|
2627
|
+
},
|
|
2628
|
+
"description": "Fired when files are pasted into the textarea.",
|
|
2629
|
+
"name": "forge-ai-prompt-attachment"
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"type": {
|
|
2633
|
+
"text": "CustomEvent<void>"
|
|
2634
|
+
},
|
|
2635
|
+
"description": "Fired when the stop button is clicked. Cancelable - if cancelled, running state remains true.",
|
|
2636
|
+
"name": "forge-ai-prompt-stop"
|
|
2550
2637
|
}
|
|
2551
2638
|
],
|
|
2552
2639
|
"attributes": [
|
|
@@ -2556,7 +2643,7 @@
|
|
|
2556
2643
|
"text": "string"
|
|
2557
2644
|
},
|
|
2558
2645
|
"default": "'Ask a question...'",
|
|
2559
|
-
"description": "Placeholder text for the
|
|
2646
|
+
"description": "Placeholder text for the textarea field",
|
|
2560
2647
|
"fieldName": "placeholder"
|
|
2561
2648
|
},
|
|
2562
2649
|
{
|
|
@@ -2565,7 +2652,7 @@
|
|
|
2565
2652
|
"text": "string"
|
|
2566
2653
|
},
|
|
2567
2654
|
"default": "''",
|
|
2568
|
-
"description": "Current value of the
|
|
2655
|
+
"description": "Current value of the textarea field",
|
|
2569
2656
|
"fieldName": "value"
|
|
2570
2657
|
},
|
|
2571
2658
|
{
|
|
@@ -2576,6 +2663,51 @@
|
|
|
2576
2663
|
"default": "'stacked'",
|
|
2577
2664
|
"description": "Layout variant for the prompt component",
|
|
2578
2665
|
"fieldName": "variant"
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"name": "send-disabled",
|
|
2669
|
+
"type": {
|
|
2670
|
+
"text": "boolean"
|
|
2671
|
+
},
|
|
2672
|
+
"default": "false",
|
|
2673
|
+
"description": "Whether the send button is disabled",
|
|
2674
|
+
"fieldName": "sendDisabled"
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"name": "autofocus",
|
|
2678
|
+
"type": {
|
|
2679
|
+
"text": "boolean"
|
|
2680
|
+
},
|
|
2681
|
+
"default": "false",
|
|
2682
|
+
"description": "Whether to autofocus the textarea field when the component renders",
|
|
2683
|
+
"fieldName": "autofocus"
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"name": "input-disabled",
|
|
2687
|
+
"type": {
|
|
2688
|
+
"text": "boolean"
|
|
2689
|
+
},
|
|
2690
|
+
"default": "false",
|
|
2691
|
+
"description": "Whether the textarea field is disabled",
|
|
2692
|
+
"fieldName": "inputDisabled"
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
"name": "cancel-on-escape",
|
|
2696
|
+
"type": {
|
|
2697
|
+
"text": "boolean"
|
|
2698
|
+
},
|
|
2699
|
+
"default": "true",
|
|
2700
|
+
"description": "Whether to dispatch escape events when Escape key is pressed",
|
|
2701
|
+
"fieldName": "cancelOnEscape"
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"name": "running",
|
|
2705
|
+
"type": {
|
|
2706
|
+
"text": "boolean"
|
|
2707
|
+
},
|
|
2708
|
+
"default": "false",
|
|
2709
|
+
"description": "Whether the component is in running state (shows stop button instead of send button)",
|
|
2710
|
+
"fieldName": "running"
|
|
2579
2711
|
}
|
|
2580
2712
|
],
|
|
2581
2713
|
"superclass": {
|
|
@@ -2832,7 +2964,7 @@
|
|
|
2832
2964
|
"events": [
|
|
2833
2965
|
{
|
|
2834
2966
|
"type": {
|
|
2835
|
-
"text": "CustomEvent<
|
|
2967
|
+
"text": "CustomEvent<ForgeAiResponseMessageActionEventData>"
|
|
2836
2968
|
},
|
|
2837
2969
|
"description": "Fired when an action button is clicked.",
|
|
2838
2970
|
"name": "forge-ai-response-message-action"
|
|
@@ -3201,8 +3333,7 @@
|
|
|
3201
3333
|
},
|
|
3202
3334
|
"privacy": "public",
|
|
3203
3335
|
"default": "[]",
|
|
3204
|
-
"description": "Array of suggestion objects to display"
|
|
3205
|
-
"attribute": "suggestions"
|
|
3336
|
+
"description": "Array of suggestion objects to display"
|
|
3206
3337
|
},
|
|
3207
3338
|
{
|
|
3208
3339
|
"kind": "field",
|
|
@@ -3219,22 +3350,13 @@
|
|
|
3219
3350
|
"events": [
|
|
3220
3351
|
{
|
|
3221
3352
|
"type": {
|
|
3222
|
-
"text": "CustomEvent<
|
|
3353
|
+
"text": "CustomEvent<ForgeAiSuggestionsEventData>"
|
|
3223
3354
|
},
|
|
3224
3355
|
"description": "Fired when a suggestion is selected.",
|
|
3225
3356
|
"name": "forge-ai-suggestions-select"
|
|
3226
3357
|
}
|
|
3227
3358
|
],
|
|
3228
3359
|
"attributes": [
|
|
3229
|
-
{
|
|
3230
|
-
"name": "suggestions",
|
|
3231
|
-
"type": {
|
|
3232
|
-
"text": "Suggestion[]"
|
|
3233
|
-
},
|
|
3234
|
-
"default": "[]",
|
|
3235
|
-
"description": "Array of suggestion objects to display",
|
|
3236
|
-
"fieldName": "suggestions"
|
|
3237
|
-
},
|
|
3238
3360
|
{
|
|
3239
3361
|
"name": "variant",
|
|
3240
3362
|
"type": {
|
|
@@ -3289,6 +3411,58 @@
|
|
|
3289
3411
|
}
|
|
3290
3412
|
]
|
|
3291
3413
|
},
|
|
3414
|
+
{
|
|
3415
|
+
"kind": "javascript-module",
|
|
3416
|
+
"path": "src/lib/ai-thinking-indicator/ai-thinking-indicator.ts",
|
|
3417
|
+
"declarations": [
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "variable",
|
|
3420
|
+
"name": "AiThinkingIndicatorComponentTagName",
|
|
3421
|
+
"type": {
|
|
3422
|
+
"text": "keyof HTMLElementTagNameMap"
|
|
3423
|
+
},
|
|
3424
|
+
"default": "'forge-ai-thinking-indicator'"
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "class",
|
|
3428
|
+
"description": "",
|
|
3429
|
+
"name": "AiThinkingIndicatorComponent",
|
|
3430
|
+
"members": [],
|
|
3431
|
+
"superclass": {
|
|
3432
|
+
"name": "LitElement",
|
|
3433
|
+
"package": "lit"
|
|
3434
|
+
},
|
|
3435
|
+
"tagName": "forge-ai-thinking-indicator",
|
|
3436
|
+
"customElement": true,
|
|
3437
|
+
"summary": "A thinking indicator component that displays three animated dots to show that the system is processing or awaiting a response."
|
|
3438
|
+
}
|
|
3439
|
+
],
|
|
3440
|
+
"exports": [
|
|
3441
|
+
{
|
|
3442
|
+
"kind": "js",
|
|
3443
|
+
"name": "AiThinkingIndicatorComponentTagName",
|
|
3444
|
+
"declaration": {
|
|
3445
|
+
"name": "AiThinkingIndicatorComponentTagName",
|
|
3446
|
+
"module": "src/lib/ai-thinking-indicator/ai-thinking-indicator.ts"
|
|
3447
|
+
}
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"kind": "js",
|
|
3451
|
+
"name": "AiThinkingIndicatorComponent",
|
|
3452
|
+
"declaration": {
|
|
3453
|
+
"name": "AiThinkingIndicatorComponent",
|
|
3454
|
+
"module": "src/lib/ai-thinking-indicator/ai-thinking-indicator.ts"
|
|
3455
|
+
}
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"kind": "custom-element-definition",
|
|
3459
|
+
"declaration": {
|
|
3460
|
+
"name": "AiThinkingIndicatorComponent",
|
|
3461
|
+
"module": "src/lib/ai-thinking-indicator/ai-thinking-indicator.ts"
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
]
|
|
3465
|
+
},
|
|
3292
3466
|
{
|
|
3293
3467
|
"kind": "javascript-module",
|
|
3294
3468
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
@@ -3321,7 +3495,7 @@
|
|
|
3321
3495
|
"events": [
|
|
3322
3496
|
{
|
|
3323
3497
|
"type": {
|
|
3324
|
-
"text": "CustomEvent<
|
|
3498
|
+
"text": "CustomEvent<ForgeAiThreadsSelectEventData>"
|
|
3325
3499
|
},
|
|
3326
3500
|
"description": "Fired when a thread is selected.",
|
|
3327
3501
|
"name": "forge-ai-threads-select"
|
|
@@ -4248,7 +4422,7 @@
|
|
|
4248
4422
|
"text": "boolean"
|
|
4249
4423
|
},
|
|
4250
4424
|
"privacy": "public",
|
|
4251
|
-
"default": "
|
|
4425
|
+
"default": "false",
|
|
4252
4426
|
"description": "Whether the popover should flip to the opposite side when there's no space.",
|
|
4253
4427
|
"attribute": "flip"
|
|
4254
4428
|
},
|
|
@@ -4300,7 +4474,7 @@
|
|
|
4300
4474
|
"type": {
|
|
4301
4475
|
"text": "boolean"
|
|
4302
4476
|
},
|
|
4303
|
-
"default": "
|
|
4477
|
+
"default": "false",
|
|
4304
4478
|
"description": "Whether the popover should flip to the opposite side when there's no space.",
|
|
4305
4479
|
"fieldName": "flip"
|
|
4306
4480
|
},
|
|
@@ -4584,7 +4758,7 @@
|
|
|
4584
4758
|
],
|
|
4585
4759
|
"branchName": "main",
|
|
4586
4760
|
"forgeTypes": {
|
|
4587
|
-
"
|
|
4761
|
+
"ForgeAiActionsToolbarActionEventData": {
|
|
4588
4762
|
"path": "src/lib/ai-actions-toolbar/ai-actions-toolbar.ts",
|
|
4589
4763
|
"lineNumber": 16
|
|
4590
4764
|
},
|
|
@@ -4604,26 +4778,26 @@
|
|
|
4604
4778
|
"path": "src/lib/ai-button/ai-button.ts",
|
|
4605
4779
|
"lineNumber": 22
|
|
4606
4780
|
},
|
|
4607
|
-
"MinimizeIconType": {
|
|
4608
|
-
"path": "src/lib/ai-chat-header/ai-chat-header.ts",
|
|
4609
|
-
"lineNumber": 28
|
|
4610
|
-
},
|
|
4611
|
-
"AiChatHeaderComponent": {
|
|
4612
|
-
"path": "src/lib/ai-chat-header/ai-chat-header.ts",
|
|
4613
|
-
"lineNumber": 47
|
|
4614
|
-
},
|
|
4615
4781
|
"AiChainOfThoughtComponent": {
|
|
4616
4782
|
"path": "src/lib/ai-chain-of-thought/ai-chain-of-thought.ts",
|
|
4617
4783
|
"lineNumber": 17
|
|
4618
4784
|
},
|
|
4619
4785
|
"AiDialogComponent": {
|
|
4620
4786
|
"path": "src/lib/ai-dialog/ai-dialog.ts",
|
|
4621
|
-
"lineNumber":
|
|
4787
|
+
"lineNumber": 35
|
|
4622
4788
|
},
|
|
4623
4789
|
"AiChatInterfaceComponent": {
|
|
4624
4790
|
"path": "src/lib/ai-chat-interface/ai-chat-interface.ts",
|
|
4625
4791
|
"lineNumber": 25
|
|
4626
4792
|
},
|
|
4793
|
+
"MinimizeIconType": {
|
|
4794
|
+
"path": "src/lib/ai-chat-header/ai-chat-header.ts",
|
|
4795
|
+
"lineNumber": 28
|
|
4796
|
+
},
|
|
4797
|
+
"AiChatHeaderComponent": {
|
|
4798
|
+
"path": "src/lib/ai-chat-header/ai-chat-header.ts",
|
|
4799
|
+
"lineNumber": 47
|
|
4800
|
+
},
|
|
4627
4801
|
"ForgeAiDropdownMenuItemGroupComponent": {
|
|
4628
4802
|
"path": "src/lib/ai-dropdown-menu/ai-dropdown-menu-item-group.ts",
|
|
4629
4803
|
"lineNumber": 29
|
|
@@ -4638,15 +4812,15 @@
|
|
|
4638
4812
|
},
|
|
4639
4813
|
"DropdownMenuEvents": {
|
|
4640
4814
|
"path": "src/lib/ai-dropdown-menu/ai-dropdown-menu.ts",
|
|
4641
|
-
"lineNumber":
|
|
4815
|
+
"lineNumber": 24
|
|
4642
4816
|
},
|
|
4643
4817
|
"DropdownMenuVariant": {
|
|
4644
4818
|
"path": "src/lib/ai-dropdown-menu/ai-dropdown-menu.ts",
|
|
4645
|
-
"lineNumber":
|
|
4819
|
+
"lineNumber": 38
|
|
4646
4820
|
},
|
|
4647
4821
|
"ForgeAiDropdownMenuComponent": {
|
|
4648
4822
|
"path": "src/lib/ai-dropdown-menu/ai-dropdown-menu.ts",
|
|
4649
|
-
"lineNumber":
|
|
4823
|
+
"lineNumber": 99
|
|
4650
4824
|
},
|
|
4651
4825
|
"DropdownNavigationController": {
|
|
4652
4826
|
"path": "src/lib/ai-dropdown-menu/navigation-controller.ts",
|
|
@@ -4696,7 +4870,7 @@
|
|
|
4696
4870
|
"path": "src/lib/ai-fab/ai-fab.ts",
|
|
4697
4871
|
"lineNumber": 22
|
|
4698
4872
|
},
|
|
4699
|
-
"
|
|
4873
|
+
"ForgeAiFilePickerChangeEventData": {
|
|
4700
4874
|
"path": "src/lib/ai-file-picker/ai-file-picker.ts",
|
|
4701
4875
|
"lineNumber": 21
|
|
4702
4876
|
},
|
|
@@ -4704,7 +4878,7 @@
|
|
|
4704
4878
|
"path": "src/lib/ai-file-picker/ai-file-picker.ts",
|
|
4705
4879
|
"lineNumber": 28
|
|
4706
4880
|
},
|
|
4707
|
-
"
|
|
4881
|
+
"AiFilePickerComponent": {
|
|
4708
4882
|
"path": "src/lib/ai-file-picker/ai-file-picker.ts",
|
|
4709
4883
|
"lineNumber": 56
|
|
4710
4884
|
},
|
|
@@ -4728,17 +4902,21 @@
|
|
|
4728
4902
|
"path": "src/lib/ai-modal/ai-modal.ts",
|
|
4729
4903
|
"lineNumber": 30
|
|
4730
4904
|
},
|
|
4731
|
-
"
|
|
4905
|
+
"ForgeAiPromptSendEventData": {
|
|
4732
4906
|
"path": "src/lib/ai-prompt/ai-prompt.ts",
|
|
4733
|
-
"lineNumber":
|
|
4907
|
+
"lineNumber": 21
|
|
4908
|
+
},
|
|
4909
|
+
"ForgeAiPromptAttachmentEventData": {
|
|
4910
|
+
"path": "src/lib/ai-prompt/ai-prompt.ts",
|
|
4911
|
+
"lineNumber": 27
|
|
4734
4912
|
},
|
|
4735
4913
|
"AiPromptVariant": {
|
|
4736
4914
|
"path": "src/lib/ai-prompt/ai-prompt.ts",
|
|
4737
|
-
"lineNumber":
|
|
4915
|
+
"lineNumber": 31
|
|
4738
4916
|
},
|
|
4739
4917
|
"AiPromptComponent": {
|
|
4740
4918
|
"path": "src/lib/ai-prompt/ai-prompt.ts",
|
|
4741
|
-
"lineNumber":
|
|
4919
|
+
"lineNumber": 48
|
|
4742
4920
|
},
|
|
4743
4921
|
"AiReasoningComponent": {
|
|
4744
4922
|
"path": "src/lib/ai-reasoning/ai-reasoning.ts",
|
|
@@ -4752,7 +4930,7 @@
|
|
|
4752
4930
|
"path": "src/lib/ai-response-message/ai-response-message.ts",
|
|
4753
4931
|
"lineNumber": 18
|
|
4754
4932
|
},
|
|
4755
|
-
"
|
|
4933
|
+
"ForgeAiResponseMessageActionEventData": {
|
|
4756
4934
|
"path": "src/lib/ai-response-message/ai-response-message.ts",
|
|
4757
4935
|
"lineNumber": 20
|
|
4758
4936
|
},
|
|
@@ -4772,7 +4950,7 @@
|
|
|
4772
4950
|
"path": "src/lib/ai-suggestions/ai-suggestions.ts",
|
|
4773
4951
|
"lineNumber": 17
|
|
4774
4952
|
},
|
|
4775
|
-
"
|
|
4953
|
+
"ForgeAiSuggestionsEventData": {
|
|
4776
4954
|
"path": "src/lib/ai-suggestions/ai-suggestions.ts",
|
|
4777
4955
|
"lineNumber": 22
|
|
4778
4956
|
},
|
|
@@ -4784,11 +4962,15 @@
|
|
|
4784
4962
|
"path": "src/lib/ai-suggestions/ai-suggestions.ts",
|
|
4785
4963
|
"lineNumber": 39
|
|
4786
4964
|
},
|
|
4965
|
+
"AiThinkingIndicatorComponent": {
|
|
4966
|
+
"path": "src/lib/ai-thinking-indicator/ai-thinking-indicator.ts",
|
|
4967
|
+
"lineNumber": 24
|
|
4968
|
+
},
|
|
4787
4969
|
"Thread": {
|
|
4788
4970
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
4789
4971
|
"lineNumber": 19
|
|
4790
4972
|
},
|
|
4791
|
-
"
|
|
4973
|
+
"ForgeAiThreadsSelectEventData": {
|
|
4792
4974
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
4793
4975
|
"lineNumber": 26
|
|
4794
4976
|
},
|
|
@@ -4820,7 +5002,7 @@
|
|
|
4820
5002
|
"path": "src/lib/ai-voice-input/ai-voice-input.ts",
|
|
4821
5003
|
"lineNumber": 39
|
|
4822
5004
|
},
|
|
4823
|
-
"
|
|
5005
|
+
"ForgeAiVoiceInputResultEvent": {
|
|
4824
5006
|
"path": "src/lib/ai-voice-input/ai-voice-input.ts",
|
|
4825
5007
|
"lineNumber": 61
|
|
4826
5008
|
},
|