@carbon/ai-chat-components 1.3.0 → 1.4.0-rc.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 +394 -322
- package/es/components/audio-player/src/utils/url-detector.js +2 -1
- package/es/components/audio-player/src/utils/url-detector.js.map +1 -1
- package/es/components/chat-history/src/history-panel-item.js +2 -2
- package/es/components/chat-history/src/history-panel-item.js.map +1 -1
- package/es/components/chat-history/src/history-toolbar.d.ts +53 -0
- package/es/components/chat-history/src/history-toolbar.js +13 -2
- package/es/components/chat-history/src/history-toolbar.js.map +1 -1
- package/es/components/markdown/src/markdown-renderer.js +77 -32
- package/es/components/markdown/src/markdown-renderer.js.map +1 -1
- package/es/components/markdown/src/markdown-token-tree.js +37 -3
- package/es/components/markdown/src/markdown-token-tree.js.map +1 -1
- package/es/components/markdown/src/utils/html-helpers.d.ts +3 -0
- package/es/components/markdown/src/utils/html-helpers.js +113 -1
- package/es/components/markdown/src/utils/html-helpers.js.map +1 -1
- package/es/components/reasoning-steps/src/reasoning-step.js +6 -2
- package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es/components/toolbar/src/toolbar.js +2 -2
- package/es/components/toolbar/src/toolbar.scss.js +1 -1
- package/es/react/ai-label-action-button.d.ts +3 -0
- package/es/react/ai-label-action-button.js +27 -0
- package/es/react/ai-label-action-button.js.map +1 -0
- package/es-custom/components/audio-player/src/utils/url-detector.js +2 -1
- package/es-custom/components/audio-player/src/utils/url-detector.js.map +1 -1
- package/es-custom/components/chat-history/src/history-panel-item.js +2 -2
- package/es-custom/components/chat-history/src/history-panel-item.js.map +1 -1
- package/es-custom/components/chat-history/src/history-toolbar.d.ts +53 -0
- package/es-custom/components/chat-history/src/history-toolbar.js +13 -2
- package/es-custom/components/chat-history/src/history-toolbar.js.map +1 -1
- package/es-custom/components/markdown/src/markdown-renderer.js +77 -32
- package/es-custom/components/markdown/src/markdown-renderer.js.map +1 -1
- package/es-custom/components/markdown/src/markdown-token-tree.js +37 -3
- package/es-custom/components/markdown/src/markdown-token-tree.js.map +1 -1
- package/es-custom/components/markdown/src/utils/html-helpers.d.ts +3 -0
- package/es-custom/components/markdown/src/utils/html-helpers.js +113 -1
- package/es-custom/components/markdown/src/utils/html-helpers.js.map +1 -1
- package/es-custom/components/reasoning-steps/src/reasoning-step.js +6 -2
- package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +1 -1
- package/es-custom/components/toolbar/src/toolbar.js +2 -2
- package/es-custom/components/toolbar/src/toolbar.scss.js +1 -1
- package/es-custom/react/ai-label-action-button.d.ts +3 -0
- package/es-custom/react/ai-label-action-button.js +27 -0
- package/es-custom/react/ai-label-action-button.js.map +1 -0
- package/package.json +3 -3
package/custom-elements.json
CHANGED
|
@@ -26,6 +26,26 @@
|
|
|
26
26
|
}
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "javascript-module",
|
|
31
|
+
"path": "src/react/ai-label-action-button.ts",
|
|
32
|
+
"declarations": [
|
|
33
|
+
{
|
|
34
|
+
"kind": "variable",
|
|
35
|
+
"name": "AILabelActionButton"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"exports": [
|
|
39
|
+
{
|
|
40
|
+
"kind": "js",
|
|
41
|
+
"name": "default",
|
|
42
|
+
"declaration": {
|
|
43
|
+
"name": "AILabelActionButton",
|
|
44
|
+
"module": "src/react/ai-label-action-button.ts"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
29
49
|
{
|
|
30
50
|
"kind": "javascript-module",
|
|
31
51
|
"path": "src/react/audio-player.ts",
|
|
@@ -1174,6 +1194,12 @@
|
|
|
1174
1194
|
}
|
|
1175
1195
|
]
|
|
1176
1196
|
},
|
|
1197
|
+
{
|
|
1198
|
+
"kind": "javascript-module",
|
|
1199
|
+
"path": "src/components/workspace-shell/index.ts",
|
|
1200
|
+
"declarations": [],
|
|
1201
|
+
"exports": []
|
|
1202
|
+
},
|
|
1177
1203
|
{
|
|
1178
1204
|
"kind": "javascript-module",
|
|
1179
1205
|
"path": "src/globals/decorators/carbon-element.ts",
|
|
@@ -1235,12 +1261,6 @@
|
|
|
1235
1261
|
}
|
|
1236
1262
|
]
|
|
1237
1263
|
},
|
|
1238
|
-
{
|
|
1239
|
-
"kind": "javascript-module",
|
|
1240
|
-
"path": "src/components/workspace-shell/index.ts",
|
|
1241
|
-
"declarations": [],
|
|
1242
|
-
"exports": []
|
|
1243
|
-
},
|
|
1244
1264
|
{
|
|
1245
1265
|
"kind": "javascript-module",
|
|
1246
1266
|
"path": "src/globals/internal/storybook-cdn.ts",
|
|
@@ -2740,6 +2760,151 @@
|
|
|
2740
2760
|
}
|
|
2741
2761
|
]
|
|
2742
2762
|
},
|
|
2763
|
+
{
|
|
2764
|
+
"kind": "javascript-module",
|
|
2765
|
+
"path": "src/components/carousel/src/carousel.ts",
|
|
2766
|
+
"declarations": [
|
|
2767
|
+
{
|
|
2768
|
+
"kind": "class",
|
|
2769
|
+
"description": "Carousel component",
|
|
2770
|
+
"name": "CDSAICarousel",
|
|
2771
|
+
"slots": [
|
|
2772
|
+
{
|
|
2773
|
+
"description": "The body",
|
|
2774
|
+
"name": "body"
|
|
2775
|
+
}
|
|
2776
|
+
],
|
|
2777
|
+
"members": [
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "field",
|
|
2780
|
+
"name": "nextBtnText",
|
|
2781
|
+
"type": {
|
|
2782
|
+
"text": "string | undefined"
|
|
2783
|
+
},
|
|
2784
|
+
"description": "Text for the next button",
|
|
2785
|
+
"attribute": "nextBtnText"
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"kind": "field",
|
|
2789
|
+
"name": "previousBtnText",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "string | undefined"
|
|
2792
|
+
},
|
|
2793
|
+
"description": "Text for the previous button",
|
|
2794
|
+
"attribute": "previousBtnText"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "field",
|
|
2798
|
+
"name": "container",
|
|
2799
|
+
"type": {
|
|
2800
|
+
"text": "Array<HTMLElement> | undefined"
|
|
2801
|
+
},
|
|
2802
|
+
"privacy": "private"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"kind": "field",
|
|
2806
|
+
"name": "carousel",
|
|
2807
|
+
"type": {
|
|
2808
|
+
"text": "InitCarousel | undefined"
|
|
2809
|
+
},
|
|
2810
|
+
"privacy": "private"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"kind": "field",
|
|
2814
|
+
"name": "_currentIndex",
|
|
2815
|
+
"type": {
|
|
2816
|
+
"text": "number"
|
|
2817
|
+
},
|
|
2818
|
+
"privacy": "private",
|
|
2819
|
+
"default": "0"
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
"kind": "field",
|
|
2823
|
+
"name": "_lastIndex",
|
|
2824
|
+
"type": {
|
|
2825
|
+
"text": "number"
|
|
2826
|
+
},
|
|
2827
|
+
"privacy": "private",
|
|
2828
|
+
"default": "0"
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "method",
|
|
2832
|
+
"name": "_handlePrev",
|
|
2833
|
+
"privacy": "private"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"kind": "method",
|
|
2837
|
+
"name": "_handleNext",
|
|
2838
|
+
"privacy": "private"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"kind": "method",
|
|
2842
|
+
"name": "_dispatchChange",
|
|
2843
|
+
"privacy": "private",
|
|
2844
|
+
"parameters": [
|
|
2845
|
+
{
|
|
2846
|
+
"name": "data",
|
|
2847
|
+
"type": {
|
|
2848
|
+
"text": "CarouselResponse"
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
]
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"kind": "field",
|
|
2855
|
+
"name": "eventOnChange",
|
|
2856
|
+
"static": true,
|
|
2857
|
+
"readonly": true
|
|
2858
|
+
}
|
|
2859
|
+
],
|
|
2860
|
+
"events": [
|
|
2861
|
+
{
|
|
2862
|
+
"type": {
|
|
2863
|
+
"text": "CustomEvent"
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"description": "custom event for when the carousel changes",
|
|
2868
|
+
"name": "cds-aichat-carousel-onchange"
|
|
2869
|
+
}
|
|
2870
|
+
],
|
|
2871
|
+
"attributes": [
|
|
2872
|
+
{
|
|
2873
|
+
"name": "nextBtnText",
|
|
2874
|
+
"type": {
|
|
2875
|
+
"text": "string | undefined"
|
|
2876
|
+
},
|
|
2877
|
+
"description": "Text for the next button",
|
|
2878
|
+
"fieldName": "nextBtnText"
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"name": "previousBtnText",
|
|
2882
|
+
"type": {
|
|
2883
|
+
"text": "string | undefined"
|
|
2884
|
+
},
|
|
2885
|
+
"description": "Text for the previous button",
|
|
2886
|
+
"fieldName": "previousBtnText"
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2889
|
+
"superclass": {
|
|
2890
|
+
"name": "LitElement",
|
|
2891
|
+
"package": "lit"
|
|
2892
|
+
},
|
|
2893
|
+
"tagName": "cds-aichat-carousel",
|
|
2894
|
+
"customElement": true
|
|
2895
|
+
}
|
|
2896
|
+
],
|
|
2897
|
+
"exports": [
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "js",
|
|
2900
|
+
"name": "default",
|
|
2901
|
+
"declaration": {
|
|
2902
|
+
"name": "CDSAICarousel",
|
|
2903
|
+
"module": "src/components/carousel/src/carousel.ts"
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
]
|
|
2907
|
+
},
|
|
2743
2908
|
{
|
|
2744
2909
|
"kind": "javascript-module",
|
|
2745
2910
|
"path": "src/components/chain-of-thought/src/chain-of-thought-step.ts",
|
|
@@ -3578,211 +3743,66 @@
|
|
|
3578
3743
|
},
|
|
3579
3744
|
{
|
|
3580
3745
|
"kind": "javascript-module",
|
|
3581
|
-
"path": "src/components/
|
|
3746
|
+
"path": "src/components/chat-button/src/chat-button.ts",
|
|
3582
3747
|
"declarations": [
|
|
3583
3748
|
{
|
|
3584
3749
|
"kind": "class",
|
|
3585
|
-
"description": "
|
|
3586
|
-
"name": "
|
|
3587
|
-
"slots": [
|
|
3588
|
-
{
|
|
3589
|
-
"description": "The body",
|
|
3590
|
-
"name": "body"
|
|
3591
|
-
}
|
|
3592
|
-
],
|
|
3750
|
+
"description": "Component extending the",
|
|
3751
|
+
"name": "CDSAIChatButton",
|
|
3593
3752
|
"members": [
|
|
3594
3753
|
{
|
|
3595
3754
|
"kind": "field",
|
|
3596
|
-
"name": "
|
|
3597
|
-
"type": {
|
|
3598
|
-
"text": "string | undefined"
|
|
3599
|
-
},
|
|
3600
|
-
"description": "Text for the next button",
|
|
3601
|
-
"attribute": "nextBtnText"
|
|
3602
|
-
},
|
|
3603
|
-
{
|
|
3604
|
-
"kind": "field",
|
|
3605
|
-
"name": "previousBtnText",
|
|
3755
|
+
"name": "isQuickAction",
|
|
3606
3756
|
"type": {
|
|
3607
|
-
"text": "
|
|
3757
|
+
"text": "boolean"
|
|
3608
3758
|
},
|
|
3609
|
-
"
|
|
3610
|
-
"
|
|
3759
|
+
"default": "false",
|
|
3760
|
+
"description": "Specify whether the `ChatButton` should be rendered as a quick action button",
|
|
3761
|
+
"attribute": "is-quick-action"
|
|
3611
3762
|
},
|
|
3612
3763
|
{
|
|
3613
3764
|
"kind": "field",
|
|
3614
|
-
"name": "
|
|
3765
|
+
"name": "size",
|
|
3615
3766
|
"type": {
|
|
3616
|
-
"text": "
|
|
3767
|
+
"text": "ChatButtonSize"
|
|
3617
3768
|
},
|
|
3618
|
-
"
|
|
3769
|
+
"description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
|
|
3770
|
+
"attribute": "size",
|
|
3771
|
+
"reflects": true
|
|
3619
3772
|
},
|
|
3620
3773
|
{
|
|
3621
|
-
"kind": "
|
|
3622
|
-
"name": "
|
|
3623
|
-
"
|
|
3624
|
-
|
|
3774
|
+
"kind": "method",
|
|
3775
|
+
"name": "_normalizeButtonState",
|
|
3776
|
+
"privacy": "private",
|
|
3777
|
+
"return": {
|
|
3778
|
+
"type": {
|
|
3779
|
+
"text": "void"
|
|
3780
|
+
}
|
|
3625
3781
|
},
|
|
3626
|
-
"
|
|
3627
|
-
|
|
3782
|
+
"parameters": [
|
|
3783
|
+
{
|
|
3784
|
+
"name": "changedProps",
|
|
3785
|
+
"type": {
|
|
3786
|
+
"text": "PropertyValues<this>"
|
|
3787
|
+
}
|
|
3788
|
+
}
|
|
3789
|
+
]
|
|
3790
|
+
}
|
|
3791
|
+
],
|
|
3792
|
+
"attributes": [
|
|
3628
3793
|
{
|
|
3629
|
-
"
|
|
3630
|
-
"name": "_currentIndex",
|
|
3794
|
+
"name": "is-quick-action",
|
|
3631
3795
|
"type": {
|
|
3632
|
-
"text": "
|
|
3796
|
+
"text": "boolean"
|
|
3633
3797
|
},
|
|
3634
|
-
"
|
|
3635
|
-
"
|
|
3798
|
+
"default": "false",
|
|
3799
|
+
"description": "Specify whether the `ChatButton` should be rendered as a quick action button",
|
|
3800
|
+
"fieldName": "isQuickAction"
|
|
3636
3801
|
},
|
|
3637
3802
|
{
|
|
3638
|
-
"
|
|
3639
|
-
"name": "_lastIndex",
|
|
3803
|
+
"name": "size",
|
|
3640
3804
|
"type": {
|
|
3641
|
-
"text": "
|
|
3642
|
-
},
|
|
3643
|
-
"privacy": "private",
|
|
3644
|
-
"default": "0"
|
|
3645
|
-
},
|
|
3646
|
-
{
|
|
3647
|
-
"kind": "method",
|
|
3648
|
-
"name": "_handlePrev",
|
|
3649
|
-
"privacy": "private"
|
|
3650
|
-
},
|
|
3651
|
-
{
|
|
3652
|
-
"kind": "method",
|
|
3653
|
-
"name": "_handleNext",
|
|
3654
|
-
"privacy": "private"
|
|
3655
|
-
},
|
|
3656
|
-
{
|
|
3657
|
-
"kind": "method",
|
|
3658
|
-
"name": "_dispatchChange",
|
|
3659
|
-
"privacy": "private",
|
|
3660
|
-
"parameters": [
|
|
3661
|
-
{
|
|
3662
|
-
"name": "data",
|
|
3663
|
-
"type": {
|
|
3664
|
-
"text": "CarouselResponse"
|
|
3665
|
-
}
|
|
3666
|
-
}
|
|
3667
|
-
]
|
|
3668
|
-
},
|
|
3669
|
-
{
|
|
3670
|
-
"kind": "field",
|
|
3671
|
-
"name": "eventOnChange",
|
|
3672
|
-
"static": true,
|
|
3673
|
-
"readonly": true
|
|
3674
|
-
}
|
|
3675
|
-
],
|
|
3676
|
-
"events": [
|
|
3677
|
-
{
|
|
3678
|
-
"type": {
|
|
3679
|
-
"text": "CustomEvent"
|
|
3680
|
-
}
|
|
3681
|
-
},
|
|
3682
|
-
{
|
|
3683
|
-
"description": "custom event for when the carousel changes",
|
|
3684
|
-
"name": "cds-aichat-carousel-onchange"
|
|
3685
|
-
}
|
|
3686
|
-
],
|
|
3687
|
-
"attributes": [
|
|
3688
|
-
{
|
|
3689
|
-
"name": "nextBtnText",
|
|
3690
|
-
"type": {
|
|
3691
|
-
"text": "string | undefined"
|
|
3692
|
-
},
|
|
3693
|
-
"description": "Text for the next button",
|
|
3694
|
-
"fieldName": "nextBtnText"
|
|
3695
|
-
},
|
|
3696
|
-
{
|
|
3697
|
-
"name": "previousBtnText",
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "string | undefined"
|
|
3700
|
-
},
|
|
3701
|
-
"description": "Text for the previous button",
|
|
3702
|
-
"fieldName": "previousBtnText"
|
|
3703
|
-
}
|
|
3704
|
-
],
|
|
3705
|
-
"superclass": {
|
|
3706
|
-
"name": "LitElement",
|
|
3707
|
-
"package": "lit"
|
|
3708
|
-
},
|
|
3709
|
-
"tagName": "cds-aichat-carousel",
|
|
3710
|
-
"customElement": true
|
|
3711
|
-
}
|
|
3712
|
-
],
|
|
3713
|
-
"exports": [
|
|
3714
|
-
{
|
|
3715
|
-
"kind": "js",
|
|
3716
|
-
"name": "default",
|
|
3717
|
-
"declaration": {
|
|
3718
|
-
"name": "CDSAICarousel",
|
|
3719
|
-
"module": "src/components/carousel/src/carousel.ts"
|
|
3720
|
-
}
|
|
3721
|
-
}
|
|
3722
|
-
]
|
|
3723
|
-
},
|
|
3724
|
-
{
|
|
3725
|
-
"kind": "javascript-module",
|
|
3726
|
-
"path": "src/components/chat-button/src/chat-button.ts",
|
|
3727
|
-
"declarations": [
|
|
3728
|
-
{
|
|
3729
|
-
"kind": "class",
|
|
3730
|
-
"description": "Component extending the",
|
|
3731
|
-
"name": "CDSAIChatButton",
|
|
3732
|
-
"members": [
|
|
3733
|
-
{
|
|
3734
|
-
"kind": "field",
|
|
3735
|
-
"name": "isQuickAction",
|
|
3736
|
-
"type": {
|
|
3737
|
-
"text": "boolean"
|
|
3738
|
-
},
|
|
3739
|
-
"default": "false",
|
|
3740
|
-
"description": "Specify whether the `ChatButton` should be rendered as a quick action button",
|
|
3741
|
-
"attribute": "is-quick-action"
|
|
3742
|
-
},
|
|
3743
|
-
{
|
|
3744
|
-
"kind": "field",
|
|
3745
|
-
"name": "size",
|
|
3746
|
-
"type": {
|
|
3747
|
-
"text": "ChatButtonSize"
|
|
3748
|
-
},
|
|
3749
|
-
"description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
|
|
3750
|
-
"attribute": "size",
|
|
3751
|
-
"reflects": true
|
|
3752
|
-
},
|
|
3753
|
-
{
|
|
3754
|
-
"kind": "method",
|
|
3755
|
-
"name": "_normalizeButtonState",
|
|
3756
|
-
"privacy": "private",
|
|
3757
|
-
"return": {
|
|
3758
|
-
"type": {
|
|
3759
|
-
"text": "void"
|
|
3760
|
-
}
|
|
3761
|
-
},
|
|
3762
|
-
"parameters": [
|
|
3763
|
-
{
|
|
3764
|
-
"name": "changedProps",
|
|
3765
|
-
"type": {
|
|
3766
|
-
"text": "PropertyValues<this>"
|
|
3767
|
-
}
|
|
3768
|
-
}
|
|
3769
|
-
]
|
|
3770
|
-
}
|
|
3771
|
-
],
|
|
3772
|
-
"attributes": [
|
|
3773
|
-
{
|
|
3774
|
-
"name": "is-quick-action",
|
|
3775
|
-
"type": {
|
|
3776
|
-
"text": "boolean"
|
|
3777
|
-
},
|
|
3778
|
-
"default": "false",
|
|
3779
|
-
"description": "Specify whether the `ChatButton` should be rendered as a quick action button",
|
|
3780
|
-
"fieldName": "isQuickAction"
|
|
3781
|
-
},
|
|
3782
|
-
{
|
|
3783
|
-
"name": "size",
|
|
3784
|
-
"type": {
|
|
3785
|
-
"text": "ChatButtonSize"
|
|
3805
|
+
"text": "ChatButtonSize"
|
|
3786
3806
|
},
|
|
3787
3807
|
"description": "Button size.\nOptions: \"sm\", \"md\", \"lg\".",
|
|
3788
3808
|
"fieldName": "size"
|
|
@@ -5228,8 +5248,17 @@
|
|
|
5228
5248
|
"text": "string"
|
|
5229
5249
|
},
|
|
5230
5250
|
"default": "\"Clear search\"",
|
|
5251
|
+
"deprecated": "Use `searchAttributes['close-button-label-text']` instead.\nThis property will be removed in a future major version.",
|
|
5231
5252
|
"attribute": "close-button-label-text"
|
|
5232
5253
|
},
|
|
5254
|
+
{
|
|
5255
|
+
"kind": "field",
|
|
5256
|
+
"name": "searchAttributes",
|
|
5257
|
+
"type": {
|
|
5258
|
+
"text": "SearchAttributes | undefined"
|
|
5259
|
+
},
|
|
5260
|
+
"description": "Optional attributes to pass to the cds-search component.\nAllows customization of search behavior and appearance.\n\nNote: This is a JavaScript property only (not an HTML attribute).\nUse `.searchAttributes` to set it programmatically.\n\nDefault values:\n- `close-button-label-text`: \"Clear search\" (can be overridden via deprecated `closeButtonLabelText` property)"
|
|
5261
|
+
},
|
|
5233
5262
|
{
|
|
5234
5263
|
"kind": "field",
|
|
5235
5264
|
"name": "_handleNewChatButtonClick",
|
|
@@ -5266,6 +5295,7 @@
|
|
|
5266
5295
|
"text": "string"
|
|
5267
5296
|
},
|
|
5268
5297
|
"default": "\"Clear search\"",
|
|
5298
|
+
"deprecated": "Use `searchAttributes['close-button-label-text']` instead.\nThis property will be removed in a future major version.",
|
|
5269
5299
|
"fieldName": "closeButtonLabelText"
|
|
5270
5300
|
}
|
|
5271
5301
|
],
|
|
@@ -15303,139 +15333,6 @@
|
|
|
15303
15333
|
}
|
|
15304
15334
|
]
|
|
15305
15335
|
},
|
|
15306
|
-
{
|
|
15307
|
-
"kind": "javascript-module",
|
|
15308
|
-
"path": "src/components/markdown/src/utils/html-helpers.ts",
|
|
15309
|
-
"declarations": [
|
|
15310
|
-
{
|
|
15311
|
-
"kind": "function",
|
|
15312
|
-
"name": "combineConsecutiveHtmlInline",
|
|
15313
|
-
"return": {
|
|
15314
|
-
"type": {
|
|
15315
|
-
"text": "TokenTree[]"
|
|
15316
|
-
}
|
|
15317
|
-
},
|
|
15318
|
-
"parameters": [
|
|
15319
|
-
{
|
|
15320
|
-
"name": "children",
|
|
15321
|
-
"type": {
|
|
15322
|
-
"text": "TokenTree[]"
|
|
15323
|
-
}
|
|
15324
|
-
}
|
|
15325
|
-
]
|
|
15326
|
-
}
|
|
15327
|
-
],
|
|
15328
|
-
"exports": [
|
|
15329
|
-
{
|
|
15330
|
-
"kind": "js",
|
|
15331
|
-
"name": "combineConsecutiveHtmlInline",
|
|
15332
|
-
"declaration": {
|
|
15333
|
-
"name": "combineConsecutiveHtmlInline",
|
|
15334
|
-
"module": "src/components/markdown/src/utils/html-helpers.ts"
|
|
15335
|
-
}
|
|
15336
|
-
}
|
|
15337
|
-
]
|
|
15338
|
-
},
|
|
15339
|
-
{
|
|
15340
|
-
"kind": "javascript-module",
|
|
15341
|
-
"path": "src/components/markdown/src/utils/table-helpers.ts",
|
|
15342
|
-
"declarations": [
|
|
15343
|
-
{
|
|
15344
|
-
"kind": "function",
|
|
15345
|
-
"name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
|
|
15346
|
-
"parameters": [
|
|
15347
|
-
{
|
|
15348
|
-
"name": "{\n count,\n}",
|
|
15349
|
-
"type": {
|
|
15350
|
-
"text": "{\n count: number;\n}"
|
|
15351
|
-
}
|
|
15352
|
-
}
|
|
15353
|
-
]
|
|
15354
|
-
},
|
|
15355
|
-
{
|
|
15356
|
-
"kind": "function",
|
|
15357
|
-
"name": "DEFAULT_PAGINATION_STATUS_TEXT",
|
|
15358
|
-
"parameters": [
|
|
15359
|
-
{
|
|
15360
|
-
"name": "{\n start,\n end,\n count,\n}",
|
|
15361
|
-
"type": {
|
|
15362
|
-
"text": "{\n start: number;\n end: number;\n count: number;\n}"
|
|
15363
|
-
}
|
|
15364
|
-
}
|
|
15365
|
-
]
|
|
15366
|
-
},
|
|
15367
|
-
{
|
|
15368
|
-
"kind": "function",
|
|
15369
|
-
"name": "extractTableData",
|
|
15370
|
-
"return": {
|
|
15371
|
-
"type": {
|
|
15372
|
-
"text": "{\n headers: TableCellData[];\n rows: TableCellData[][];\n}"
|
|
15373
|
-
}
|
|
15374
|
-
},
|
|
15375
|
-
"parameters": [
|
|
15376
|
-
{
|
|
15377
|
-
"name": "tableNode",
|
|
15378
|
-
"type": {
|
|
15379
|
-
"text": "TokenTree"
|
|
15380
|
-
}
|
|
15381
|
-
}
|
|
15382
|
-
],
|
|
15383
|
-
"description": "Extracts tabular data from a table TokenTree node.\n\nConverts the hierarchical markdown table structure into the flat\nheader/rows format expected by the cds-aichat-table component while retaining\nthe TokenTree children required for rich rendering within cells."
|
|
15384
|
-
},
|
|
15385
|
-
{
|
|
15386
|
-
"kind": "function",
|
|
15387
|
-
"name": "extractTextContent",
|
|
15388
|
-
"return": {
|
|
15389
|
-
"type": {
|
|
15390
|
-
"text": "string"
|
|
15391
|
-
}
|
|
15392
|
-
},
|
|
15393
|
-
"parameters": [
|
|
15394
|
-
{
|
|
15395
|
-
"name": "node",
|
|
15396
|
-
"type": {
|
|
15397
|
-
"text": "TokenTree"
|
|
15398
|
-
}
|
|
15399
|
-
}
|
|
15400
|
-
],
|
|
15401
|
-
"description": "Recursively extracts plain text content from a TokenTree node.\n\nThis is used for table cells and other contexts where we need the\ntext content without HTML formatting."
|
|
15402
|
-
}
|
|
15403
|
-
],
|
|
15404
|
-
"exports": [
|
|
15405
|
-
{
|
|
15406
|
-
"kind": "js",
|
|
15407
|
-
"name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
|
|
15408
|
-
"declaration": {
|
|
15409
|
-
"name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
|
|
15410
|
-
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
15411
|
-
}
|
|
15412
|
-
},
|
|
15413
|
-
{
|
|
15414
|
-
"kind": "js",
|
|
15415
|
-
"name": "DEFAULT_PAGINATION_STATUS_TEXT",
|
|
15416
|
-
"declaration": {
|
|
15417
|
-
"name": "DEFAULT_PAGINATION_STATUS_TEXT",
|
|
15418
|
-
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
15419
|
-
}
|
|
15420
|
-
},
|
|
15421
|
-
{
|
|
15422
|
-
"kind": "js",
|
|
15423
|
-
"name": "extractTableData",
|
|
15424
|
-
"declaration": {
|
|
15425
|
-
"name": "extractTableData",
|
|
15426
|
-
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
15427
|
-
}
|
|
15428
|
-
},
|
|
15429
|
-
{
|
|
15430
|
-
"kind": "js",
|
|
15431
|
-
"name": "extractTextContent",
|
|
15432
|
-
"declaration": {
|
|
15433
|
-
"name": "extractTextContent",
|
|
15434
|
-
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
15435
|
-
}
|
|
15436
|
-
}
|
|
15437
|
-
]
|
|
15438
|
-
},
|
|
15439
15336
|
{
|
|
15440
15337
|
"kind": "javascript-module",
|
|
15441
15338
|
"path": "src/components/code-snippet/src/codemirror/base-setup.ts",
|
|
@@ -16153,6 +16050,181 @@
|
|
|
16153
16050
|
}
|
|
16154
16051
|
]
|
|
16155
16052
|
},
|
|
16053
|
+
{
|
|
16054
|
+
"kind": "javascript-module",
|
|
16055
|
+
"path": "src/components/markdown/src/utils/html-helpers.ts",
|
|
16056
|
+
"declarations": [
|
|
16057
|
+
{
|
|
16058
|
+
"kind": "variable",
|
|
16059
|
+
"name": "HTML_CONTAINER_SLOT",
|
|
16060
|
+
"type": {
|
|
16061
|
+
"text": "string"
|
|
16062
|
+
},
|
|
16063
|
+
"default": "'<div data-aichat-markdown=\"\"></div>'",
|
|
16064
|
+
"description": "Marker element appended to opening HTML so markdown children mount inside the block."
|
|
16065
|
+
},
|
|
16066
|
+
{
|
|
16067
|
+
"kind": "function",
|
|
16068
|
+
"name": "combineConsecutiveHtmlInline",
|
|
16069
|
+
"return": {
|
|
16070
|
+
"type": {
|
|
16071
|
+
"text": "TokenTree[]"
|
|
16072
|
+
}
|
|
16073
|
+
},
|
|
16074
|
+
"parameters": [
|
|
16075
|
+
{
|
|
16076
|
+
"name": "children",
|
|
16077
|
+
"type": {
|
|
16078
|
+
"text": "TokenTree[]"
|
|
16079
|
+
}
|
|
16080
|
+
}
|
|
16081
|
+
]
|
|
16082
|
+
},
|
|
16083
|
+
{
|
|
16084
|
+
"kind": "function",
|
|
16085
|
+
"name": "combineSplitHtmlBlocks",
|
|
16086
|
+
"return": {
|
|
16087
|
+
"type": {
|
|
16088
|
+
"text": "TokenTree[]"
|
|
16089
|
+
}
|
|
16090
|
+
},
|
|
16091
|
+
"parameters": [
|
|
16092
|
+
{
|
|
16093
|
+
"name": "children",
|
|
16094
|
+
"type": {
|
|
16095
|
+
"text": "TokenTree[]"
|
|
16096
|
+
}
|
|
16097
|
+
}
|
|
16098
|
+
]
|
|
16099
|
+
}
|
|
16100
|
+
],
|
|
16101
|
+
"exports": [
|
|
16102
|
+
{
|
|
16103
|
+
"kind": "js",
|
|
16104
|
+
"name": "HTML_CONTAINER_SLOT",
|
|
16105
|
+
"declaration": {
|
|
16106
|
+
"name": "HTML_CONTAINER_SLOT",
|
|
16107
|
+
"module": "src/components/markdown/src/utils/html-helpers.ts"
|
|
16108
|
+
}
|
|
16109
|
+
},
|
|
16110
|
+
{
|
|
16111
|
+
"kind": "js",
|
|
16112
|
+
"name": "combineConsecutiveHtmlInline",
|
|
16113
|
+
"declaration": {
|
|
16114
|
+
"name": "combineConsecutiveHtmlInline",
|
|
16115
|
+
"module": "src/components/markdown/src/utils/html-helpers.ts"
|
|
16116
|
+
}
|
|
16117
|
+
},
|
|
16118
|
+
{
|
|
16119
|
+
"kind": "js",
|
|
16120
|
+
"name": "combineSplitHtmlBlocks",
|
|
16121
|
+
"declaration": {
|
|
16122
|
+
"name": "combineSplitHtmlBlocks",
|
|
16123
|
+
"module": "src/components/markdown/src/utils/html-helpers.ts"
|
|
16124
|
+
}
|
|
16125
|
+
}
|
|
16126
|
+
]
|
|
16127
|
+
},
|
|
16128
|
+
{
|
|
16129
|
+
"kind": "javascript-module",
|
|
16130
|
+
"path": "src/components/markdown/src/utils/table-helpers.ts",
|
|
16131
|
+
"declarations": [
|
|
16132
|
+
{
|
|
16133
|
+
"kind": "function",
|
|
16134
|
+
"name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
|
|
16135
|
+
"parameters": [
|
|
16136
|
+
{
|
|
16137
|
+
"name": "{\n count,\n}",
|
|
16138
|
+
"type": {
|
|
16139
|
+
"text": "{\n count: number;\n}"
|
|
16140
|
+
}
|
|
16141
|
+
}
|
|
16142
|
+
]
|
|
16143
|
+
},
|
|
16144
|
+
{
|
|
16145
|
+
"kind": "function",
|
|
16146
|
+
"name": "DEFAULT_PAGINATION_STATUS_TEXT",
|
|
16147
|
+
"parameters": [
|
|
16148
|
+
{
|
|
16149
|
+
"name": "{\n start,\n end,\n count,\n}",
|
|
16150
|
+
"type": {
|
|
16151
|
+
"text": "{\n start: number;\n end: number;\n count: number;\n}"
|
|
16152
|
+
}
|
|
16153
|
+
}
|
|
16154
|
+
]
|
|
16155
|
+
},
|
|
16156
|
+
{
|
|
16157
|
+
"kind": "function",
|
|
16158
|
+
"name": "extractTableData",
|
|
16159
|
+
"return": {
|
|
16160
|
+
"type": {
|
|
16161
|
+
"text": "{\n headers: TableCellData[];\n rows: TableCellData[][];\n}"
|
|
16162
|
+
}
|
|
16163
|
+
},
|
|
16164
|
+
"parameters": [
|
|
16165
|
+
{
|
|
16166
|
+
"name": "tableNode",
|
|
16167
|
+
"type": {
|
|
16168
|
+
"text": "TokenTree"
|
|
16169
|
+
}
|
|
16170
|
+
}
|
|
16171
|
+
],
|
|
16172
|
+
"description": "Extracts tabular data from a table TokenTree node.\n\nConverts the hierarchical markdown table structure into the flat\nheader/rows format expected by the cds-aichat-table component while retaining\nthe TokenTree children required for rich rendering within cells."
|
|
16173
|
+
},
|
|
16174
|
+
{
|
|
16175
|
+
"kind": "function",
|
|
16176
|
+
"name": "extractTextContent",
|
|
16177
|
+
"return": {
|
|
16178
|
+
"type": {
|
|
16179
|
+
"text": "string"
|
|
16180
|
+
}
|
|
16181
|
+
},
|
|
16182
|
+
"parameters": [
|
|
16183
|
+
{
|
|
16184
|
+
"name": "node",
|
|
16185
|
+
"type": {
|
|
16186
|
+
"text": "TokenTree"
|
|
16187
|
+
}
|
|
16188
|
+
}
|
|
16189
|
+
],
|
|
16190
|
+
"description": "Recursively extracts plain text content from a TokenTree node.\n\nThis is used for table cells and other contexts where we need the\ntext content without HTML formatting."
|
|
16191
|
+
}
|
|
16192
|
+
],
|
|
16193
|
+
"exports": [
|
|
16194
|
+
{
|
|
16195
|
+
"kind": "js",
|
|
16196
|
+
"name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
|
|
16197
|
+
"declaration": {
|
|
16198
|
+
"name": "DEFAULT_PAGINATION_SUPPLEMENTAL_TEXT",
|
|
16199
|
+
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
16200
|
+
}
|
|
16201
|
+
},
|
|
16202
|
+
{
|
|
16203
|
+
"kind": "js",
|
|
16204
|
+
"name": "DEFAULT_PAGINATION_STATUS_TEXT",
|
|
16205
|
+
"declaration": {
|
|
16206
|
+
"name": "DEFAULT_PAGINATION_STATUS_TEXT",
|
|
16207
|
+
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
16208
|
+
}
|
|
16209
|
+
},
|
|
16210
|
+
{
|
|
16211
|
+
"kind": "js",
|
|
16212
|
+
"name": "extractTableData",
|
|
16213
|
+
"declaration": {
|
|
16214
|
+
"name": "extractTableData",
|
|
16215
|
+
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
16216
|
+
}
|
|
16217
|
+
},
|
|
16218
|
+
{
|
|
16219
|
+
"kind": "js",
|
|
16220
|
+
"name": "extractTextContent",
|
|
16221
|
+
"declaration": {
|
|
16222
|
+
"name": "extractTextContent",
|
|
16223
|
+
"module": "src/components/markdown/src/utils/table-helpers.ts"
|
|
16224
|
+
}
|
|
16225
|
+
}
|
|
16226
|
+
]
|
|
16227
|
+
},
|
|
16156
16228
|
{
|
|
16157
16229
|
"kind": "javascript-module",
|
|
16158
16230
|
"path": "src/components/video-player/src/providers/base-provider.ts",
|