@tylertech/forge-ai 0.2.0 → 0.3.0
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 +282 -100
- 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"
|
|
@@ -724,14 +724,14 @@
|
|
|
724
724
|
"members": [
|
|
725
725
|
{
|
|
726
726
|
"kind": "method",
|
|
727
|
-
"name": "
|
|
727
|
+
"name": "scrollToBottom",
|
|
728
728
|
"privacy": "public",
|
|
729
729
|
"return": {
|
|
730
730
|
"type": {
|
|
731
731
|
"text": "void"
|
|
732
732
|
}
|
|
733
733
|
},
|
|
734
|
-
"description": "Scrolls the messages container to the bottom
|
|
734
|
+
"description": "Scrolls the messages container to the bottom with smooth animation"
|
|
735
735
|
}
|
|
736
736
|
],
|
|
737
737
|
"superclass": {
|
|
@@ -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,109 @@
|
|
|
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
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"kind": "javascript-module",
|
|
3468
|
+
"path": "src/lib/ai-user-message/ai-user-message.ts",
|
|
3469
|
+
"declarations": [
|
|
3470
|
+
{
|
|
3471
|
+
"kind": "variable",
|
|
3472
|
+
"name": "AiUserMessageComponentTagName",
|
|
3473
|
+
"type": {
|
|
3474
|
+
"text": "keyof HTMLElementTagNameMap"
|
|
3475
|
+
},
|
|
3476
|
+
"default": "'forge-ai-user-message'"
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
"kind": "class",
|
|
3480
|
+
"description": "",
|
|
3481
|
+
"name": "AiUserMessageComponent",
|
|
3482
|
+
"members": [],
|
|
3483
|
+
"superclass": {
|
|
3484
|
+
"name": "LitElement",
|
|
3485
|
+
"package": "lit"
|
|
3486
|
+
},
|
|
3487
|
+
"tagName": "forge-ai-user-message",
|
|
3488
|
+
"customElement": true
|
|
3489
|
+
}
|
|
3490
|
+
],
|
|
3491
|
+
"exports": [
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "js",
|
|
3494
|
+
"name": "AiUserMessageComponentTagName",
|
|
3495
|
+
"declaration": {
|
|
3496
|
+
"name": "AiUserMessageComponentTagName",
|
|
3497
|
+
"module": "src/lib/ai-user-message/ai-user-message.ts"
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"kind": "js",
|
|
3502
|
+
"name": "AiUserMessageComponent",
|
|
3503
|
+
"declaration": {
|
|
3504
|
+
"name": "AiUserMessageComponent",
|
|
3505
|
+
"module": "src/lib/ai-user-message/ai-user-message.ts"
|
|
3506
|
+
}
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"kind": "custom-element-definition",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "AiUserMessageComponent",
|
|
3512
|
+
"module": "src/lib/ai-user-message/ai-user-message.ts"
|
|
3513
|
+
}
|
|
3514
|
+
}
|
|
3515
|
+
]
|
|
3516
|
+
},
|
|
3292
3517
|
{
|
|
3293
3518
|
"kind": "javascript-module",
|
|
3294
3519
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
@@ -3321,7 +3546,7 @@
|
|
|
3321
3546
|
"events": [
|
|
3322
3547
|
{
|
|
3323
3548
|
"type": {
|
|
3324
|
-
"text": "CustomEvent<
|
|
3549
|
+
"text": "CustomEvent<ForgeAiThreadsSelectEventData>"
|
|
3325
3550
|
},
|
|
3326
3551
|
"description": "Fired when a thread is selected.",
|
|
3327
3552
|
"name": "forge-ai-threads-select"
|
|
@@ -3386,57 +3611,6 @@
|
|
|
3386
3611
|
}
|
|
3387
3612
|
]
|
|
3388
3613
|
},
|
|
3389
|
-
{
|
|
3390
|
-
"kind": "javascript-module",
|
|
3391
|
-
"path": "src/lib/ai-user-message/ai-user-message.ts",
|
|
3392
|
-
"declarations": [
|
|
3393
|
-
{
|
|
3394
|
-
"kind": "variable",
|
|
3395
|
-
"name": "AiUserMessageComponentTagName",
|
|
3396
|
-
"type": {
|
|
3397
|
-
"text": "keyof HTMLElementTagNameMap"
|
|
3398
|
-
},
|
|
3399
|
-
"default": "'forge-ai-user-message'"
|
|
3400
|
-
},
|
|
3401
|
-
{
|
|
3402
|
-
"kind": "class",
|
|
3403
|
-
"description": "",
|
|
3404
|
-
"name": "AiUserMessageComponent",
|
|
3405
|
-
"members": [],
|
|
3406
|
-
"superclass": {
|
|
3407
|
-
"name": "LitElement",
|
|
3408
|
-
"package": "lit"
|
|
3409
|
-
},
|
|
3410
|
-
"tagName": "forge-ai-user-message",
|
|
3411
|
-
"customElement": true
|
|
3412
|
-
}
|
|
3413
|
-
],
|
|
3414
|
-
"exports": [
|
|
3415
|
-
{
|
|
3416
|
-
"kind": "js",
|
|
3417
|
-
"name": "AiUserMessageComponentTagName",
|
|
3418
|
-
"declaration": {
|
|
3419
|
-
"name": "AiUserMessageComponentTagName",
|
|
3420
|
-
"module": "src/lib/ai-user-message/ai-user-message.ts"
|
|
3421
|
-
}
|
|
3422
|
-
},
|
|
3423
|
-
{
|
|
3424
|
-
"kind": "js",
|
|
3425
|
-
"name": "AiUserMessageComponent",
|
|
3426
|
-
"declaration": {
|
|
3427
|
-
"name": "AiUserMessageComponent",
|
|
3428
|
-
"module": "src/lib/ai-user-message/ai-user-message.ts"
|
|
3429
|
-
}
|
|
3430
|
-
},
|
|
3431
|
-
{
|
|
3432
|
-
"kind": "custom-element-definition",
|
|
3433
|
-
"declaration": {
|
|
3434
|
-
"name": "AiUserMessageComponent",
|
|
3435
|
-
"module": "src/lib/ai-user-message/ai-user-message.ts"
|
|
3436
|
-
}
|
|
3437
|
-
}
|
|
3438
|
-
]
|
|
3439
|
-
},
|
|
3440
3614
|
{
|
|
3441
3615
|
"kind": "javascript-module",
|
|
3442
3616
|
"path": "src/lib/ai-voice-input/ai-voice-input.ts",
|
|
@@ -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
|
},
|
|
@@ -4618,7 +4792,7 @@
|
|
|
4618
4792
|
},
|
|
4619
4793
|
"AiDialogComponent": {
|
|
4620
4794
|
"path": "src/lib/ai-dialog/ai-dialog.ts",
|
|
4621
|
-
"lineNumber":
|
|
4795
|
+
"lineNumber": 35
|
|
4622
4796
|
},
|
|
4623
4797
|
"AiChatInterfaceComponent": {
|
|
4624
4798
|
"path": "src/lib/ai-chat-interface/ai-chat-interface.ts",
|
|
@@ -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,19 @@
|
|
|
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
|
+
},
|
|
4969
|
+
"AiUserMessageComponent": {
|
|
4970
|
+
"path": "src/lib/ai-user-message/ai-user-message.ts",
|
|
4971
|
+
"lineNumber": 17
|
|
4972
|
+
},
|
|
4787
4973
|
"Thread": {
|
|
4788
4974
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
4789
4975
|
"lineNumber": 19
|
|
4790
4976
|
},
|
|
4791
|
-
"
|
|
4977
|
+
"ForgeAiThreadsSelectEventData": {
|
|
4792
4978
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
4793
4979
|
"lineNumber": 26
|
|
4794
4980
|
},
|
|
@@ -4796,10 +4982,6 @@
|
|
|
4796
4982
|
"path": "src/lib/ai-threads/ai-threads.ts",
|
|
4797
4983
|
"lineNumber": 40
|
|
4798
4984
|
},
|
|
4799
|
-
"AiUserMessageComponent": {
|
|
4800
|
-
"path": "src/lib/ai-user-message/ai-user-message.ts",
|
|
4801
|
-
"lineNumber": 17
|
|
4802
|
-
},
|
|
4803
4985
|
"SpeechRecognitionAlternative": {
|
|
4804
4986
|
"path": "src/lib/ai-voice-input/ai-voice-input.ts",
|
|
4805
4987
|
"lineNumber": 18
|
|
@@ -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
|
},
|
|
@@ -4,10 +4,10 @@ declare global {
|
|
|
4
4
|
'forge-ai-actions-toolbar': AiActionsToolbarComponent;
|
|
5
5
|
}
|
|
6
6
|
interface HTMLElementEventMap {
|
|
7
|
-
'forge-ai-actions-toolbar-action': CustomEvent<
|
|
7
|
+
'forge-ai-actions-toolbar-action': CustomEvent<ForgeAiActionsToolbarActionEventData>;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface ForgeAiActionsToolbarActionEventData {
|
|
11
11
|
action: AiActionsToolbarAction;
|
|
12
12
|
}
|
|
13
13
|
export type AiActionsToolbarAction = 'refresh' | 'copy' | 'thumbs-up' | 'thumbs-down';
|
|
@@ -15,7 +15,7 @@ export declare const AiActionsToolbarComponentTagName: keyof HTMLElementTagNameM
|
|
|
15
15
|
/**
|
|
16
16
|
* @tag forge-ai-actions-toolbar
|
|
17
17
|
*
|
|
18
|
-
* @event {CustomEvent<
|
|
18
|
+
* @event {CustomEvent<ForgeAiActionsToolbarActionEventData>} forge-ai-actions-toolbar-action - Fired when an action button is clicked. The detail contains the action type.
|
|
19
19
|
*/
|
|
20
20
|
export declare class AiActionsToolbarComponent extends LitElement {
|
|
21
21
|
static styles: import('lit').CSSResult;
|
|
@@ -18,15 +18,9 @@ export declare class AiChatInterfaceComponent extends LitElement {
|
|
|
18
18
|
static styles: import('lit').CSSResult;
|
|
19
19
|
private _slottedSuggestionsNodes;
|
|
20
20
|
private _hasMessages;
|
|
21
|
-
private _resizeObserver;
|
|
22
|
-
private _mutationObserver;
|
|
23
|
-
private _userHasScrolledUp;
|
|
24
|
-
private _isScrollEventListenerAdded;
|
|
25
21
|
/**
|
|
26
|
-
* Scrolls the messages container to the bottom
|
|
22
|
+
* Scrolls the messages container to the bottom with smooth animation
|
|
27
23
|
*/
|
|
28
|
-
|
|
29
|
-
firstUpdated(): void;
|
|
30
|
-
disconnectedCallback(): void;
|
|
24
|
+
scrollToBottom(): void;
|
|
31
25
|
render(): TemplateResult;
|
|
32
26
|
}
|